INFO: task syz-executor.4:20416 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.4 state:D stack:29464 pid:20416 ppid: 10353 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: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:0x7fe3cebb5b32 RSP: 002b:00007fe3cc10a0f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 00000000206d3000 RBX: 0000000000008011 RCX: 00007fe3cebb5b32 RDX: 0000000000000003 RSI: 0000000000040000 RDI: 00000000206d3000 RBP: 00000000206d3000 R08: 0000000000000003 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000040 R13: 00000000206d3000 R14: 0000000020000000 R15: 0000000020ee7000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6353: #0: ffff888019eb2870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.4/20385: 1 lock held by syz-executor.4/20416: #0: ffff888080fb50a8 (&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.4/20420: ============================================= 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: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: 20385 Comm: syz-executor.4 Not tainted 5.16.0-rc1-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:155 [inline] RIP: 0010:unwind_next_frame+0x202/0x1ce0 arch/x86/kernel/unwind_orc.c:443 Code: 4d 85 ff 0f 84 cf 01 00 00 49 81 ff 00 00 00 81 0f 82 41 01 00 00 49 81 ff 3e 88 80 89 0f 83 34 01 00 00 44 8b 1d 4e 11 22 0a <4c> 89 fe 48 81 ee 00 00 00 81 48 c1 ee 08 41 8d 43 ff 39 c6 0f 83 RSP: 0018:ffffc9001499f7c0 EFLAGS: 00000297 RAX: 0000000000000000 RBX: 1ffff92002933f00 RCX: 1ffff92002933f26 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888071214e58 RBP: 0000000000000001 R08: ffffffff8b9f9fe0 R09: 0000000000000001 R10: fffff52002933f28 R11: 000000000008808a R12: ffffc9001499f930 R13: ffffc9001499f91d R14: ffffc9001499f8e8 R15: ffffffff812c9ebb FS: 00007fe3cc12b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0bc8b5e030 CR3: 0000000037344000 CR4: 0000000000350ee0 Call Trace: __unwind_start+0x51b/0x800 arch/x86/kernel/unwind_orc.c:712 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x5c/0xe0 arch/x86/kernel/stacktrace.c:24 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: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:0x7fe3cebb5ae9 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:00007fe3cc12b188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000001000 RBX: 00007fe3cecc8f60 RCX: 00007fe3cebb5ae9 RDX: 0000000000000000 RSI: 000000000000688c RDI: 0000000000000003 RBP: 00007fe3cec0ff6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9589c8ff R14: 00007fe3cc12b300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 4d 85 ff test %r15,%r15 3: 0f 84 cf 01 00 00 je 0x1d8 9: 49 81 ff 00 00 00 81 cmp $0xffffffff81000000,%r15 10: 0f 82 41 01 00 00 jb 0x157 16: 49 81 ff 3e 88 80 89 cmp $0xffffffff8980883e,%r15 1d: 0f 83 34 01 00 00 jae 0x157 23: 44 8b 1d 4e 11 22 0a mov 0xa22114e(%rip),%r11d # 0xa221178 * 2a: 4c 89 fe mov %r15,%rsi <-- trapping instruction 2d: 48 81 ee 00 00 00 81 sub $0xffffffff81000000,%rsi 34: 48 c1 ee 08 shr $0x8,%rsi 38: 41 8d 43 ff lea -0x1(%r11),%eax 3c: 39 c6 cmp %eax,%esi 3e: 0f .byte 0xf 3f: 83 .byte 0x83