INFO: task syz-executor.5:19552 blocked for more than 143 seconds. Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28016 pid:19552 ppid: 3627 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6428 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 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:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [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_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6e8d549 RSP: 002b:00000000f751eb20 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f6fc5000 RDI: 0000000000000000 RBP: 00000000f6fef6c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz-executor.0:19572 blocked for more than 143 seconds. Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28016 pid:19572 ppid: 17309 flags:0x20004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6428 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 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:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:188 [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_fast_syscall_32+0x72/0xf0 arch/x86/entry/common.c:181 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6f5b549 RSP: 002b:00000000f75ecb20 EFLAGS: 00000286 ORIG_RAX: 0000000000000006 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 00000000f7093000 RDI: 0000000000000000 RBP: 00000000f70bd6c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb84360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3274: #0: ffff888023355098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 2 locks held by kworker/u4:19/6134: 1 lock held by syz-executor.5/19552: #0: ffff88804df00218 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop_vq drivers/vhost/net.c:1359 [inline] #0: ffff88804df00218 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop+0x142/0x270 drivers/vhost/net.c:1373 1 lock held by vhost-19553/19555: 1 lock held by syz-executor.0/19572: #0: ffff88807d160218 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop_vq drivers/vhost/net.c:1359 [inline] #0: ffff88807d160218 (&vq->mutex){+.+.}-{3:3}, at: vhost_net_stop+0x142/0x270 drivers/vhost/net.c:1373 1 lock held by vhost-19573/19575: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #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+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:369 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 18240 Comm: kworker/u4:2 Not tainted 5.17.0-rc4-syzkaller-00241-g7f25f0412c9e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:report_enabled mm/kasan/report.c:338 [inline] RIP: 0010:kasan_report+0x12/0x100 mm/kasan/report.c:458 Code: 48 89 e7 e8 60 fd ff ff 48 83 c4 08 5d 41 5c c3 0f 1f 84 00 00 00 00 00 41 56 41 55 41 54 55 53 48 83 ec 30 9c 41 5c 0f 01 ca <65> 48 8b 04 25 00 70 02 00 8b 80 68 15 00 00 85 c0 0f 85 a9 00 00 RSP: 0018:ffffc900058ff958 EFLAGS: 00000082 RAX: ffff7fffffffffff RBX: ffffffff8d9441ec RCX: ffffffff812b2a40 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 00002aaaaaaab3e9 RBP: ffffffff8f1a04ab R08: 0000000000000001 R09: 00002aaaaaaab3ed R10: fffffbfff1e34095 R11: 000000000000003f R12: 0000000000000082 R13: 00002aaaaaaab3e9 R14: 00000000000003ed R15: ffffffff8bcb43e0 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0021af018 CR3: 00000001406f5000 CR4: 00000000003506f0 Call Trace: check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x13d/0x180 mm/kasan/generic.c:189 memcpy+0x39/0x60 mm/kasan/shadow.c:66 memcpy include/linux/fortify-string.h:225 [inline] __text_poke+0x490/0x8c0 arch/x86/kernel/alternative.c:1024 text_poke arch/x86/kernel/alternative.c:1083 [inline] text_poke_bp_batch+0x25b/0x6f0 arch/x86/kernel/alternative.c:1313 text_poke_flush arch/x86/kernel/alternative.c:1470 [inline] text_poke_flush arch/x86/kernel/alternative.c:1467 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1477 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:830 static_key_enable_cpuslocked+0x1b1/0x260 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate mm/kfence/core.c:735 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:727 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307 worker_thread+0x657/0x1110 kernel/workqueue.c:2454 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 48 89 e7 mov %rsp,%rdi 3: e8 60 fd ff ff callq 0xfffffd68 8: 48 83 c4 08 add $0x8,%rsp c: 5d pop %rbp d: 41 5c pop %r12 f: c3 retq 10: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 17: 00 18: 41 56 push %r14 1a: 41 55 push %r13 1c: 41 54 push %r12 1e: 55 push %rbp 1f: 53 push %rbx 20: 48 83 ec 30 sub $0x30,%rsp 24: 9c pushfq 25: 41 5c pop %r12 27: 0f 01 ca clac * 2a: 65 48 8b 04 25 00 70 mov %gs:0x27000,%rax <-- trapping instruction 31: 02 00 33: 8b 80 68 15 00 00 mov 0x1568(%rax),%eax 39: 85 c0 test %eax,%eax 3b: 0f .byte 0xf 3c: 85 .byte 0x85 3d: a9 .byte 0xa9