INFO: task syz-executor.0:17423 blocked for more than 143 seconds. Not tainted 5.15.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28808 pid:17423 ppid: 26205 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:9481 io_uring_release+0x3e/0x50 fs/io_uring.c:9510 __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:0x7f80a9a56a82 RSP: 002b:00007f80a6fab0f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 00000000206d6000 RBX: 0000000000008011 RCX: 00007f80a9a56a82 RDX: 0000000000000003 RSI: 0000000000200000 RDI: 00000000206d6000 RBP: 00000000206d6000 R08: 0000000000000003 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000100 R13: 00000000206d6000 R14: 0000000020000080 R15: 0000000020ee7000 INFO: task syz-executor.0:17424 blocked for more than 143 seconds. Not tainted 5.15.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28952 pid:17424 ppid: 26205 flags:0x00004000 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:9694 io_uring_clean_tctx fs/io_uring.c:9710 [inline] io_uring_cancel_generic+0x5cb/0x760 fs/io_uring.c:9798 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/0x2160 kernel/signal.c:2868 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:0x7f80a9a56a39 RSP: 002b:00007f80a6f8a218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f80a9b5a0e8 RCX: 00007f80a9a56a39 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f80a9b5a0e8 RBP: 00007f80a9b5a0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f80a9b5a0ec R13: 00007ffc6db82d1f R14: 00007f80a6f8a300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b981b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6216: #0: ffff88807b04cff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.0/17417: 1 lock held by syz-executor.0/17423: #0: ffff8880879b60a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x77/0x3c0 fs/io_uring.c:9481 1 lock held by syz-executor.0/17424: #0: ffff88807a6660a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x105/0x350 fs/io_uring.c:9694 2 locks held by syz-executor.0/17425: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc6-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 17417 Comm: syz-executor.0 Not tainted 5.15.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:152 [inline] RIP: 0010:unwind_next_frame+0x1f5/0x1ce0 arch/x86/kernel/unwind_orc.c:443 Code: 3c 01 49 c7 c0 e0 83 7f 8b 49 83 df 00 4d 85 ff 0f 84 55 01 00 00 49 81 ff 00 00 00 81 0f 82 9b 02 00 00 49 81 ff 68 87 60 89 <0f> 83 8e 02 00 00 44 8b 1d 6e 12 00 0a 4c 89 fe 48 81 ee 00 00 00 RSP: 0018:ffffc900057cf710 EFLAGS: 00000283 RAX: 0000000000000000 RBX: 1ffff92000af9eea RCX: 1ffff92000af9f06 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff88801dfbe998 RBP: 0000000000000001 R08: ffffffff8b7f83e0 R09: 0000000000000001 R10: fffff52000af9f08 R11: 0000000000086089 R12: ffffc900057cf830 R13: ffffc900057cf81d R14: ffffc900057cf7e8 R15: ffffffff81e3eba8 FS: 00007f80a6fcc700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f342f477020 CR3: 0000000081924000 CR4: 0000000000350ef0 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+0xa4/0xd0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:591 [inline] io_add_buffers fs/io_uring.c:4385 [inline] io_provide_buffers fs/io_uring.c:4419 [inline] io_issue_sqe+0x3289/0x7180 fs/io_uring.c:6731 __io_queue_sqe+0x90/0xb50 fs/io_uring.c:6960 io_req_task_submit+0xbf/0x1b0 fs/io_uring.c:2234 tctx_task_work+0x189/0x6c0 fs/io_uring.c:2159 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:0x7f80a9a56a39 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:00007f80a6fcc188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000342 RBX: 00007f80a9b59f60 RCX: 00007f80a9a56a39 RDX: 000000000000bf51 RSI: 0000000000000342 RDI: 0000000000000003 RBP: 00007f80a9ab0c5f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc6db82d1f R14: 00007f80a6fcc300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 3c 01 cmp $0x1,%al 2: 49 c7 c0 e0 83 7f 8b mov $0xffffffff8b7f83e0,%r8 9: 49 83 df 00 sbb $0x0,%r15 d: 4d 85 ff test %r15,%r15 10: 0f 84 55 01 00 00 je 0x16b 16: 49 81 ff 00 00 00 81 cmp $0xffffffff81000000,%r15 1d: 0f 82 9b 02 00 00 jb 0x2be 23: 49 81 ff 68 87 60 89 cmp $0xffffffff89608768,%r15 * 2a: 0f 83 8e 02 00 00 jae 0x2be <-- trapping instruction 30: 44 8b 1d 6e 12 00 0a mov 0xa00126e(%rip),%r11d # 0xa0012a5 37: 4c 89 fe mov %r15,%rsi 3a: 48 rex.W 3b: 81 .byte 0x81 3c: ee out %al,(%dx) 3d: 00 00 add %al,(%rax)