INFO: task syz-executor.1:12336 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.1 state:D stack:28496 pid:12336 ppid: 6589 flags:0x00004004 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:9523 io_uring_release+0x42/0x46 fs/io_uring.c:9552 __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:0x7f7951e29b32 RSP: 002b:00007f794f37e0f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 0000000020ffd000 RBX: 0000000000008011 RCX: 00007f7951e29b32 RDX: 0000000000000003 RSI: 0000000000100000 RDI: 0000000020ffd000 RBP: 0000000020ffd000 R08: 0000000000000004 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000100 R13: 0000000020ffd000 R14: 0000000020000180 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/6230: #0: ffff88801a6e05f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.1/12332: 1 lock held by syz-executor.1/12336: #0: ffff8881990bf0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9523 1 lock held by syz-executor.1/12366: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12332 Comm: syz-executor.1 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_usage kernel/locking/lockdep.c:4485 [inline] RIP: 0010:__lock_acquire+0x7c6/0x54a0 kernel/locking/lockdep.c:4981 Code: 00 00 fc ff df 48 89 ea 48 c1 ea 03 0f b6 04 02 48 89 ea 83 e2 07 38 d0 7f 08 84 c0 0f 85 da 38 00 00 84 db 41 0f b6 44 24 22 <78> 60 a8 03 0f 84 a3 09 00 00 65 8b 05 51 24 a6 7e 85 c0 0f 85 cb RSP: 0018:ffffc90019fef9b8 EFLAGS: 00000046 RAX: 0000000000000004 RBX: 0000000000000000 RCX: ffffffff815c4fac RDX: 0000000000000002 RSI: 0000000000000008 RDI: ffff88809f63c4a9 RBP: ffff88809f63c4aa R08: 0000000000000000 R09: ffffffff8ff71a17 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88809f63c488 R13: ffff88809f63ba00 R14: 0000000000040000 R15: 0000000000000000 FS: 00007f794f39f700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c008b47970 CR3: 00000001a3efb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __fs_reclaim_acquire mm/page_alloc.c:4535 [inline] fs_reclaim_acquire+0x115/0x160 mm/page_alloc.c:4549 might_alloc include/linux/sched/mm.h:227 [inline] slab_pre_alloc_hook mm/slab.h:492 [inline] slab_alloc_node mm/slub.c:3148 [inline] slab_alloc mm/slub.c:3242 [inline] kmem_cache_alloc_trace+0x3b/0x2c0 mm/slub.c:3259 kmalloc include/linux/slab.h:590 [inline] io_add_buffers fs/io_uring.c:4405 [inline] io_provide_buffers fs/io_uring.c:4439 [inline] io_issue_sqe+0x2887/0x7010 fs/io_uring.c:6705 __io_queue_sqe fs/io_uring.c:6974 [inline] io_req_task_submit+0xce/0x450 fs/io_uring.c:2282 tctx_task_work+0x1b3/0x630 fs/io_uring.c:2206 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:0x7f7951e29ae9 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:00007f794f39f188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 00000000000002ff RBX: 00007f7951f3cf60 RCX: 00007f7951e29ae9 RDX: 0000000000000000 RSI: 00000000000002ff RDI: 0000000000000004 RBP: 00007f7951e83f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7952470b2f R14: 00007f794f39f300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 5 bytes skipped: 0: 48 89 ea mov %rbp,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax b: 48 89 ea mov %rbp,%rdx e: 83 e2 07 and $0x7,%edx 11: 38 d0 cmp %dl,%al 13: 7f 08 jg 0x1d 15: 84 c0 test %al,%al 17: 0f 85 da 38 00 00 jne 0x38f7 1d: 84 db test %bl,%bl 1f: 41 0f b6 44 24 22 movzbl 0x22(%r12),%eax * 25: 78 60 js 0x87 <-- trapping instruction 27: a8 03 test $0x3,%al 29: 0f 84 a3 09 00 00 je 0x9d2 2f: 65 8b 05 51 24 a6 7e mov %gs:0x7ea62451(%rip),%eax # 0x7ea62487 36: 85 c0 test %eax,%eax 38: 0f .byte 0xf 39: 85 cb test %ecx,%ebx