Warning: Permanently added '10.128.1.55' (ED25519) to the list of known hosts. executing program [ 51.384447][ T3540] [ 51.387012][ T3540] ============================================ [ 51.393269][ T3540] WARNING: possible recursive locking detected [ 51.399599][ T3540] 6.1.83-syzkaller #0 Not tainted [ 51.404626][ T3540] -------------------------------------------- [ 51.410760][ T3540] syz-executor285/3540 is trying to acquire lock: [ 51.417423][ T3540] ffff888029235378 (&ctx->cq_wait){....}-{2:2}, at: __wake_up+0xfd/0x1c0 [ 51.426443][ T3540] [ 51.426443][ T3540] but task is already holding lock: [ 51.434084][ T3540] ffff888029235378 (&ctx->cq_wait){....}-{2:2}, at: __wake_up+0xfd/0x1c0 [ 51.442794][ T3540] [ 51.442794][ T3540] other info that might help us debug this: [ 51.451013][ T3540] Possible unsafe locking scenario: [ 51.451013][ T3540] [ 51.459318][ T3540] CPU0 [ 51.462584][ T3540] ---- [ 51.465938][ T3540] lock(&ctx->cq_wait); [ 51.470290][ T3540] lock(&ctx->cq_wait); [ 51.474573][ T3540] [ 51.474573][ T3540] *** DEADLOCK *** [ 51.474573][ T3540] [ 51.482893][ T3540] May be due to missing lock nesting notation [ 51.482893][ T3540] [ 51.491637][ T3540] 2 locks held by syz-executor285/3540: [ 51.497425][ T3540] #0: ffff8880292350a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __se_sys_io_uring_enter+0x336/0x2750 [ 51.508325][ T3540] #1: ffff888029235378 (&ctx->cq_wait){....}-{2:2}, at: __wake_up+0xfd/0x1c0 [ 51.517716][ T3540] [ 51.517716][ T3540] stack backtrace: [ 51.524045][ T3540] CPU: 1 PID: 3540 Comm: syz-executor285 Not tainted 6.1.83-syzkaller #0 [ 51.532893][ T3540] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 51.543231][ T3540] Call Trace: [ 51.546509][ T3540] [ 51.549434][ T3540] dump_stack_lvl+0x1e3/0x2cb [ 51.554124][ T3540] ? nf_tcp_handle_invalid+0x642/0x642 [ 51.559665][ T3540] ? panic+0x75d/0x75d [ 51.564341][ T3540] validate_chain+0x4711/0x5950 [ 51.569381][ T3540] ? deref_stack_reg+0x17c/0x210 [ 51.574613][ T3540] ? stack_trace_save+0x1c0/0x1c0 [ 51.580256][ T3540] ? kernel_text_address+0x9f/0xd0 [ 51.585373][ T3540] ? reacquire_held_locks+0x660/0x660 [ 51.590827][ T3540] ? unwind_get_return_address+0x49/0x80 [ 51.596452][ T3540] ? arch_stack_walk+0xf3/0x140 [ 51.601470][ T3540] ? stack_trace_save+0x113/0x1c0 [ 51.606584][ T3540] ? validate_chain+0x112/0x5950 [ 51.611588][ T3540] ? mark_lock+0x9a/0x340 [ 51.615937][ T3540] __lock_acquire+0x125b/0x1f80 [ 51.620894][ T3540] lock_acquire+0x1f8/0x5a0 [ 51.625661][ T3540] ? __wake_up+0xfd/0x1c0 [ 51.630072][ T3540] ? read_lock_is_recursive+0x10/0x10 [ 51.635713][ T3540] ? __lock_acquire+0x125b/0x1f80 [ 51.640907][ T3540] _raw_spin_lock_irqsave+0xd1/0x120 [ 51.646202][ T3540] ? __wake_up+0xfd/0x1c0 [ 51.650622][ T3540] ? _raw_spin_lock+0x40/0x40 [ 51.655430][ T3540] __wake_up+0xfd/0x1c0 [ 51.659623][ T3540] ? __wake_up_bit+0x2b0/0x2b0 [ 51.664852][ T3540] ? find_next_clump8+0x1a0/0x1a0 [ 51.670066][ T3540] ? percpu_ref_get_many+0x1f/0x1d0 [ 51.675537][ T3540] __io_req_task_work_add+0x3c7/0x5c0 [ 51.681795][ T3540] io_poll_wake+0x351/0x430 [ 51.686684][ T3540] __wake_up_common+0x2a0/0x4e0 [ 51.691551][ T3540] ? io_req_complete_post+0x6eb/0xa80 [ 51.697098][ T3540] __wake_up+0x11a/0x1c0 [ 51.701454][ T3540] ? __wake_up_bit+0x2b0/0x2b0 [ 51.706209][ T3540] ? do_raw_spin_unlock+0x137/0x8a0 [ 51.711766][ T3540] ? _raw_spin_unlock+0x24/0x40 [ 51.716656][ T3540] ? io_req_complete_post+0x74c/0xa80 [ 51.722285][ T3540] io_submit_sqes+0xf29/0x1e70 [ 51.727048][ T3540] ? ptrace_signal+0x7b0/0x7b0 [ 51.731984][ T3540] ? __se_sys_io_uring_enter+0x336/0x2750 [ 51.738048][ T3540] __se_sys_io_uring_enter+0x341/0x2750 [ 51.744119][ T3540] ? __x64_sys_io_uring_enter+0xf0/0xf0 [ 51.750014][ T3540] ? get_sigframe_size+0x10/0x10 [ 51.755056][ T3540] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 51.761322][ T3540] ? print_irqtrace_events+0x210/0x210 [ 51.766966][ T3540] ? syscall_enter_from_user_mode+0x2e/0x220 [ 51.773101][ T3540] ? lockdep_hardirqs_on+0x94/0x130 [ 51.778589][ T3540] ? __x64_sys_io_uring_enter+0x1d/0xf0 [ 51.784771][ T3540] do_syscall_64+0x3d/0xb0 [ 51.789375][ T3540] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.795545][ T3540] RIP: 0033:0x7f7acc82a529 [ 51.800391][ T3540] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 [ 51.822351][ T3540] RSP: 002b:00007ffc546b11c8 EFLAGS: 00000216 ORIG_RAX: 00000000000001aa [ 51.831603][ T3540] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7acc82a529 [ 51.840200][ T3540] RDX: 0000000000000000 RSI: 00000000000053f8 RDI: 0000000000000003 [ 51.848789][ T3540] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 51.856926][ T3540] R10: 0000000000000000 R11: 0000000000000216 R12: 0000000000000000 [ 51.865321][ T3540] R13: 00007ffc546b1448 R14: 0000000000000001 R15: 0000000000000001 [ 51.873385][ T3540]