INFO: task syz-executor.1:21247 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:29464 pid:21247 ppid: 12003 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9527 io_uring_release+0x42/0x46 fs/io_uring.c:9556 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/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:0x7f8561160b32 RSP: 002b:00007f855e6b50f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 00000000206d3000 RBX: 0000000000008011 RCX: 00007f8561160b32 RDX: 0000000000000003 RSI: 0000000000040000 RDI: 00000000206d3000 RBP: 00000000206d3000 R08: 0000000000000003 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000040 R13: 00000000206d3000 R14: 0000000020000000 R15: 0000000020ee7000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b983a20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6461 2 locks held by ksmd/32: #0: ffffffff8bac8f68 (ksm_thread_mutex){+.+.}-{3:3}, at: ksm_scan_thread+0x100/0x4a40 mm/ksm.c:2413 #1: ffffffff8ba68848 (lock#5){+.+.}-{3:3}, at: __lru_add_drain_all+0x65/0x760 mm/swap.c:797 1 lock held by in:imklog/6162: 2 locks held by kworker/u4:14/9981: 2 locks held by systemd-rfkill/24738: #0: ffff88814b486460 (sb_writers#5){.+.+}-{0:0}, at: do_renameat2+0x37b/0xc80 fs/namei.c:4713 #1: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 1 lock held by syz-executor.1/21228: 1 lock held by syz-executor.1/21247: #0: ffff88809b6000a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9527 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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: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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 9981 Comm: kworker/u4:14 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x69/0x70 kernel/kcov.c:293 Code: 3c cd 28 00 00 00 48 39 fe 72 1f 48 83 c2 01 4c 89 44 38 e8 48 c7 44 38 e0 07 00 00 00 48 89 4c 38 f0 4e 89 54 c8 20 48 89 10 66 0f 1f 44 00 00 41 57 41 56 49 89 d6 41 55 41 54 55 48 89 fd RSP: 0018:ffffc90003c2fa40 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000100031869 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff888018393a00 RDI: 0000000000000003 RBP: ffffc90003c2fb88 R08: 0000000000000000 R09: 0000000000000003 R10: ffffffff8166c9fb R11: 0000000000000000 R12: ffff8880b9d28280 R13: 0000000100031869 R14: 0000000000000000 R15: ffff888010c69800 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055e1ce026f20 CR3: 000000000b68e000 CR4: 0000000000350ee0 Call Trace: forward_timer_base kernel/time/timer.c:901 [inline] __mod_timer+0x3fb/0xe30 kernel/time/timer.c:1020 schedule_timeout+0x145/0x2a0 kernel/time/timer.c:1880 toggle_allocation_gate mm/kfence/core.c:739 [inline] toggle_allocation_gate+0x305/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: 3c cd cmp $0xcd,%al 2: 28 00 sub %al,(%rax) 4: 00 00 add %al,(%rax) 6: 48 39 fe cmp %rdi,%rsi 9: 72 1f jb 0x2a b: 48 83 c2 01 add $0x1,%rdx f: 4c 89 44 38 e8 mov %r8,-0x18(%rax,%rdi,1) 14: 48 c7 44 38 e0 07 00 movq $0x7,-0x20(%rax,%rdi,1) 1b: 00 00 1d: 48 89 4c 38 f0 mov %rcx,-0x10(%rax,%rdi,1) 22: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8) 27: 48 89 10 mov %rdx,(%rax) * 2a: c3 retq <-- trapping instruction 2b: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 31: 41 57 push %r15 33: 41 56 push %r14 35: 49 89 d6 mov %rdx,%r14 38: 41 55 push %r13 3a: 41 54 push %r12 3c: 55 push %rbp 3d: 48 89 fd mov %rdi,%rbp