INFO: task syz-executor645:3687 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor645 state:D stack:25104 pid: 3687 ppid: 3626 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6295 schedule+0x12b/0x1f0 kernel/sched/core.c:6368 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 kernel/workqueue.c:3093 [inline] __cancel_work_timer+0x562/0x710 kernel/workqueue.c:3180 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x248/0x3c0 net/9p/trans_fd.c:919 p9_client_destroy+0xde/0x700 net/9p/client.c:1089 v9fs_session_close+0x4d/0x200 fs/9p/v9fs.c:504 v9fs_kill_super+0x58/0x90 fs/9p/vfs_super.c:226 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 v9fs_mount+0x7f1/0x970 fs/9p/vfs_super.c:207 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1497 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:0x7f9b6ac1ecc9 RSP: 002b:00007f9b6abd02f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9b6aca64c0 RCX: 00007f9b6ac1ecc9 RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f9b6aca64cc R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f9b6aca64c8 INFO: task syz-executor645:3741 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor645 state:D stack:25104 pid: 3741 ppid: 3624 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6295 schedule+0x12b/0x1f0 kernel/sched/core.c:6368 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 kernel/workqueue.c:3093 [inline] __cancel_work_timer+0x562/0x710 kernel/workqueue.c:3180 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x248/0x3c0 net/9p/trans_fd.c:919 p9_client_destroy+0xde/0x700 net/9p/client.c:1089 v9fs_session_close+0x4d/0x200 fs/9p/v9fs.c:504 v9fs_kill_super+0x58/0x90 fs/9p/vfs_super.c:226 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 v9fs_mount+0x7f1/0x970 fs/9p/vfs_super.c:207 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1497 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:0x7f9b6ac1ecc9 RSP: 002b:00007f9b6abd02f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9b6aca64c0 RCX: 00007f9b6ac1ecc9 RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f9b6aca64cc R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f9b6aca64c8 INFO: task syz-executor645:3798 blocked for more than 144 seconds. Not tainted 5.17.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor645 state:D stack:25104 pid: 3798 ppid: 3627 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6295 schedule+0x12b/0x1f0 kernel/sched/core.c:6368 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 kernel/workqueue.c:3093 [inline] __cancel_work_timer+0x562/0x710 kernel/workqueue.c:3180 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x248/0x3c0 net/9p/trans_fd.c:919 p9_client_destroy+0xde/0x700 net/9p/client.c:1089 v9fs_session_close+0x4d/0x200 fs/9p/v9fs.c:504 v9fs_kill_super+0x58/0x90 fs/9p/vfs_super.c:226 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 v9fs_mount+0x7f1/0x970 fs/9p/vfs_super.c:207 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1497 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:0x7f9b6ac1ecc9 RSP: 002b:00007f9b6abd02f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9b6aca64c0 RCX: 00007f9b6ac1ecc9 RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f9b6aca64cc R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f9b6aca64c8 INFO: task syz-executor645:4159 blocked for more than 144 seconds. Not tainted 5.17.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor645 state:D stack:26128 pid: 4159 ppid: 3628 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6295 schedule+0x12b/0x1f0 kernel/sched/core.c:6368 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 kernel/workqueue.c:3093 [inline] __cancel_work_timer+0x562/0x710 kernel/workqueue.c:3180 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x248/0x3c0 net/9p/trans_fd.c:919 p9_client_destroy+0xde/0x700 net/9p/client.c:1089 v9fs_session_close+0x4d/0x200 fs/9p/v9fs.c:504 v9fs_kill_super+0x58/0x90 fs/9p/vfs_super.c:226 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 v9fs_mount+0x7f1/0x970 fs/9p/vfs_super.c:207 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1497 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:0x7f9b6ac1ecc9 RSP: 002b:00007f9b6abd02f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9b6aca64c0 RCX: 00007f9b6ac1ecc9 RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f9b6aca64cc R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f9b6aca64c8 INFO: task syz-executor645:7774 blocked for more than 144 seconds. Not tainted 5.17.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor645 state:D stack:25872 pid: 7774 ppid: 3623 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0x926/0x1080 kernel/sched/core.c:6295 schedule+0x12b/0x1f0 kernel/sched/core.c:6368 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 kernel/workqueue.c:3093 [inline] __cancel_work_timer+0x562/0x710 kernel/workqueue.c:3180 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x248/0x3c0 net/9p/trans_fd.c:919 p9_client_destroy+0xde/0x700 net/9p/client.c:1089 v9fs_session_close+0x4d/0x200 fs/9p/v9fs.c:504 v9fs_kill_super+0x58/0x90 fs/9p/vfs_super.c:226 deactivate_locked_super+0xa7/0xf0 fs/super.c:332 v9fs_mount+0x7f1/0x970 fs/9p/vfs_super.c:207 legacy_get_tree+0xea/0x180 fs/fs_context.c:610 vfs_get_tree+0x86/0x270 fs/super.c:1497 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:0x7f9b6ac1ecc9 RSP: 002b:00007f9b6abd02f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9b6aca64c0 RCX: 00007f9b6ac1ecc9 RDX: 0000000020000100 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f9b6aca64cc R08: 0000000020000180 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e R13: 6f6e3d6568636163 R14: 64663d736e617274 R15: 00007f9b6aca64c8 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8cb1db60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/0:2/140: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc900027ffd20 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 2 locks held by kworker/0:3/141: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc9000273fd20 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 2 locks held by kworker/1:2/918: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc900041afd20 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 2 locks held by getty/3274: #0: ffff888023fff098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2077 2 locks held by kworker/0:0/3659: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc9000203fd20 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 2 locks held by kworker/1:1/3662: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc900028bfd20 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 2 locks held by kworker/1:3/4166: #0: ffff888011464d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7c7/0x1130 #1: ffffc900031cfd20 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x805/0x1130 kernel/workqueue.c:2282 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc2-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:212 [inline] watchdog+0xc82/0xcd0 kernel/hung_task.c:369 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 44 Comm: kworker/u4:2 Not tainted 5.17.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:543 [inline] RIP: 0010:queued_spin_lock include/asm-generic/qspinlock.h:82 [inline] RIP: 0010:do_raw_spin_lock+0x16e/0x8e0 kernel/locking/spinlock_debug.c:115 Code: 48 89 df be 04 00 00 00 e8 7f 80 68 00 43 8a 04 27 84 c0 4c 89 e2 0f 85 f9 03 00 00 8b 44 24 60 b9 01 00 00 00 f0 41 0f b1 0e <0f> 85 0b 03 00 00 65 8b 1d 6d 5f 99 7e 41 8a 44 15 00 84 c0 0f 85 RSP: 0018:ffffc9000114f6c0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc9000114f720 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffc9000114f720 RBP: ffffc9000114f790 R08: dffffc0000000000 R09: 0000000000000003 R10: fffff52000229ee5 R11: 0000000000000004 R12: dffffc0000000000 R13: 1ffff110022b6a25 R14: ffff8880115b5120 R15: 1ffff92000229ee4 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9b6ac73ea8 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_lock include/linux/spinlock.h:349 [inline] __get_locked_pte+0x2ad/0x390 mm/memory.c:1745 get_locked_pte include/linux/mm.h:2128 [inline] __text_poke+0x280/0x9f0 arch/x86/kernel/alternative.c:1000 text_poke arch/x86/kernel/alternative.c:1083 [inline] text_poke_bp_batch+0x680/0x920 arch/x86/kernel/alternative.c:1364 text_poke_flush arch/x86/kernel/alternative.c:1470 [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 static_key_enable_cpuslocked+0x12d/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:734 process_one_work+0x850/0x1130 kernel/workqueue.c:2307 worker_thread+0xab1/0x1300 kernel/workqueue.c:2454 kthread+0x2a3/0x2d0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 48 89 df mov %rbx,%rdi 3: be 04 00 00 00 mov $0x4,%esi 8: e8 7f 80 68 00 callq 0x68808c d: 43 8a 04 27 mov (%r15,%r12,1),%al 11: 84 c0 test %al,%al 13: 4c 89 e2 mov %r12,%rdx 16: 0f 85 f9 03 00 00 jne 0x415 1c: 8b 44 24 60 mov 0x60(%rsp),%eax 20: b9 01 00 00 00 mov $0x1,%ecx 25: f0 41 0f b1 0e lock cmpxchg %ecx,(%r14) * 2a: 0f 85 0b 03 00 00 jne 0x33b <-- trapping instruction 30: 65 8b 1d 6d 5f 99 7e mov %gs:0x7e995f6d(%rip),%ebx # 0x7e995fa4 37: 41 8a 44 15 00 mov 0x0(%r13,%rdx,1),%al 3c: 84 c0 test %al,%al 3e: 0f .byte 0xf 3f: 85 .byte 0x85