INFO: task syz-executor.4:32251 blocked for more than 143 seconds. Not tainted 5.15.0-next-20211108-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28448 pid:32251 ppid: 10026 flags:0x00024004 Call Trace: context_switch kernel/sched/core.c:4984 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6265 schedule+0xd2/0x260 kernel/sched/core.c:6338 io_uring_cancel_generic+0x53d/0x690 fs/io_uring.c:9846 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x60c/0x2b40 kernel/exit.c:787 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2830 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f6f70e12ae9 RSP: 002b:00007f6f6e367188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 00000000000000b2 RBX: 00007f6f70f26020 RCX: 00007f6f70e12ae9 RDX: 0000000000000000 RSI: 00000000000000b2 RDI: 0000000000000003 RBP: 00007f6f70e6cf25 R08: 0000000000000000 R09: 0000000000007401 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe1a220c1f R14: 00007f6f6e367300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 4 locks held by kworker/u4:2/46: 1 lock held by in:imklog/6226: 2 locks held by agetty/6234: #0: ffff8880232ae098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900020782e8 (&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.15.0-next-20211108-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 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: 3423 Comm: kworker/u4:15 Not tainted 5.15.0-next-20211108-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:text_poke_bp_batch+0x3d7/0x560 arch/x86/kernel/alternative.c:1357 Code: 83 c0 03 38 d0 7c 08 84 d2 0f 85 50 01 00 00 48 63 7b f7 ba 01 00 00 00 48 89 de 83 c5 01 48 81 c7 00 00 00 81 e8 59 f6 ff ff <48> 83 c3 10 49 39 dc 75 94 85 ed 75 7d 48 8d 7c 24 74 be 04 00 00 RSP: 0018:ffffc900036dfad8 EFLAGS: 00000286 RAX: ffffffff81be266c RBX: ffffffff8f152319 RCX: 1ffff920006dbf48 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: 0000000000000002 R08: 0000000000000000 R09: ffff888010dbb123 R10: ffffed10021b7624 R11: 000000000000003f R12: ffffffff8f152399 R13: dffffc0000000000 R14: 0000000000000005 R15: ffffffff8f152390 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f36214000 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: 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+0x1d5/0x430 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:732 [inline] toggle_allocation_gate+0x100/0x390 mm/kfence/core.c:724 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 83 c0 03 add $0x3,%eax 3: 38 d0 cmp %dl,%al 5: 7c 08 jl 0xf 7: 84 d2 test %dl,%dl 9: 0f 85 50 01 00 00 jne 0x15f f: 48 63 7b f7 movslq -0x9(%rbx),%rdi 13: ba 01 00 00 00 mov $0x1,%edx 18: 48 89 de mov %rbx,%rsi 1b: 83 c5 01 add $0x1,%ebp 1e: 48 81 c7 00 00 00 81 add $0xffffffff81000000,%rdi 25: e8 59 f6 ff ff callq 0xfffff683 * 2a: 48 83 c3 10 add $0x10,%rbx <-- trapping instruction 2e: 49 39 dc cmp %rbx,%r12 31: 75 94 jne 0xffffffc7 33: 85 ed test %ebp,%ebp 35: 75 7d jne 0xb4 37: 48 8d 7c 24 74 lea 0x74(%rsp),%rdi 3c: be .byte 0xbe 3d: 04 00 add $0x0,%al