INFO: task syz-executor617:3663 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-executor617 state:D stack:28424 pid: 3663 ppid: 3634 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_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 __flush_work+0x56c/0xb10 kernel/workqueue.c:3084 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3171 p9_conn_destroy net/9p/trans_fd.c:884 [inline] p9_fd_close+0x29c/0x520 net/9p/trans_fd.c:919 p9_client_create+0x95a/0x1110 net/9p/client.c:1067 v9fs_session_init+0x1dd/0x1780 fs/9p/v9fs.c:408 v9fs_mount+0x73/0xa80 fs/9p/vfs_super.c:125 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1500 do_new_mount fs/namespace.c:2988 [inline] path_mount+0x1320/0x1fa0 fs/namespace.c:3318 do_mount fs/namespace.c:3331 [inline] __do_sys_mount fs/namespace.c:3539 [inline] __se_sys_mount fs/namespace.c:3516 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3516 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:0x7f5b42a5fcf9 RSP: 002b:00007f5b429f0308 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5b42ae74f8 RCX: 00007f5b42a5fcf9 RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000 RBP: 00007f5b42ae74f0 R08: 00000000200001c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5b42ae74fc R13: 00007f5b42ab507c R14: 64663d736e617274 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/1:0/20: #0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline] #0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c67d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x896/0x1660 kernel/workqueue.c:2269 #1: ffffc90000fbfdb0 ((work_completion)(&m->rq)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1660 kernel/workqueue.c:2273 1 lock held by khungtaskd/27: #0: ffffffff8bb812a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by getty/3285: #0: ffff88807f315098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 ============================================= NMI backtrace for cpu 1 CPU: 1 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1058 Comm: kworker/u4:5 Not tainted 5.16.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__raw_callee_save___pv_queued_spin_unlock+0xc/0x12 Code: 56 57 41 50 41 51 41 52 41 53 e8 af 15 00 00 41 5b 41 5a 41 59 41 58 5f 5e 5a 59 c3 66 90 52 b8 01 00 00 00 31 d2 f0 0f b0 17 <3c> 01 75 02 5a c3 56 0f b6 f0 e8 c5 ff ff ff 5e 5a c3 66 90 48 b8 RSP: 0018:ffffc90004b2f9c0 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000007 RCX: ffffffff815c51a0 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888010dec540 RBP: ffff888010dec540 R08: 0000000000000000 R09: ffff888010dec543 R10: ffffed10021bd8a8 R11: 000000000000003f R12: ffff888010dec548 R13: ffff888010dec550 R14: 0000000000000204 R15: ffffffff8bcab900 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563396607fe8 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_unlock arch/x86/include/asm/paravirt.h:596 [inline] queued_spin_unlock arch/x86/include/asm/qspinlock.h:56 [inline] do_raw_spin_unlock+0x171/0x230 kernel/locking/spinlock_debug.c:141 __raw_spin_unlock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_unlock+0x1a/0x40 kernel/locking/spinlock.c:186 spin_unlock include/linux/spinlock.h:389 [inline] __text_poke+0x5d4/0x8c0 arch/x86/kernel/alternative.c:1059 text_poke_bp_batch+0x187/0x560 arch/x86/kernel/alternative.c:1294 text_poke_flush arch/x86/kernel/alternative.c:1451 [inline] text_poke_flush arch/x86/kernel/alternative.c:1448 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1458 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1da/0x400 kernel/jump_label.c:830 static_key_disable_cpuslocked+0x152/0x1b0 kernel/jump_label.c:207 static_key_disable+0x16/0x20 kernel/jump_label.c:215 toggle_allocation_gate mm/kfence/core.c:747 [inline] toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:725 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 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.240 msecs ---------------- Code disassembly (best guess): 0: 56 push %rsi 1: 57 push %rdi 2: 41 50 push %r8 4: 41 51 push %r9 6: 41 52 push %r10 8: 41 53 push %r11 a: e8 af 15 00 00 callq 0x15be f: 41 5b pop %r11 11: 41 5a pop %r10 13: 41 59 pop %r9 15: 41 58 pop %r8 17: 5f pop %rdi 18: 5e pop %rsi 19: 5a pop %rdx 1a: 59 pop %rcx 1b: c3 retq 1c: 66 90 xchg %ax,%ax 1e: 52 push %rdx 1f: b8 01 00 00 00 mov $0x1,%eax 24: 31 d2 xor %edx,%edx 26: f0 0f b0 17 lock cmpxchg %dl,(%rdi) * 2a: 3c 01 cmp $0x1,%al <-- trapping instruction 2c: 75 02 jne 0x30 2e: 5a pop %rdx 2f: c3 retq 30: 56 push %rsi 31: 0f b6 f0 movzbl %al,%esi 34: e8 c5 ff ff ff callq 0xfffffffe 39: 5e pop %rsi 3a: 5a pop %rdx 3b: c3 retq 3c: 66 90 xchg %ax,%ax 3e: 48 rex.W 3f: b8 .byte 0xb8