INFO: task syz-executor.5:31979 blocked for more than 143 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28672 pid:31979 ppid: 6804 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 io_uring_del_tctx_node+0x105/0x350 fs/io_uring.c:9700 io_uring_clean_tctx fs/io_uring.c:9716 [inline] io_uring_cancel_generic+0x5cb/0x760 fs/io_uring.c:9804 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x265/0x2a30 kernel/exit.c:780 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x21d0 kernel/signal.c:2855 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865 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:0x7f4458ebcae9 RSP: 002b:00007f4456432218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4458fcff68 RCX: 00007f4458ebcae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4458fcff68 RBP: 00007f4458fcff60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4458fcff6c R13: 00007ffe2269c47f R14: 00007f4456432300 R15: 0000000000022000 INFO: task syz-executor.5:32003 blocked for more than 143 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28992 pid:32003 ppid: 6804 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 io_ring_ctx_wait_and_kill+0x77/0x3c0 fs/io_uring.c:9478 io_uring_release+0x3e/0x50 fs/io_uring.c:9507 __fput+0x288/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:0x7f4458ebcb32 RSP: 002b:00007f44563f00f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 0000000020ee8000 RBX: 0000000000008011 RCX: 00007f4458ebcb32 RDX: 0000000000000003 RSI: 0000000000040000 RDI: 0000000020ee8000 RBP: 0000000020ee8000 R08: 0000000000000004 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000040 R13: 0000000020ee8000 R14: 0000000020000000 R15: 0000000020ee6000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8b97f0e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by khugepaged/32: 1 lock held by systemd-udevd/2941: #0: ffff88801e690828 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock include/linux/mmap_lock.h:117 [inline] #0: ffff88801e690828 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x9d8/0x11c0 arch/x86/mm/fault.c:1348 1 lock held by in:imklog/6237: #0: ffff888018e5b0f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.5/31979: #0: ffff88801e1e20a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x105/0x350 fs/io_uring.c:9700 3 locks held by syz-executor.5/31982: 1 lock held by syz-executor.5/32003: #0: ffff88801e1e20a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x77/0x3c0 fs/io_uring.c:9478 1 lock held by syz-executor.5/32005: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.15.0-rc7-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+0x3e5/0x4d0 kernel/kthread.c:319 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: 32005 Comm: syz-executor.5 Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:unwind_next_frame+0xcf1/0x1ce0 arch/x86/kernel/unwind_orc.c:540 Code: 28 84 c0 48 8b 4c 24 30 0f 84 33 07 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 08 4c 8b 64 24 60 48 c1 ea 03 80 3c 02 00 <0f> 85 98 0e 00 00 48 8b 14 24 4d 89 66 38 48 b8 00 00 00 00 00 fc RSP: 0018:ffffc90004baf6b8 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: 1ffff92000975edf RCX: ffffffff8df783bb RDX: 1ffff92000975ef9 RSI: ffffc90004bafde0 RDI: ffffc90004bafde0 RBP: 0000000000000001 R08: ffffffff8df783b6 R09: 0000000000000001 R10: fffff52000975efd R11: 0000000000086089 R12: ffffc90004bafde8 R13: ffffc90004baf7c5 R14: ffffc90004baf790 R15: ffffffff8df783ba FS: 00007f44563cf700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007faaee6a5000 CR3: 000000006fc25000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 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+0xa1/0xd0 mm/kasan/common.c:522 kasan_kmalloc include/linux/kasan.h:264 [inline] kmem_cache_alloc_trace+0x1e4/0x480 mm/slab.c:3575 kmalloc include/linux/slab.h:591 [inline] io_add_buffers fs/io_uring.c:4382 [inline] io_provide_buffers fs/io_uring.c:4416 [inline] io_issue_sqe+0x3289/0x7180 fs/io_uring.c:6728 __io_queue_sqe+0x90/0xb30 fs/io_uring.c:6957 io_req_task_submit+0xbf/0x1b0 fs/io_uring.c:2231 tctx_task_work+0x189/0x6c0 fs/io_uring.c:2156 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:0x7f4458ebcae9 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:00007f44563cf188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000001000 RBX: 00007f4458fd01a0 RCX: 00007f4458ebcae9 RDX: 0000000000000000 RSI: 000000000000688c RDI: 0000000000000004 RBP: 00007f4458f16f25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe2269c47f R14: 00007f44563cf300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 84 c0 test %al,%al 2: 48 8b 4c 24 30 mov 0x30(%rsp),%rcx 7: 0f 84 33 07 00 00 je 0x740 d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 14: fc ff df 17: 48 8b 54 24 08 mov 0x8(%rsp),%rdx 1c: 4c 8b 64 24 60 mov 0x60(%rsp),%r12 21: 48 c1 ea 03 shr $0x3,%rdx 25: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) * 29: 0f 85 98 0e 00 00 jne 0xec7 <-- trapping instruction 2f: 48 8b 14 24 mov (%rsp),%rdx 33: 4d 89 66 38 mov %r12,0x38(%r14) 37: 48 rex.W 38: b8 00 00 00 00 mov $0x0,%eax 3d: 00 fc add %bh,%ah