INFO: task syz-executor250:3831 blocked for more than 143 seconds. Not tainted 5.17.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor250 state:D stack:26512 pid: 3831 ppid: 3640 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x2af/0x360 kernel/sched/completion.c:106 __flush_work+0x56c/0xb10 kernel/workqueue.c:3093 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3180 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226 deactivate_locked_super+0x94/0x160 fs/super.c:332 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3024 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount fs/namespace.c:3552 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3552 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5d6d1858a9 RSP: 002b:00007f5d6d132208 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5d6d20a4c8 RCX: 00007f5d6d1858a9 RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f5d6d20a4c0 R08: 0000000020000300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5d6d20a4cc R13: 00007ffc076be96f R14: 00007f5d6d132300 R15: 0000000000022000 INFO: task syz-executor250:3834 blocked for more than 143 seconds. Not tainted 5.17.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor250 state:D stack:27960 pid: 3834 ppid: 3645 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x2af/0x360 kernel/sched/completion.c:106 __flush_work+0x56c/0xb10 kernel/workqueue.c:3093 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3180 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226 deactivate_locked_super+0x94/0x160 fs/super.c:332 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3024 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount fs/namespace.c:3552 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3552 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5d6d1858a9 RSP: 002b:00007f5d6d132208 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5d6d20a4c8 RCX: 00007f5d6d1858a9 RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f5d6d20a4c0 R08: 0000000020000300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5d6d20a4cc R13: 00007ffc076be96f R14: 00007f5d6d132300 R15: 0000000000022000 INFO: task syz-executor250:3854 blocked for more than 144 seconds. Not tainted 5.17.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor250 state:D stack:27456 pid: 3854 ppid: 3641 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4995 [inline] __schedule+0xa94/0x4910 kernel/sched/core.c:6304 schedule+0xd2/0x260 kernel/sched/core.c:6377 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x2af/0x360 kernel/sched/completion.c:106 __flush_work+0x56c/0xb10 kernel/workqueue.c:3093 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3180 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919 p9_client_destroy+0xbe/0x370 net/9p/client.c:1089 v9fs_session_close+0x45/0x2d0 fs/9p/v9fs.c:504 v9fs_kill_super+0x49/0x90 fs/9p/vfs_super.c:226 deactivate_locked_super+0x94/0x160 fs/super.c:332 v9fs_mount+0x69f/0xa80 fs/9p/vfs_super.c:207 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1497 do_new_mount fs/namespace.c:3024 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3354 do_mount fs/namespace.c:3367 [inline] __do_sys_mount fs/namespace.c:3575 [inline] __se_sys_mount fs/namespace.c:3552 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3552 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5d6d1858a9 RSP: 002b:00007f5d6d132208 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5d6d20a4c8 RCX: 00007f5d6d1858a9 RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f5d6d20a4c0 R08: 0000000020000300 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5d6d20a4cc R13: 00007ffc076be96f R14: 00007f5d6d132300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/0:1/7: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90000cc7db8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 2 locks held by kworker/1:1/25: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc90000dffdb8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 1 lock held by khungtaskd/27: #0: ffffffff8bb84ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by kworker/1:2/139: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000279fdb8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 2 locks held by kworker/0:2/1128: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc9000569fdb8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 2 locks held by getty/3283: #0: ffff888022e36098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 2 locks held by kworker/0:0/3667: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc900027cfdb8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 2 locks held by kworker/1:3/3668: #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:631 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:658 [inline] #0: ffff888010c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x890/0x1650 kernel/workqueue.c:2278 #1: ffffc900028efdb8 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8c4/0x1650 kernel/workqueue.c:2282 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.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+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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 89 Comm: kworker/u4:3 Not tainted 5.17.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:switch_mm_irqs_off+0x45/0xa10 arch/x86/mm/tlb.c:522 Code: 7e 65 66 8b 1d ac 20 ce 7e 41 89 de 65 44 8a 3d 51 21 ce 7e e8 fc ba 16 08 89 04 24 9c 58 f6 c4 02 0f 85 09 07 00 00 0f 20 d8 <49> 8d 7c 24 50 48 89 44 24 08 48 b8 00 00 00 00 00 fc ff df 48 89 RSP: 0018:ffffc90001a9f9a0 EFLAGS: 00000046 RAX: 00000001406f5000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880175c8000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8bcb4ce0 R08: 0000000000000001 R09: 00002aaaaaaab066 R10: fffffbfff1e34a97 R11: 000000000000003f R12: ffff888010e78000 R13: ffff8880175c8000 R14: 0000000000000000 R15: ffffffff8bcb4c00 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001406f5000 CR4: 0000000000350ee0 Call Trace: unuse_temporary_mm arch/x86/kernel/alternative.c:946 [inline] __text_poke+0x544/0x8c0 arch/x86/kernel/alternative.c:1042 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: 7e 65 jle 0x67 2: 66 8b 1d ac 20 ce 7e mov 0x7ece20ac(%rip),%bx # 0x7ece20b5 9: 41 89 de mov %ebx,%r14d c: 65 44 8a 3d 51 21 ce mov %gs:0x7ece2151(%rip),%r15b # 0x7ece2165 13: 7e 14: e8 fc ba 16 08 callq 0x816bb15 19: 89 04 24 mov %eax,(%rsp) 1c: 9c pushfq 1d: 58 pop %rax 1e: f6 c4 02 test $0x2,%ah 21: 0f 85 09 07 00 00 jne 0x730 27: 0f 20 d8 mov %cr3,%rax * 2a: 49 8d 7c 24 50 lea 0x50(%r12),%rdi <-- trapping instruction 2f: 48 89 44 24 08 mov %rax,0x8(%rsp) 34: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 3b: fc ff df 3e: 48 rex.W 3f: 89 .byte 0x89