INFO: task syz-executor.0:19339 blocked for more than 143 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:20208 pid:19339 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common+0xdff/0x2550 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:743 genl_lock net/netlink/genetlink.c:33 [inline] genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790 netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2504 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0xa29/0xe50 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x56c/0x730 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2044 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41958c RSP: 002b:00007ffec60061e0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000014a4320 RCX: 000000000041958c RDX: 0000000000000024 RSI: 00000000014a4370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffec6006234 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00000000014a4370 R14: 0000000000000003 R15: 0000000000000000 INFO: task syz-executor.2:19340 blocked for more than 144 seconds. Not tainted 5.14.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:20208 pid:19340 ppid: 1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xc8d/0x1270 kernel/sched/core.c:6287 schedule+0x14b/0x210 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common+0xdff/0x2550 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:743 genl_lock net/netlink/genetlink.c:33 [inline] genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790 netlink_rcv_skb+0x200/0x470 net/netlink/af_netlink.c:2504 genl_rcv+0x24/0x40 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x814/0x9f0 net/netlink/af_netlink.c:1340 netlink_sendmsg+0xa29/0xe50 net/netlink/af_netlink.c:1929 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x56c/0x730 net/socket.c:2036 __do_sys_sendto net/socket.c:2048 [inline] __se_sys_sendto net/socket.c:2044 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2044 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x41958c RSP: 002b:00007ffd2ca291a0 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00000000014a4320 RCX: 000000000041958c RDX: 0000000000000024 RSI: 00000000014a4370 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007ffd2ca291f4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00000000014a4370 R14: 0000000000000003 R15: 0000000000000000 Showing all locks held in the system: 3 locks held by kworker/u4:1/10: #0: ffff888017ce5138 ((wq_completion)cfg80211){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90000cf7d20 ((work_completion)(&(&rdev->dfs_update_channels_wk)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: cfg80211_dfs_channels_update_work+0xbc/0x660 net/wireless/mlme.c:842 1 lock held by khungtaskd/26: #0: ffffffff8c91c140 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6223: 2 locks held by agetty/6213: #0: ffff8880263a6098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90001c9c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 3 locks held by kworker/0:3/21183: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000476fd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 2 locks held by kworker/0:10/21229: #0: ffff888011066538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9000443fd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 2 locks held by kworker/u4:5/6706: #0: ffff8880b9d31558 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:474 [inline] #0: ffff8880b9d31558 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1317 [inline] #0: ffff8880b9d31558 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1620 [inline] #0: ffff8880b9d31558 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x188/0x1270 kernel/sched/core.c:6201 #1: ffff8880b9d1f888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880 4 locks held by kworker/u4:7/6738: #0: ffff8880124e3138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc90016f9fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d9504b0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc50 net/core/net_namespace.c:553 #3: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0xafa/0xcf0 net/core/dev.c:10594 3 locks held by kworker/1:3/17244: #0: ffff888011065d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9001afd7d20 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: reg_check_chans_work+0x7a/0x800 net/wireless/reg.c:2423 3 locks held by kworker/1:10/17250: #0: ffff888147d82138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9001b007d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xdb/0x1d10 net/ipv6/addrconf.c:4047 1 lock held by syz-executor.1/19273: #0: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3c/0x130 drivers/net/tun.c:3397 2 locks held by syz-executor.0/19339: #0: ffffffff8d9bb190 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8d9bb048 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8d9bb048 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790 2 locks held by syz-executor.2/19340: #0: ffffffff8d9bb190 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8d9bb048 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8d9bb048 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790 3 locks held by syz-executor.3/19341: #0: ffffffff8d9bb190 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8d9bb048 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8d9bb048 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x125/0x1480 net/netlink/genetlink.c:790 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: ieee80211_register_hw+0x31e5/0x3d80 net/mac80211/main.c:1309 3 locks held by kworker/0:22/20177: #0: ffff888147d82138 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9001195fd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xdb/0x1d10 net/ipv6/addrconf.c:4047 3 locks held by kworker/0:23/20178: #0: ffff888011064d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7ca/0x1140 #1: ffffc9001196fd20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2272 #2: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 1 lock held by syz-executor.4/21353: #0: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:684 [inline] #0: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3c/0x130 drivers/net/tun.c:3397 2 locks held by syz-executor.5/21372: #0: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8d95c108 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x8ed/0xe60 net/core/rtnetlink.c:5569 #1: ffffffff8c920928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8c920928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x750 kernel/rcu/tree_exp.h:837 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc54/0xca0 kernel/hung_task.c:295 kthread+0x453/0x480 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2952 Comm: systemd-journal Not tainted 5.14.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unwind_next_frame+0xa7d/0x1fa0 arch/x86/kernel/unwind_orc.c:543 Code: 48 89 df e8 c5 d3 93 00 48 8b 04 24 48 89 03 48 8b 44 24 70 42 8a 04 30 84 c0 48 8b 5c 24 78 48 8b 6c 24 20 0f 85 dd 11 00 00 03 00 ba 10 00 00 00 48 8b 7c 24 28 31 f6 e8 cf d4 93 00 e9 0a RSP: 0018:ffffc90002b8f978 EFLAGS: 00000246 RAX: 1ffff92000571f00 RBX: ffffc90002b8fad5 RCX: 1ffff92000571f54 RDX: ffffc90002b8fb40 RSI: 0000000000000000 RDI: ffffc90002b8fb38 RBP: ffffffff8e50699c R08: 0000000000000007 R09: ffffc90002b8faf0 R10: fffff52000571f60 R11: 0000000000000000 R12: 1ffffffff1ca0d34 R13: ffffc90002b8faa0 R14: dffffc0000000000 R15: ffffffff8e5069a0 FS: 00007f98119a78c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f980f1cc000 CR3: 000000007b358000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __unwind_start+0x60b/0x750 arch/x86/kernel/unwind_orc.c:699 unwind_start arch/x86/include/asm/unwind.h:60 [inline] arch_stack_walk+0xdc/0x140 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:121 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0xb2/0xe0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3206 [inline] slab_alloc mm/slub.c:3214 [inline] kmem_cache_alloc+0x1c3/0x300 mm/slub.c:3219 getname_flags+0xba/0x650 fs/namei.c:138 getname fs/namei.c:217 [inline] __do_sys_mkdir fs/namei.c:3931 [inline] __se_sys_mkdir fs/namei.c:3929 [inline] __x64_sys_mkdir+0x5b/0x80 fs/namei.c:3929 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9810c62687 Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffcf20b84a8 EFLAGS: 00000293 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007ffcf20bb3c0 RCX: 00007f9810c62687 RDX: 00007f98116d3a00 RSI: 00000000000001ed RDI: 0000564fb43108a0 RBP: 00007ffcf20b84e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffcf20bb3c0 R15: 00007ffcf20b89d0 ---------------- Code disassembly (best guess): 0: 48 89 df mov %rbx,%rdi 3: e8 c5 d3 93 00 callq 0x93d3cd 8: 48 8b 04 24 mov (%rsp),%rax c: 48 89 03 mov %rax,(%rbx) f: 48 8b 44 24 70 mov 0x70(%rsp),%rax 14: 42 8a 04 30 mov (%rax,%r14,1),%al 18: 84 c0 test %al,%al 1a: 48 8b 5c 24 78 mov 0x78(%rsp),%rbx 1f: 48 8b 6c 24 20 mov 0x20(%rsp),%rbp 24: 0f 85 dd 11 00 00 jne 0x1207 * 2a: c6 03 00 movb $0x0,(%rbx) <-- trapping instruction 2d: ba 10 00 00 00 mov $0x10,%edx 32: 48 8b 7c 24 28 mov 0x28(%rsp),%rdi 37: 31 f6 xor %esi,%esi 39: e8 cf d4 93 00 callq 0x93d50d 3e: e9 .byte 0xe9 3f: 0a .byte 0xa