INFO: task syz-executor.4:20087 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28576 pid:20087 ppid: 8457 flags:0x00024004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 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:2852 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:0x7fb61718fae9 RSP: 002b:00007fb6146e4218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007fb6172a3028 RCX: 00007fb61718fae9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fb6172a302c RBP: 00007fb6172a3020 R08: 000000000000000e R09: 0000000000000000 R10: 00000000000002ff R11: 0000000000000246 R12: 00007fb6172a302c R13: 00007fb6177d6b2f R14: 00007fb6146e4300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by kworker/u4:2/44: 1 lock held by in:imklog/6447: #0: ffff88807f0c3270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc1-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: 44 Comm: kworker/u4:2 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:match_held_lock+0x1/0xc0 kernel/locking/lockdep.c:5085 Code: ee 48 c7 c7 e0 0e ac 89 e8 bb 26 bd ff 48 c7 c7 40 0f ac 89 e8 af 26 bd ff e8 76 e8 cc ff 31 c0 5d c3 0f 1f 80 00 00 00 00 53 <48> 89 fb 48 83 ec 08 48 39 77 10 74 6a 66 f7 47 22 f0 ff 74 5a 48 RSP: 0018:ffffc9000114f830 EFLAGS: 00000093 RAX: 000000000000000f RBX: ffff8880b9c39a98 RCX: 0000000000000000 RDX: 1ffff11002abf14b RSI: ffff8880b9c39a98 RDI: ffff8880155f8ad8 RBP: ffff8880155f8000 R08: 0000000000000000 R09: ffff888022ee1373 R10: 0000000000000000 R11: 000000000000003f R12: ffffed1002abf14b R13: ffff8880155f8a60 R14: ffff8880155f8ad8 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd31ad5000 CR3: 000000007f511000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_unpin_lock kernel/locking/lockdep.c:5450 [inline] lock_unpin_lock+0x211/0x3c0 kernel/locking/lockdep.c:5737 rq_unpin_lock kernel/sched/sched.h:1555 [inline] prepare_lock_switch kernel/sched/core.c:4715 [inline] context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa1b/0x4940 kernel/sched/core.c:6253 preempt_schedule_common+0x45/0xc0 kernel/sched/core.c:6419 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:35 on_each_cpu_cond_mask+0x8d/0xa0 kernel/smp.c:1136 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1112 [inline] text_poke_bp_batch+0x1b3/0x560 arch/x86/kernel/alternative.c:1297 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: ee out %al,(%dx) 1: 48 c7 c7 e0 0e ac 89 mov $0xffffffff89ac0ee0,%rdi 8: e8 bb 26 bd ff callq 0xffbd26c8 d: 48 c7 c7 40 0f ac 89 mov $0xffffffff89ac0f40,%rdi 14: e8 af 26 bd ff callq 0xffbd26c8 19: e8 76 e8 cc ff callq 0xffcce894 1e: 31 c0 xor %eax,%eax 20: 5d pop %rbp 21: c3 retq 22: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 29: 53 push %rbx * 2a: 48 89 fb mov %rdi,%rbx <-- trapping instruction 2d: 48 83 ec 08 sub $0x8,%rsp 31: 48 39 77 10 cmp %rsi,0x10(%rdi) 35: 74 6a je 0xa1 37: 66 f7 47 22 f0 ff testw $0xfff0,0x22(%rdi) 3d: 74 5a je 0x99 3f: 48 rex.W