INFO: task syz-executor.2:10883 blocked for more than 143 seconds. Not tainted 5.18.0-rc4-syzkaller-00083-g259b897e5a79 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28408 pid:10883 ppid: 3631 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5073 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6388 schedule+0xd2/0x1f0 kernel/sched/core.c:6460 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6519 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 misc_open+0x55/0x4a0 drivers/char/misc.c:107 chrdev_open+0x266/0x770 fs/char_dev.c:414 do_dentry_open+0x4a1/0x11e0 fs/open.c:824 do_open fs/namei.c:3476 [inline] path_openat+0x1c71/0x2910 fs/namei.c:3609 do_filp_open+0x1aa/0x400 fs/namei.c:3636 do_sys_openat2+0x16d/0x4c0 fs/open.c:1213 do_sys_open fs/open.c:1229 [inline] __do_sys_openat fs/open.c:1245 [inline] __se_sys_openat fs/open.c:1240 [inline] __x64_sys_openat+0x13f/0x1f0 fs/open.c:1240 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:0x7f69da2890e9 RSP: 002b:00007f69db3ad168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f69da39c030 RCX: 00007f69da2890e9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007f69da2e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f69da8cfb1f R14: 00007f69db3ad300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd820e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6467 2 locks held by getty/3274: #0: ffff88807f5a0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 6 locks held by kworker/0:9/5206: 2 locks held by syz-executor.3/10871: #0: ffffffff8c815f88 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x55/0x4a0 drivers/char/misc.c:107 #1: ffffffff8bc51c28 (system_transition_mutex){+.+.}-{3:3}, at: snapshot_open+0x3b/0x2a0 kernel/power/user.c:54 1 lock held by syz-executor.2/10883: #0: ffffffff8c815f88 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x55/0x4a0 drivers/char/misc.c:107 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc4-syzkaller-00083-g259b897e5a79 #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:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3922 Comm: kworker/u4:7 Not tainted 5.18.0-rc4-syzkaller-00083-g259b897e5a79 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__prepare_ICR arch/x86/kernel/apic/local.h:40 [inline] RIP: 0010:__default_send_IPI_dest_field+0x68/0x130 arch/x86/kernel/apic/ipi.c:167 Code: 90 0f b6 45 00 84 c0 74 08 3c 03 0f 8e 99 00 00 00 8b 04 25 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 RSP: 0018:ffffc90005977908 EFLAGS: 00000006 RAX: 00000000000008fb RBX: 0000000000000800 RCX: 0000000000000000 RDX: 0000000000000800 RSI: 00000000000000fb RDI: 0000000002000000 RBP: fffffbffffebf860 R08: 0000000000000000 R09: ffff8880b9c3b157 R10: ffffffff817f775d R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: 0000000000000008 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efc6d2d37e6 CR3: 000000000ba8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _flat_send_IPI_mask+0x4e/0x60 arch/x86/kernel/apic/apic_flat_64.c:56 smp_call_function_many_cond+0xe9d/0x1110 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:1184 [inline] text_poke_bp_batch+0x58a/0x6b0 arch/x86/kernel/alternative.c:1441 text_poke_flush arch/x86/kernel/alternative.c:1542 [inline] text_poke_flush arch/x86/kernel/alternative.c:1539 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549 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_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:778 [inline] toggle_allocation_gate+0x183/0x390 mm/kfence/core.c:756 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: 90 nop 1: 0f b6 45 00 movzbl 0x0(%rbp),%eax 5: 84 c0 test %al,%al 7: 74 08 je 0x11 9: 3c 03 cmp $0x3,%al b: 0f 8e 99 00 00 00 jle 0xaa 11: 8b 04 25 00 c3 5f ff mov 0xffffffffff5fc300,%eax 18: f6 c4 10 test $0x10,%ah 1b: 75 e2 jne 0xffffffff 1d: 44 89 e7 mov %r12d,%edi 20: c1 e7 18 shl $0x18,%edi 23: 89 3c 25 10 c3 5f ff mov %edi,0xffffffffff5fc310 * 2a: 89 f0 mov %esi,%eax <-- trapping instruction 2c: 09 d8 or %ebx,%eax 2e: 80 cf 04 or $0x4,%bh 31: 83 fe 02 cmp $0x2,%esi 34: 0f 44 c3 cmove %ebx,%eax 37: 89 04 25 00 c3 5f ff mov %eax,0xffffffffff5fc300 3e: 48 rex.W 3f: 83 .byte 0x83