INFO: task syz-executor.0:12248 blocked for more than 143 seconds. Not tainted 5.16.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25456 pid:12248 ppid: 6532 flags:0x00024006 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xb72/0x1460 kernel/sched/core.c:6253 schedule+0x12b/0x1f0 kernel/sched/core.c:6326 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 io_wq_exit_workers fs/io-wq.c:1217 [inline] io_wq_put_and_exit+0x5cf/0xc50 fs/io-wq.c:1252 io_uring_clean_tctx+0x103/0x1d5 fs/io_uring.c:9770 io_uring_cancel_generic+0x624/0x661 fs/io_uring.c:9851 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x281/0x24f0 kernel/exit.c:787 do_group_exit+0x168/0x2d0 kernel/exit.c:929 get_signal+0x1740/0x2120 kernel/signal.c:2852 arch_do_signal_or_restart+0x9c/0x730 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+0x191/0x220 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300 do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fc054de1ae9 RSP: 002b:00007fc052357188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000200 RBX: 00007fc054ef4f60 RCX: 00007fc054de1ae9 RDX: 00000000a8000000 RSI: 00000000000045f5 RDI: 0000000000000004 RBP: 00007fc054e3bf6d R08: 0000000000000000 R09: 0000000000001800 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc37cd2a3f R14: 00007fc052357300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8cb1dd40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by in:imklog/6203: #0: ffff888079a2d9f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990 2 locks held by agetty/6228: #0: ffff88801dd11098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900028ec2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 2 locks held by agetty/20221: #0: ffff88803b9eb098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900054732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113 2 locks held by login/7990: #0: ffff88808daa2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffff88808daa2130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:961 [inline] #1: ffff88808daa2130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:984 [inline] #1: ffff88808daa2130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x271/0x9a0 drivers/tty/tty_io.c:1110 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc2-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+0x1dc/0x2d8 lib/dump_stack.c:106 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10 Comm: kworker/u4:1 Not tainted 5.16.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:memcpy_erms+0x8/0x10 Code: cc cc eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 f3 a4 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe 7c 35 RSP: 0018:ffffc90000cf77d8 EFLAGS: 00000002 RAX: 00002aaaaaaab878 RBX: ffff888011fd0000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffc90000cf7a61 RDI: 00002aaaaaaab879 RBP: ffffc90000cf7990 R08: dffffc0000000000 R09: 0000000000000000 R10: fffff5200019ef4d R11: 0000000000000001 R12: ffffc90000cf78a0 R13: ffff888011fe9d00 R14: 8000000000000063 R15: ffff888011f9b558 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5a3182c000 CR3: 00000001406f6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __text_poke+0x606/0x9f0 arch/x86/kernel/alternative.c:1024 text_poke arch/x86/kernel/alternative.c:1083 [inline] text_poke_bp_batch+0x1b0/0x940 arch/x86/kernel/alternative.c:1294 text_poke_flush arch/x86/kernel/alternative.c:1451 [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 static_key_enable_cpuslocked+0x12d/0x250 kernel/jump_label.c:177 static_key_enable+0x16/0x20 kernel/jump_label.c:190 toggle_allocation_gate+0xbf/0x460 mm/kfence/core.c:732 process_one_work+0x853/0x1140 kernel/workqueue.c:2298 worker_thread+0xac1/0x1320 kernel/workqueue.c:2445 kthread+0x468/0x490 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: cc int3 1: cc int3 2: eb 1e jmp 0x22 4: 0f 1f 00 nopl (%rax) 7: 48 89 f8 mov %rdi,%rax a: 48 89 d1 mov %rdx,%rcx d: 48 c1 e9 03 shr $0x3,%rcx 11: 83 e2 07 and $0x7,%edx 14: f3 48 a5 rep movsq %ds:(%rsi),%es:(%rdi) 17: 89 d1 mov %edx,%ecx 19: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) 1b: c3 retq 1c: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 22: 48 89 f8 mov %rdi,%rax 25: 48 89 d1 mov %rdx,%rcx 28: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) * 2a: c3 retq <-- trapping instruction 2b: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 32: 48 89 f8 mov %rdi,%rax 35: 48 83 fa 20 cmp $0x20,%rdx 39: 72 7e jb 0xb9 3b: 40 38 fe cmp %dil,%sil 3e: 7c 35 jl 0x75