INFO: task syz-executor.1:21901 blocked for more than 143 seconds. Not tainted 5.17.0-rc1-syzkaller-00186-g23a46422c561 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27400 pid:21901 ppid: 21881 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6295 schedule+0xd2/0x260 kernel/sched/core.c:6368 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 __pipe_lock fs/pipe.c:103 [inline] pipe_write+0x633/0x1c00 fs/pipe.c:571 call_write_iter include/linux/fs.h:2074 [inline] new_sync_write+0x431/0x660 fs/read_write.c:503 vfs_write+0x7cd/0xae0 fs/read_write.c:590 ksys_write+0x1ee/0x250 fs/read_write.c:643 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:0x7fb634afb059 RSP: 002b:00007fb633470168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb634c0df60 RCX: 00007fb634afb059 RDX: 00000000fffffecc RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007fb634b5508d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc621dadcf R14: 00007fb633470300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3283: #0: ffff88814ad77098 (&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:2077 1 lock held by syz-executor.1/21901: #0: ffff888079bc8468 (&pipe->mutex/1){+.+.}-{3:3}, at: __pipe_lock fs/pipe.c:103 [inline] #0: ffff888079bc8468 (&pipe->mutex/1){+.+.}-{3:3}, at: pipe_write+0x633/0x1c00 fs/pipe.c:571 1 lock held by syz-executor.1/21902: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc1-syzkaller-00186-g23a46422c561 #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: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: 4024 Comm: kworker/u4:6 Not tainted 5.17.0-rc1-syzkaller-00186-g23a46422c561 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__default_send_IPI_dest_field+0x7c/0x130 arch/x86/kernel/apic/ipi.c:173 Code: 00 c3 5f ff f6 c4 10 75 e2 44 89 e7 c1 e7 18 89 3c 25 10 c3 5f ff 89 f0 09 d8 80 cf 04 83 fe 02 0f 44 c3 89 04 25 00 c3 5f ff <48> 83 c4 08 5b 5d 41 5c c3 48 c7 c0 60 8a 59 8b 48 ba 00 00 00 00 RSP: 0018:ffffc900057af9c0 EFLAGS: 00000006 RAX: 00000000000008fb RBX: 0000000000000c00 RCX: 0000000000000000 RDX: 0000000000000800 RSI: 00000000000000fb RDI: 0000000002000000 RBP: fffffbffffebf860 R08: 0000000000000000 R09: ffff8880b9c3ad97 R10: ffffffff817e9dcd R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000001 R14: 0000000000000008 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0155d5dc0 CR3: 000000000b88e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: _flat_send_IPI_mask+0x4e/0x60 arch/x86/kernel/apic/apic_flat_64.c:56 smp_call_function_many_cond+0xab6/0xc90 kernel/smp.c:949 on_each_cpu_cond_mask+0x56/0xa0 kernel/smp.c:1135 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1112 [inline] text_poke_bp_batch+0x440/0x510 arch/x86/kernel/alternative.c:1369 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+0x1da/0x400 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:734 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:726 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), 4 bytes skipped: 0: f6 c4 10 test $0x10,%ah 3: 75 e2 jne 0xffffffe7 5: 44 89 e7 mov %r12d,%edi 8: c1 e7 18 shl $0x18,%edi b: 89 3c 25 10 c3 5f ff mov %edi,0xffffffffff5fc310 12: 89 f0 mov %esi,%eax 14: 09 d8 or %ebx,%eax 16: 80 cf 04 or $0x4,%bh 19: 83 fe 02 cmp $0x2,%esi 1c: 0f 44 c3 cmove %ebx,%eax 1f: 89 04 25 00 c3 5f ff mov %eax,0xffffffffff5fc300 * 26: 48 83 c4 08 add $0x8,%rsp <-- trapping instruction 2a: 5b pop %rbx 2b: 5d pop %rbp 2c: 41 5c pop %r12 2e: c3 retq 2f: 48 c7 c0 60 8a 59 8b mov $0xffffffff8b598a60,%rax 36: 48 rex.W 37: ba 00 00 00 00 mov $0x0,%edx