INFO: task syz-executor.3:21472 blocked for more than 143 seconds. Not tainted 5.16.0-rc8-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:26864 pid:21472 ppid: 11327 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common+0xe9f/0x2490 kernel/locking/mutex.c:680 __mutex_lock kernel/locking/mutex.c:740 [inline] mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792 vhost_net_stop_vq drivers/vhost/net.c:1359 [inline] vhost_net_stop+0x10c/0x1e0 drivers/vhost/net.c:1373 vhost_net_release+0x100/0x4d0 drivers/vhost/net.c:1405 __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:0x7f38766deadb RSP: 002b:00007ffd1e3c54d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f38766deadb RDX: 00007f38768436b8 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f3876840960 R08: 0000000000000000 R09: 00007f38768436c0 R10: 00007ffd1e3c55d0 R11: 0000000000000293 R12: 00000000000be59c R13: 00007ffd1e3c55d0 R14: 00007f387683ef60 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1de00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3281: #0: ffff88802435d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 2 locks held by kworker/u4:10/3858: #0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:478 #1: ffffc90004d67d20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x808/0x1140 kernel/workqueue.c:2273 1 lock held by syz-executor.3/21472: #0: ffff888061670218 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop_vq drivers/vhost/net.c:1359 [inline] #0: ffff888061670218 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop+0x10c/0x1e0 drivers/vhost/net.c:1373 1 lock held by vhost-21474/21478: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc8-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 10291 Comm: kworker/0:19 Not tainted 5.16.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:match_held_lock+0x0/0xb0 kernel/locking/lockdep.c:5085 Code: db 48 c7 c7 60 ff 6e 8a 48 c7 c6 a0 ff 6e 8a 31 c0 e8 14 d7 43 f7 0f 0b eb 8b 0f 0b eb 87 e8 c7 fa ff ff 0f 1f 80 00 00 00 00 <55> 53 bd 01 00 00 00 48 39 77 10 74 67 48 89 fb 81 7f 20 00 00 10 RSP: 0018:ffffc900028ef950 EFLAGS: 00000083 RAX: 0000000000000004 RBX: ffff88807eac8a88 RCX: 0000000080000002 RDX: ffff88807eac8000 RSI: ffffffff8cb1dd60 RDI: ffff88807eac8a88 RBP: 0000000000000001 R08: ffffffff84993fa7 R09: fffffbfff1bfd5ce R10: fffffbfff1bfd5ce R11: 0000000000000000 R12: 0000000000000246 R13: ffff88807eac8000 R14: 00000000ffffffff R15: ffffffff8cb1dd60 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560f60f4f7f8 CR3: 000000000c88e000 CR4: 00000000003506f0 Call Trace: __lock_is_held kernel/locking/lockdep.c:5380 [inline] lock_is_held_type+0xb1/0x190 kernel/locking/lockdep.c:5680 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x89/0x130 kernel/rcu/update.c:125 trace_get_random_bytes+0x86/0x220 include/trace/events/random.h:160 _get_random_bytes+0x98/0x230 drivers/char/random.c:1529 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:773 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline] nsim_dev_trap_report_work+0x683/0xaf0 drivers/net/netdevsim/dev.c:843 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 48 c7 c7 60 ff 6e 8a mov $0xffffffff8a6eff60,%rdi 7: 48 c7 c6 a0 ff 6e 8a mov $0xffffffff8a6effa0,%rsi e: 31 c0 xor %eax,%eax 10: e8 14 d7 43 f7 callq 0xf743d729 15: 0f 0b ud2 17: eb 8b jmp 0xffffffa4 19: 0f 0b ud2 1b: eb 87 jmp 0xffffffa4 1d: e8 c7 fa ff ff callq 0xfffffae9 22: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) * 29: 55 push %rbp <-- trapping instruction 2a: 53 push %rbx 2b: bd 01 00 00 00 mov $0x1,%ebp 30: 48 39 77 10 cmp %rsi,0x10(%rdi) 34: 74 67 je 0x9d 36: 48 89 fb mov %rdi,%rbx 39: 81 .byte 0x81 3a: 7f 20 jg 0x5c 3c: 00 00 add %al,(%rax) 3e: 10 .byte 0x10