INFO: task syz-executor.5:7057 blocked for more than 143 seconds. Not tainted 5.16.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28144 pid: 7057 ppid: 3648 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4900 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 vhost_net_stop_vq drivers/vhost/net.c:1359 [inline] vhost_net_stop+0x142/0x270 drivers/vhost/net.c:1373 vhost_net_release+0x9c/0x2d0 drivers/vhost/net.c:1405 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 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+0x27e/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5441aa0adb RSP: 002b:00007f5442134b80 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f5441aa0adb RDX: 00007f5441c056b8 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f5441c02960 R08: 0000000000000000 R09: 00007f5441c056c0 R10: 00007f5442134c80 R11: 0000000000000293 R12: 0000000000040be0 R13: 00007f5442134c80 R14: 00007f5441c00f60 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by getty/3282: #0: ffff88823bca2898 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 4 locks held by kworker/1:5/3674: #0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 #2: ffff8880b9d28298 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:946 #3: ffffffff906cd4e0 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661 1 lock held by syz-executor.5/7057: #0: ffff88802a350218 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop_vq drivers/vhost/net.c:1359 [inline] #0: ffff88802a350218 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop+0x142/0x270 drivers/vhost/net.c:1373 1 lock held by vhost-7058/7060: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc7-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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 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+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10 Comm: kworker/u4:1 Not tainted 5.16.0-rc7-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_read+0x4/0x10 mm/kasan/shadow.c:31 Code: 42 07 48 85 db 0f 85 c8 24 44 07 48 83 c4 60 5b 5d 41 5c 41 5d c3 c3 e9 c8 25 44 07 cc cc cc cc cc cc cc cc cc cc 48 8b 0c 24 <89> f6 31 d2 e9 f3 f9 ff ff 0f 1f 00 48 8b 0c 24 89 f6 ba 01 00 00 RSP: 0000:ffffc90000cf79d0 EFLAGS: 00000007 RAX: 000000000000001b RBX: 00000000000006f8 RCX: ffffffff815c5aa7 RDX: 0000000000000004 RSI: 0000000000000008 RDI: ffffffff8ff76ad8 RBP: ffff8880119527d2 R08: 0000000000000000 R09: ffffffff8ff76adf R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880119527b0 R13: ffff888011951d00 R14: ffff888011952760 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00f829fc0 CR3: 000000000b88e000 CR4: 00000000003506e0 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] __lock_acquire+0x1017/0x5470 kernel/locking/lockdep.c:4997 lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:354 [inline] batadv_nc_purge_paths+0xdf/0x3a0 net/batman-adv/network-coding.c:446 batadv_nc_worker+0x8f9/0xfa0 net/batman-adv/network-coding.c:724 process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298 worker_thread+0x65d/0x1130 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 42 07 rex.X (bad) 2: 48 85 db test %rbx,%rbx 5: 0f 85 c8 24 44 07 jne 0x74424d3 b: 48 83 c4 60 add $0x60,%rsp f: 5b pop %rbx 10: 5d pop %rbp 11: 41 5c pop %r12 13: 41 5d pop %r13 15: c3 retq 16: c3 retq 17: e9 c8 25 44 07 jmpq 0x74425e4 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: 48 8b 0c 24 mov (%rsp),%rcx * 2a: 89 f6 mov %esi,%esi <-- trapping instruction 2c: 31 d2 xor %edx,%edx 2e: e9 f3 f9 ff ff jmpq 0xfffffa26 33: 0f 1f 00 nopl (%rax) 36: 48 8b 0c 24 mov (%rsp),%rcx 3a: 89 f6 mov %esi,%esi 3c: ba .byte 0xba 3d: 01 00 add %eax,(%rax)