INFO: task syz-executor.1:23926 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28248 pid:23926 ppid: 6521 flags:0x00000004 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __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:9565 io_uring_release+0x42/0x46 fs/io_uring.c:9594 __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:0x7f7a69408b32 RSP: 002b:00007f7a6695d0f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 0000000020ffe000 RBX: 0000000000008011 RCX: 00007f7a69408b32 RDX: 0000000000000003 RSI: 0000000000100000 RDI: 0000000020ffe000 RBP: 0000000020ffe000 R08: 0000000000000003 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000140 R13: 0000000020ffe000 R14: 0000000020000100 R15: 0000000020002000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6212: #0: ffff888014d97770 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by kworker/u4:3/7509: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9c279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 1 lock held by syz-executor.1/23923: 1 lock held by syz-executor.1/23926: #0: ffff8880818a50a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9565 2 locks held by syz-executor.1/23945: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc3-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: 23923 Comm: syz-executor.1 Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:stack_trace_consume_entry+0xd3/0x160 kernel/stacktrace.c:93 Code: 02 00 0f 85 92 00 00 00 8d 45 01 89 43 10 48 8b 03 48 8d 2c e8 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 <75> 5c 48 89 75 00 8b 43 08 39 43 10 0f 92 c0 48 83 c4 08 5b 5d c3 RSP: 0018:ffffc9000e3578c8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffc9000e3579a0 RCX: 0000000000000000 RDX: 1ffff92001c6af4b RSI: ffffffff89600068 RDI: ffffc9000e3579ac RBP: ffffc9000e357a58 R08: ffffffff8ea40244 R09: 0000000000000001 R10: fffff52001c6af28 R11: 000000000008808a R12: ffffc9000e3579a0 R13: 0000000000000000 R14: ffff888079ea8000 R15: ffff8881d1a5ef00 FS: 00007f7a6697e700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01a1e9800 CR3: 000000007d6d4000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x6d/0xe0 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] ____kasan_kmalloc mm/kasan/common.c:472 [inline] __kasan_kmalloc+0xa9/0xd0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:590 [inline] io_add_buffers fs/io_uring.c:4445 [inline] io_provide_buffers fs/io_uring.c:4479 [inline] io_issue_sqe+0x2887/0x7060 fs/io_uring.c:6748 __io_queue_sqe fs/io_uring.c:7018 [inline] io_req_task_submit+0xce/0x450 fs/io_uring.c:2321 tctx_task_work+0x1b3/0x630 fs/io_uring.c:2245 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:214 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x256/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:0x7f7a69408ae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7a6697e188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000004000 RBX: 00007f7a6951bf60 RCX: 00007f7a69408ae9 RDX: 0000000000000000 RSI: 0000000000007ee2 RDI: 0000000000000003 RBP: 00007f7a69462f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff749bcf8f R14: 00007f7a6697e300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 02 00 add (%rax),%al 2: 0f 85 92 00 00 00 jne 0x9a 8: 8d 45 01 lea 0x1(%rbp),%eax b: 89 43 10 mov %eax,0x10(%rbx) e: 48 8b 03 mov (%rbx),%rax 11: 48 8d 2c e8 lea (%rax,%rbp,8),%rbp 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 ea mov %rbp,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 2a: 75 5c jne 0x88 <-- trapping instruction 2c: 48 89 75 00 mov %rsi,0x0(%rbp) 30: 8b 43 08 mov 0x8(%rbx),%eax 33: 39 43 10 cmp %eax,0x10(%rbx) 36: 0f 92 c0 setb %al 39: 48 83 c4 08 add $0x8,%rsp 3d: 5b pop %rbx 3e: 5d pop %rbp 3f: c3 retq