INFO: task kworker/u4:19:6643 blocked for more than 143 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:19 state:D stack:25104 pid: 6643 ppid: 2 flags:0x00004000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x971/0x10e0 kernel/sched/core.c:6296 schedule+0x12b/0x1f0 kernel/sched/core.c:6369 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __synchronize_srcu+0x2aa/0x350 kernel/rcu/srcutree.c:930 fsnotify_connector_destroy_workfn+0x40/0xa0 fs/notify/mark.c:164 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 INFO: task kworker/u4:24:9444 blocked for more than 143 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:24 state:D stack:25304 pid: 9444 ppid: 2 flags:0x00004000 Workqueue: netns cleanup_net Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x971/0x10e0 kernel/sched/core.c:6296 schedule+0x12b/0x1f0 kernel/sched/core.c:6369 exp_funnel_lock kernel/rcu/tree_exp.h:313 [inline] synchronize_rcu_expedited+0x675/0x740 kernel/rcu/tree_exp.h:840 synchronize_rcu+0xfe/0x1a0 kernel/rcu/tree.c:3785 nf_conntrack_cleanup_net_list+0x22/0x210 net/netfilter/nf_conntrack_core.c:2502 ops_exit_list net/core/net_namespace.c:171 [inline] cleanup_net+0x7ec/0xc50 net/core/net_namespace.c:595 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 INFO: task kworker/u4:28:10202 blocked for more than 143 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:28 state:D stack:28176 pid:10202 ppid: 2 flags:0x00004000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x971/0x10e0 kernel/sched/core.c:6296 schedule+0x12b/0x1f0 kernel/sched/core.c:6369 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __synchronize_srcu+0x2aa/0x350 kernel/rcu/srcutree.c:930 fsnotify_mark_destroy_workfn+0x126/0x300 fs/notify/mark.c:861 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 INFO: task syz-executor.3:10209 blocked for more than 144 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26736 pid:10209 ppid: 3728 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x971/0x10e0 kernel/sched/core.c:6296 schedule+0x12b/0x1f0 kernel/sched/core.c:6369 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 __flush_work+0x135/0x1b0 kernel/workqueue.c:3093 p9_mux_poll_stop net/9p/trans_fd.c:175 [inline] p9_conn_destroy net/9p/trans_fd.c:883 [inline] p9_fd_close+0x23c/0x3c0 net/9p/trans_fd.c:919 p9_client_create+0xb50/0x1010 net/9p/client.c:1067 v9fs_session_init+0x1dd/0x18f0 fs/9p/v9fs.c:408 v9fs_mount+0x72/0x970 fs/9p/vfs_super.c:125 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1500 do_new_mount fs/namespace.c:2994 [inline] path_mount+0x1986/0x2c30 fs/namespace.c:3324 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount+0x308/0x3c0 fs/namespace.c:3522 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:0x7f48248c1eb9 RSP: 002b:00007f4823237168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f48249d4f60 RCX: 00007f48248c1eb9 RDX: 0000000020000140 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007f482491c08d R08: 00000000200002c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1ee06b7f R14: 00007f4823237300 R15: 0000000000022000 INFO: task syz-executor.4:10211 blocked for more than 144 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:26864 pid:10211 ppid: 3639 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x971/0x10e0 kernel/sched/core.c:6296 schedule+0x12b/0x1f0 kernel/sched/core.c:6369 synchronize_rcu_expedited+0x5c1/0x740 kernel/rcu/tree_exp.h:856 synchronize_rcu+0xfe/0x1a0 kernel/rcu/tree.c:3785 packet_release+0x9fd/0xd00 net/packet/af_packet.c:3134 __sock_release net/socket.c:650 [inline] sock_close+0xd8/0x260 net/socket.c:1318 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f069d693afb RSP: 002b:00007ffe12d66ac0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f069d693afb RDX: 00007f069d7f9ba0 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f069d7f5960 R08: 0000000000000000 R09: 00007f069d7f9ba8 R10: 00007ffe12d66bc0 R11: 0000000000000293 R12: 000000000005f5ba R13: 00007ffe12d66bc0 R14: 00007f069d7f3f60 R15: 0000000000000032 INFO: task syz-executor.0:10232 blocked for more than 144 seconds. Not tainted 5.16.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26864 pid:10232 ppid: 4753 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x971/0x10e0 kernel/sched/core.c:6296 schedule+0x12b/0x1f0 kernel/sched/core.c:6369 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6428 __mutex_lock_common+0xe9f/0x2490 kernel/locking/mutex.c:673 __mutex_lock kernel/locking/mutex.c:733 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785 exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] synchronize_rcu_expedited+0x356/0x740 kernel/rcu/tree_exp.h:840 synchronize_rcu+0xfe/0x1a0 kernel/rcu/tree.c:3785 packet_release+0x9fd/0xd00 net/packet/af_packet.c:3134 __sock_release net/socket.c:650 [inline] sock_close+0xd8/0x260 net/socket.c:1318 __fput+0x3fc/0x870 fs/file_table.c:280 task_work_run+0x146/0x1c0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x209/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f754c263afb RSP: 002b:00007ffcaada6400 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f754c263afb RDX: 00007f754c3c89f0 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f754c3c5960 R08: 0000000000000000 R09: 00007f754c3c89f8 R10: 00007ffcaada6500 R11: 0000000000000293 R12: 000000000005f630 R13: 00007ffcaada6500 R14: 00007f754c3c3f60 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1e300 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by khugepaged/33: #0: ffffffff8cbb8b28 (lock#5){+.+.}-{3:3}, at: __lru_add_drain_all+0x67/0x9d0 mm/swap.c:798 2 locks held by getty/3294: #0: ffff88814b17d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002ba32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2077 2 locks held by kworker/1:12/4083: 2 locks held by kworker/u4:19/6643: #0: ffff888011469138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc9000d1ffd20 (connector_reaper_work){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 3 locks held by kworker/u4:24/9444: #0: ffff88801214a938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc9000acbfd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 #2: ffffffff8db8c270 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf0/0xc50 net/core/net_namespace.c:557 2 locks held by kworker/u4:28/10202: #0: ffff888011469138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc90010e6fd20 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 1 lock held by kworker/u4:29/10203: 2 locks held by syz-executor.4/10211: #0: ffff8880706a9a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:784 [inline] #0: ffff8880706a9a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:649 [inline] #0: ffff8880706a9a10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x94/0x260 net/socket.c:1318 #1: ffffffff8cb232e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8cb232e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x277/0x740 kernel/rcu/tree_exp.h:840 2 locks held by syz-executor.0/10232: #0: ffff888038a56210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:784 [inline] #0: ffff888038a56210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:649 [inline] #0: ffff888038a56210 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x94/0x260 net/socket.c:1318 #1: ffffffff8cb232e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #1: ffffffff8cb232e8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x356/0x740 kernel/rcu/tree_exp.h:840 1 lock held by dhcpcd/10243: #0: ffff88801db3c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88801db3c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10244: #0: ffff88801cb7e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88801cb7e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10245: #0: ffff88802e77c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88802e77c130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10246: #0: ffff888033006130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff888033006130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10247: #0: ffff888079204130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff888079204130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10248: #0: ffff888077902130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff888077902130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10249: #0: ffff888077d30130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff888077d30130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10250: #0: ffff88801d7c8130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff88801d7c8130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10251: #0: ffff888075f6e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff888075f6e130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 1 lock held by dhcpcd/10252: #0: ffff888034864130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1668 [inline] #0: ffff888034864130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2a/0xb50 net/packet/af_packet.c:3170 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.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:111 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 6604 Comm: kworker/u4:10 Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:kasan_check_range+0x2/0x2f0 mm/kasan/generic.c:188 Code: 48 89 c7 e8 70 f2 43 08 31 c0 c3 0f 0b b8 ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 41 57 <41> 56 41 55 41 54 53 b0 01 48 85 f6 0f 84 0d 02 00 00 48 89 fb 48 RSP: 0018:ffffc9000c5bf7b0 EFLAGS: 00000046 RAX: 000000000000001c RBX: 0000000000000705 RCX: ffffffff81666101 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ffdafc0 RBP: ffffc9000c5bf9b0 R08: ffffffff818b21e0 R09: ffffed1005c2f1c1 R10: ffffed1005c2f1c1 R11: 0000000000000000 R12: 1ffff920018b7f04 R13: 0000000000000004 R14: ffff88807b698000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbcdc1c685e CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] hlock_class kernel/locking/lockdep.c:199 [inline] mark_lock+0x191/0x1e00 kernel/locking/lockdep.c:4583 mark_held_locks kernel/locking/lockdep.c:4206 [inline] __trace_hardirqs_on_caller kernel/locking/lockdep.c:4224 [inline] lockdep_hardirqs_on_prepare+0x26e/0x780 kernel/locking/lockdep.c:4292 trace_hardirqs_on+0x6f/0x80 kernel/trace/trace_preemptirq.c:49 __local_bh_enable_ip+0x163/0x1f0 kernel/softirq.c:388 spin_unlock_bh include/linux/spinlock.h:394 [inline] batadv_nc_purge_paths+0x35f/0x3f0 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x31e/0x5b0 net/batman-adv/network-coding.c:722 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 48 89 c7 mov %rax,%rdi 3: e8 70 f2 43 08 callq 0x843f278 8: 31 c0 xor %eax,%eax a: c3 retq b: 0f 0b ud2 d: b8 ea ff ff ff mov $0xffffffea,%eax 12: c3 retq 13: 0f 0b ud2 15: b8 ea ff ff ff mov $0xffffffea,%eax 1a: c3 retq 1b: cc int3 1c: cc int3 1d: cc int3 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: cc int3 24: cc int3 25: cc int3 26: cc int3 27: cc int3 28: 41 57 push %r15 * 2a: 41 56 push %r14 <-- trapping instruction 2c: 41 55 push %r13 2e: 41 54 push %r12 30: 53 push %rbx 31: b0 01 mov $0x1,%al 33: 48 85 f6 test %rsi,%rsi 36: 0f 84 0d 02 00 00 je 0x249 3c: 48 89 fb mov %rdi,%rbx 3f: 48 rex.W