INFO: task syz-executor.4:30674 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:27248 pid:30674 ppid: 6584 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:680
__mutex_lock kernel/locking/mutex.c:740 [inline]
mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:792
io_uring_del_tctx_node+0xe4/0x2a9 fs/io_uring.c:9746
io_uring_clean_tctx+0x192/0x1d5 fs/io_uring.c:9762
io_uring_cancel_generic+0x624/0x661 fs/io_uring.c:9851
io_uring_files_cancel include/linux/io_uring.h:16 [inline]
do_exit+0x281/0x24f0 kernel/exit.c:787
do_group_exit+0x168/0x2d0 kernel/exit.c:929
get_signal+0x1740/0x2120 kernel/signal.c:2852
arch_do_signal_or_restart+0x9c/0x730 arch/x86/kernel/signal.c:868
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+0x191/0x220 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:300
do_syscall_64+0x53/0xd0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe35d769ae9
RSP: 002b:00007fe35ac9d218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fe35d87d0e8 RCX: 00007fe35d769ae9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe35d87d0e8
RBP: 00007fe35d87d0e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe35d87d0ec
R13: 00007fff68b5a49f R14: 00007fe35ac9d300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1dd40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by in:imklog/6214:
#0: ffff8880227d8870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x2f0 fs/file.c:990
1 lock held by syz-executor.4/30646:
1 lock held by syz-executor.4/30674:
#0: ffff888038c390a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0xe4/0x2a9 fs/io_uring.c:9746
1 lock held by syz-executor.4/30675:
=============================================
NMI backtrace for cpu 1
CPU: 1 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+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 30675 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:unwind_next_frame+0xa72/0x1fc0 arch/x86/kernel/unwind_orc.c:539
Code: ef e8 f2 9b 95 00 48 89 5d 00 48 8b 44 24 48 42 80 3c 30 00 48 8b 5c 24 50 74 08 48 89 df e8 d5 9b 95 00 48 8b 04 24 48 89 03 <48> 8b 44 24 70 42 8a 04 30 84 c0 48 8b 5c 24 78 48 8b 6c 24 20 0f
RSP: 0018:ffffc90005f06d20 EFLAGS: 00000246
RAX: ffffc90005f07f20 RBX: ffffc90005f06e18 RCX: 1ffff92000be0dbc
RDX: ffffc90005f07f20 RSI: 0000000000000000 RDI: ffffc90005f07f18
RBP: ffffc90005f06e28 R08: 0000000000000001 R09: ffffc90005f06ed0
R10: fffff52000be0dc8 R11: 0000000000000000 R12: 1ffffffff1d07270
R13: ffffc90005f06de0 R14: dffffc0000000000 R15: ffffffff8e839384
FS: 00007fe35ac7c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f958c748000 CR3: 0000000087f61000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x112/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc+0xdc/0x110 mm/kasan/common.c:513
kasan_kmalloc include/linux/kasan.h:269 [inline]
kmem_cache_alloc_trace+0x9d/0x330 mm/slub.c:3261
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+0x328e/0x9830 fs/io_uring.c:6705
__io_queue_sqe+0x2d/0x780 fs/io_uring.c:6974
io_queue_sqe fs/io_uring.c:7016 [inline]
io_submit_sqe fs/io_uring.c:7219 [inline]
io_submit_sqes+0xffc/0xa7c0 fs/io_uring.c:7325
__do_sys_io_uring_enter fs/io_uring.c:10039 [inline]
__se_sys_io_uring_enter+0x21f/0x1cb0 fs/io_uring.c:9981
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe35d769ae9
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:00007fe35ac7c188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 00007fe35d87d1a0 RCX: 00007fe35d769ae9
RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000003
RBP: 00007fe35d7c3f6d R08: 0000000000000000 R09: 0000000000001800
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff68b5a49f R14: 00007fe35ac7c300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: ef out %eax,(%dx)
1: e8 f2 9b 95 00 callq 0x959bf8
6: 48 89 5d 00 mov %rbx,0x0(%rbp)
a: 48 8b 44 24 48 mov 0x48(%rsp),%rax
f: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1)
14: 48 8b 5c 24 50 mov 0x50(%rsp),%rbx
19: 74 08 je 0x23
1b: 48 89 df mov %rbx,%rdi
1e: e8 d5 9b 95 00 callq 0x959bf8
23: 48 8b 04 24 mov (%rsp),%rax
27: 48 89 03 mov %rax,(%rbx)
* 2a: 48 8b 44 24 70 mov 0x70(%rsp),%rax <-- trapping instruction
2f: 42 8a 04 30 mov (%rax,%r14,1),%al
33: 84 c0 test %al,%al
35: 48 8b 5c 24 78 mov 0x78(%rsp),%rbx
3a: 48 8b 6c 24 20 mov 0x20(%rsp),%rbp
3f: 0f .byte 0xf