INFO: task syz-executor.0:14182 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.0 state:D stack:28840 pid:14182 ppid: 6564 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: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:0x7fe7f9f9db32 RSP: 002b:00007fe7f74d10f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 0000000020ffd000 RBX: 0000000000008011 RCX: 00007fe7f9f9db32 RDX: 0000000000000003 RSI: 0000000000200000 RDI: 0000000020ffd000 RBP: 0000000020ffd000 R08: 0000000000000005 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000140 R13: 0000000020ffd000 R14: 0000000020000080 R15: 0000000020002000 Showing all locks held in the system: 2 locks held by kworker/u4:0/8: 1 lock held by khungtaskd/27: #0: ffffffff8b983b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6216: 1 lock held by syz-executor.0/14158: 1 lock held by syz-executor.0/14182: #0: ffff88807a8f30a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9523 ============================================= 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: 14158 Comm: syz-executor.0 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_lock+0x4/0x17b0 kernel/locking/lockdep.c:4566 Code: ff ff ff c3 66 90 be 00 00 02 00 48 c7 c7 e0 16 0a 8f e8 df b2 7b 02 48 98 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 41 56 <41> 55 41 54 41 89 d4 48 ba 00 00 00 00 00 fc ff df 55 53 48 81 ec RSP: 0018:ffffc9000c1ff9a0 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffff88806ef72744 RCX: 1ffffffff1facb2e RDX: 0000000000000008 RSI: ffff88806ef72788 RDI: ffff88806ef71d00 RBP: ffff88806ef727aa R08: 0000000000000000 R09: ffffffff8fd5da17 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88806ef72788 R13: ffff88806ef71d00 R14: 0000000000040000 R15: 0000000000000000 FS: 00007fe7f7513700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0005b2914 CR3: 0000000019876000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4526 [inline] __lock_acquire+0x8a7/0x54a0 kernel/locking/lockdep.c:4981 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:0x7fe7f9f9dae9 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:00007fe7f7513188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 00000000000002ff RBX: 00007fe7fa0b0f60 RCX: 00007fe7f9f9dae9 RDX: 0000000000000000 RSI: 00000000000002ff RDI: 0000000000000005 RBP: 00007fe7f9ff7f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe7fa5e4b2f R14: 00007fe7f7513300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: ff c3 inc %ebx 2: 66 90 xchg %ax,%ax 4: be 00 00 02 00 mov $0x20000,%esi 9: 48 c7 c7 e0 16 0a 8f mov $0xffffffff8f0a16e0,%rdi 10: e8 df b2 7b 02 callq 0x27bb2f4 15: 48 98 cltq 17: c3 retq 18: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 1f: 00 00 00 00 23: 90 nop 24: 41 57 push %r15 26: 41 56 push %r14 * 28: 41 55 push %r13 <-- trapping instruction 2a: 41 54 push %r12 2c: 41 89 d4 mov %edx,%r12d 2f: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 36: fc ff df 39: 55 push %rbp 3a: 53 push %rbx 3b: 48 rex.W 3c: 81 .byte 0x81 3d: ec in (%dx),%al