INFO: task syz-executor.2:32263 blocked for more than 143 seconds.
Not tainted 5.16.0-rc4-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27256 pid:32263 ppid: 6595 flags:0x00004000
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_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9777
io_uring_clean_tctx fs/io_uring.c:9793 [inline]
io_uring_cancel_generic+0x5d5/0x690 fs/io_uring.c:9882
io_uring_files_cancel include/linux/io_uring.h:16 [inline]
do_exit+0x60c/0x2b40 kernel/exit.c:787
do_group_exit+0x125/0x310 kernel/exit.c:929
get_signal+0x47d/0x2220 kernel/signal.c:2852
arch_do_signal_or_restart+0x2a9/0x1c40 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+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:0x7f6b95b4caf9
RSP: 002b:00007f6b94aa1218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007f6b95c60030 RCX: 00007f6b95b4caf9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6b95c60030
RBP: 00007f6b95c60028 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6b95c60034
R13: 00007f6b96193b2f R14: 00007f6b94aa1300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8bb83d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6222:
#0: ffff88807296c370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:994
2 locks held by syz-executor.2/32259:
1 lock held by syz-executor.2/32263:
#0: ffff88802ab560a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9777
2 locks held by syz-executor.2/32274:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc4-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:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 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: 32274 Comm: syz-executor.2 Not tainted 5.16.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:lockdep_recursion_finish kernel/locking/lockdep.c:438 [inline]
RIP: 0010:lock_is_held_type+0xe4/0x140 kernel/locking/lockdep.c:5681
Code: f6 47 22 03 0f 95 c0 45 31 ed 44 39 f0 41 0f 94 c5 48 c7 c7 60 0f ac 89 e8 a9 0d 00 00 b8 ff ff ff ff 65 0f c1 05 1c 4b be 76 <83> f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01
RSP: 0018:ffffc9000e397878 EFLAGS: 00000057
RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8bb83c60 R08: 0000000000000000 R09: ffffffff8d912e57
R10: fffffbfff1b225ca R11: 0000000000000000 R12: ffff88802a6bba00
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff88802a6bc488
FS: 00007f6b94a80700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d414b3000 CR3: 000000002d0d4000 CR4: 00000000003506e0
Call Trace:
lock_is_held include/linux/lockdep.h:283 [inline]
rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
trace_lock_release include/trace/events/lock.h:58 [inline]
lock_release+0x522/0x720 kernel/locking/lockdep.c:5648
might_alloc include/linux/sched/mm.h:228 [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+0x42/0x2c0 mm/slub.c:3259
kmalloc include/linux/slab.h:590 [inline]
io_add_buffers fs/io_uring.c:4445 [inline]
io_provide_buffers fs/io_uring.c:4479 [inline]
io_issue_sqe+0x2887/0x7060 fs/io_uring.c:6748
__io_queue_sqe fs/io_uring.c:7018 [inline]
io_queue_sqe fs/io_uring.c:7060 [inline]
io_submit_sqe fs/io_uring.c:7263 [inline]
io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7369
__do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10070
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f6b95b4caf9
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:00007f6b94a80188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: ffffffffffffffda RBX: 00007f6b95c600f0 RCX: 00007f6b95b4caf9
RDX: 0000000000000000 RSI: 0000000000000302 RDI: 0000000000000005
RBP: 00007f6b95ba6ff7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f6b96193b2f R14: 00007f6b94a80300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: f6 47 22 03 testb $0x3,0x22(%rdi)
4: 0f 95 c0 setne %al
7: 45 31 ed xor %r13d,%r13d
a: 44 39 f0 cmp %r14d,%eax
d: 41 0f 94 c5 sete %r13b
11: 48 c7 c7 60 0f ac 89 mov $0xffffffff89ac0f60,%rdi
18: e8 a9 0d 00 00 callq 0xdc6
1d: b8 ff ff ff ff mov $0xffffffff,%eax
22: 65 0f c1 05 1c 4b be xadd %eax,%gs:0x76be4b1c(%rip) # 0x76be4b46
29: 76
* 2a: 83 f8 01 cmp $0x1,%eax <-- trapping instruction
2d: 75 29 jne 0x58
2f: 9c pushfq
30: 58 pop %rax
31: f6 c4 02 test $0x2,%ah
34: 75 3d jne 0x73
36: 48 f7 04 24 00 02 00 testq $0x200,(%rsp)
3d: 00
3e: 74 01 je 0x41