Warning: Permanently added '10.128.1.186' (ED25519) to the list of known hosts. executing program executing program executing program [ 43.419940][ C0] [ 43.422290][ C0] ============================================ [ 43.428417][ C0] WARNING: possible recursive locking detected [ 43.434544][ C0] 5.15.157-syzkaller #0 Not tainted [ 43.439718][ C0] -------------------------------------------- [ 43.445838][ C0] swapper/0/0 is trying to acquire lock: [ 43.451440][ C0] ffff888024606868 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 43.461781][ C0] [ 43.461781][ C0] but task is already holding lock: [ 43.469116][ C0] ffff888024606868 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 43.479454][ C0] [ 43.479454][ C0] other info that might help us debug this: [ 43.487499][ C0] Possible unsafe locking scenario: [ 43.487499][ C0] [ 43.494923][ C0] CPU0 [ 43.498177][ C0] ---- [ 43.501433][ C0] lock(&htab->buckets[i].lock); [ 43.506433][ C0] lock(&htab->buckets[i].lock); [ 43.511431][ C0] [ 43.511431][ C0] *** DEADLOCK *** [ 43.511431][ C0] [ 43.519550][ C0] May be due to missing lock nesting notation [ 43.519550][ C0] [ 43.527842][ C0] 5 locks held by swapper/0/0: [ 43.532579][ C0] #0: ffffffff8c91fbe0 (rcu_callback){....}-{0:0}, at: rcu_lock_acquire+0x0/0x20 [ 43.541780][ C0] #1: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 43.551059][ C0] #2: ffff888024606868 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 43.561820][ C0] #3: ffff8880792e9290 (&psock->link_lock){+.-.}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 43.571446][ C0] #4: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 43.580727][ C0] [ 43.580727][ C0] stack backtrace: [ 43.586612][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.157-syzkaller #0 [ 43.594389][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 43.604422][ C0] Call Trace: [ 43.607680][ C0] [ 43.610507][ C0] dump_stack_lvl+0x1e3/0x2d0 [ 43.615255][ C0] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 43.620873][ C0] ? panic+0x860/0x860 [ 43.624938][ C0] validate_chain+0x46d2/0x5930 [ 43.629777][ C0] ? start_kernel+0x48c/0x540 [ 43.634434][ C0] ? reacquire_held_locks+0x660/0x660 [ 43.639784][ C0] ? check_noncircular+0x1e1/0x3b0 [ 43.644877][ C0] ? lockdep_unlock+0x166/0x300 [ 43.649705][ C0] ? lockdep_lock+0x2a0/0x2a0 [ 43.654359][ C0] ? reacquire_held_locks+0x660/0x660 [ 43.659712][ C0] ? mark_lock+0x98/0x340 [ 43.664021][ C0] __lock_acquire+0x1295/0x1ff0 [ 43.668855][ C0] lock_acquire+0x1db/0x4f0 [ 43.673334][ C0] ? sock_hash_delete_elem+0x177/0x400 [ 43.678772][ C0] ? read_lock_is_recursive+0x10/0x10 [ 43.684122][ C0] ? sock_hash_delete_elem+0x177/0x400 [ 43.689562][ C0] ? __bpf_trace_softirq+0x10/0x10 [ 43.694653][ C0] ? sock_hash_delete_elem+0x177/0x400 [ 43.700091][ C0] _raw_spin_lock_bh+0x31/0x40 [ 43.704835][ C0] ? sock_hash_delete_elem+0x177/0x400 [ 43.710271][ C0] sock_hash_delete_elem+0x177/0x400 [ 43.715537][ C0] ? sock_hash_lookup+0x660/0x660 [ 43.720551][ C0] bpf_prog_2c29ac5cdc6b1842+0x3a/0xd60 [ 43.726090][ C0] bpf_trace_run2+0x19e/0x340 [ 43.730748][ C0] ? bpf_trace_run1+0x2f0/0x2f0 [ 43.735575][ C0] ? sock_map_unref+0x3ac/0x5d0 [ 43.740403][ C0] ? do_raw_spin_lock+0x14a/0x370 [ 43.745405][ C0] ? __bpf_trace_softirq+0x10/0x10 [ 43.750578][ C0] ? sock_map_unref+0x3ac/0x5d0 [ 43.755407][ C0] __bpf_trace_kfree+0x6e/0x90 [ 43.760151][ C0] ? sock_map_unref+0x3ac/0x5d0 [ 43.764981][ C0] kfree+0x22f/0x270 [ 43.768857][ C0] ? sock_map_unref+0xcc/0x5d0 [ 43.773607][ C0] sock_map_unref+0x3ac/0x5d0 [ 43.778280][ C0] sock_hash_delete_elem+0x388/0x400 [ 43.783545][ C0] ? mark_lock+0x98/0x340 [ 43.787853][ C0] ? sock_hash_lookup+0x660/0x660 [ 43.792857][ C0] ? __lock_acquire+0x1295/0x1ff0 [ 43.797861][ C0] bpf_prog_2c29ac5cdc6b1842+0x3a/0xd60 [ 43.803383][ C0] bpf_trace_run2+0x19e/0x340 [ 43.808039][ C0] ? bpf_trace_run1+0x2f0/0x2f0 [ 43.812869][ C0] ? security_cred_free+0xb2/0xf0 [ 43.817877][ C0] ? security_cred_free+0xb2/0xf0 [ 43.822880][ C0] __bpf_trace_kfree+0x6e/0x90 [ 43.827623][ C0] ? security_cred_free+0xb2/0xf0 [ 43.832628][ C0] kfree+0x22f/0x270 [ 43.836506][ C0] security_cred_free+0xb2/0xf0 [ 43.841340][ C0] put_cred_rcu+0xd9/0x410 [ 43.845736][ C0] ? read_cred_subscribers+0x50/0x50 [ 43.851003][ C0] rcu_core+0xa15/0x1650 [ 43.855231][ C0] ? local_bh_disable+0x20/0x20 [ 43.860062][ C0] ? memset+0x1f/0x40 [ 43.864037][ C0] ? __run_timers+0x814/0x890 [ 43.868694][ C0] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 43.874650][ C0] ? detach_timer+0x2f0/0x2f0 [ 43.879309][ C0] __do_softirq+0x3b3/0x93a [ 43.883795][ C0] ? __irq_exit_rcu+0x155/0x240 [ 43.888625][ C0] ? __entry_text_end+0x1fe9f7/0x1fe9f7 [ 43.894152][ C0] ? hrtimer_interrupt+0x76b/0x980 [ 43.899240][ C0] ? irqtime_account_irq+0xd0/0x1e0 [ 43.904419][ C0] __irq_exit_rcu+0x155/0x240 [ 43.909075][ C0] ? irq_exit_rcu+0x20/0x20 [ 43.913565][ C0] irq_exit_rcu+0x5/0x20 [ 43.917785][ C0] sysvec_apic_timer_interrupt+0x91/0xb0 [ 43.923400][ C0] [ 43.926308][ C0] [ 43.929217][ C0] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 43.935176][ C0] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 [ 43.940977][ C0] Code: 1d 59 f7 48 83 e3 08 0f 85 0a 01 00 00 4c 8d 74 24 20 e8 44 99 5f f7 0f 1f 44 00 00 e8 3a 19 59 f7 0f 00 2d b3 d8 bb 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 ab f1 a2 f7 [ 43.960575][ C0] RSP: 0018:ffffffff8c607b80 EFLAGS: 000002d3 [ 43.966622][ C0] RAX: ffffffff8a2743a6 RBX: 0000000000000000 RCX: ffffffff8c6bd5c0 [ 43.974570][ C0] RDX: 0000000000000000 RSI: ffffffff8a8b2980 RDI: ffffffff8ad8f500 [ 43.982523][ C0] RBP: ffffffff8c607c10 R08: ffffffff8186dd10 R09: fffffbfff18d7ab9 [ 43.990473][ C0] R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff18c0f70 [ 43.998423][ C0] R13: ffff888018e0b804 R14: ffffffff8c607ba0 R15: dffffc0000000000 [ 44.006376][ C0] ? trace_hardirqs_on+0x30/0x80 [ 44.011293][ C0] ? acpi_idle_do_entry+0x106/0x340 [ 44.016475][ C0] ? acpi_idle_enter_bm+0x5c0/0x5c0 [ 44.021656][ C0] ? rcu_preempt_deferred_qs+0x6b/0x190 [ 44.027181][ C0] ? rcu_qs+0x190/0x190 [ 44.031316][ C0] acpi_idle_enter+0x352/0x4f0 [ 44.036064][ C0] cpuidle_enter_state+0x521/0xef0 [ 44.041158][ C0] ? cpuidle_enter_s2idle+0x6b0/0x6b0 [ 44.046507][ C0] ? menu_enable_device+0x380/0x380 [ 44.051687][ C0] cpuidle_enter+0x59/0x90 [ 44.056079][ C0] do_idle+0x3e4/0x670 [ 44.060128][ C0] ? idle_inject_timer_fn+0x60/0x60 [ 44.065326][ C0] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 44.071201][ C0] cpu_startup_entry+0x14/0x20 [ 44.075945][ C0] ? time_init+0x40/0x40 [ 44.080163][ C0] start_kernel+0x48c/0x540 [ 44.084646][ C0] secondary_startup_64_no_verify+0xb1/0xbb [ 44.090525][ C0]