Warning: Permanently added '10.128.0.100' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 49.303181][ T21] [ 49.305556][ T21] ============================================ [ 49.311693][ T21] WARNING: possible recursive locking detected [ 49.317826][ T21] 5.15.157-syzkaller #0 Not tainted [ 49.323008][ T21] -------------------------------------------- [ 49.329146][ T21] kworker/1:0/21 is trying to acquire lock: [ 49.335023][ T21] ffff888075a70468 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 49.345383][ T21] [ 49.345383][ T21] but task is already holding lock: [ 49.353214][ T21] ffff888075a70468 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 49.363583][ T21] [ 49.363583][ T21] other info that might help us debug this: [ 49.371636][ T21] Possible unsafe locking scenario: [ 49.371636][ T21] [ 49.379079][ T21] CPU0 [ 49.382380][ T21] ---- [ 49.385646][ T21] lock(&htab->buckets[i].lock); [ 49.390662][ T21] lock(&htab->buckets[i].lock); [ 49.395674][ T21] [ 49.395674][ T21] *** DEADLOCK *** [ 49.395674][ T21] [ 49.403827][ T21] May be due to missing lock nesting notation [ 49.403827][ T21] [ 49.412147][ T21] 6 locks held by kworker/1:0/21: [ 49.417166][ T21] #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 49.427529][ T21] #1: ffffc90000db7d20 ((work_completion)(&sdp->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 49.438694][ T21] #2: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 49.447994][ T21] #3: ffff888075a70468 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 49.458799][ T21] #4: ffff888078da0290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 49.468445][ T21] #5: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 49.477756][ T21] [ 49.477756][ T21] stack backtrace: [ 49.483637][ T21] CPU: 1 PID: 21 Comm: kworker/1:0 Not tainted 5.15.157-syzkaller #0 [ 49.491703][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 49.501756][ T21] Workqueue: rcu_gp srcu_invoke_callbacks [ 49.507477][ T21] Call Trace: [ 49.510755][ T21] [ 49.513677][ T21] dump_stack_lvl+0x1e3/0x2d0 [ 49.518351][ T21] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 49.523974][ T21] ? panic+0x860/0x860 [ 49.528075][ T21] validate_chain+0x46d2/0x5930 [ 49.532924][ T21] ? arch_stack_walk+0x10d/0x140 [ 49.537854][ T21] ? reacquire_held_locks+0x660/0x660 [ 49.543238][ T21] ? check_noncircular+0x1e1/0x3b0 [ 49.548354][ T21] ? lockdep_unlock+0x166/0x300 [ 49.553199][ T21] ? lockdep_lock+0x2a0/0x2a0 [ 49.557874][ T21] ? add_chain_block+0x850/0x850 [ 49.562808][ T21] ? reacquire_held_locks+0x660/0x660 [ 49.568181][ T21] ? mark_lock+0x98/0x340 [ 49.572535][ T21] __lock_acquire+0x1295/0x1ff0 [ 49.577399][ T21] lock_acquire+0x1db/0x4f0 [ 49.581891][ T21] ? sock_hash_delete_elem+0x177/0x400 [ 49.587470][ T21] ? read_lock_is_recursive+0x10/0x10 [ 49.592841][ T21] ? sock_hash_delete_elem+0x177/0x400 [ 49.598291][ T21] ? __bpf_trace_softirq+0x10/0x10 [ 49.603418][ T21] ? sock_hash_delete_elem+0x177/0x400 [ 49.608869][ T21] _raw_spin_lock_bh+0x31/0x40 [ 49.613727][ T21] ? sock_hash_delete_elem+0x177/0x400 [ 49.619240][ T21] sock_hash_delete_elem+0x177/0x400 [ 49.624550][ T21] ? sock_hash_lookup+0x660/0x660 [ 49.629608][ T21] bpf_prog_2c29ac5cdc6b1842+0x3a/0x7e0 [ 49.635236][ T21] bpf_trace_run2+0x19e/0x340 [ 49.639930][ T21] ? bpf_trace_run1+0x2f0/0x2f0 [ 49.644775][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 49.649628][ T21] ? do_raw_spin_lock+0x14a/0x370 [ 49.654643][ T21] ? __bpf_trace_softirq+0x10/0x10 [ 49.659743][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 49.664590][ T21] __bpf_trace_kfree+0x6e/0x90 [ 49.669346][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 49.674185][ T21] kfree+0x22f/0x270 [ 49.678073][ T21] ? sock_map_unref+0xcc/0x5d0 [ 49.682840][ T21] sock_map_unref+0x3ac/0x5d0 [ 49.687522][ T21] sock_hash_delete_elem+0x388/0x400 [ 49.692804][ T21] ? asm_sysvec_call_function_single+0x16/0x20 [ 49.698960][ T21] ? sock_hash_lookup+0x660/0x660 [ 49.704023][ T21] ? srcu_invoke_callbacks+0x1b9/0x400 [ 49.709563][ T21] bpf_prog_2c29ac5cdc6b1842+0x3a/0x7e0 [ 49.715100][ T21] bpf_trace_run2+0x19e/0x340 [ 49.719781][ T21] ? print_irqtrace_events+0x210/0x210 [ 49.725234][ T21] ? bpf_trace_run1+0x2f0/0x2f0 [ 49.730073][ T21] ? srcu_invoke_callbacks+0x1b9/0x400 [ 49.735547][ T21] ? __local_bh_disable_ip+0x175/0x210 [ 49.741002][ T21] ? _raw_spin_unlock_irqrestore+0x8b/0x130 [ 49.746915][ T21] ? srcu_invoke_callbacks+0x1b9/0x400 [ 49.752499][ T21] __bpf_trace_kfree+0x6e/0x90 [ 49.757264][ T21] ? srcu_invoke_callbacks+0x1b9/0x400 [ 49.762718][ T21] kfree+0x22f/0x270 [ 49.766618][ T21] srcu_invoke_callbacks+0x1b9/0x400 [ 49.771898][ T21] ? read_lock_is_recursive+0x10/0x10 [ 49.777269][ T21] ? try_check_zero+0x360/0x360 [ 49.782114][ T21] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 49.788003][ T21] ? do_raw_spin_unlock+0x137/0x8b0 [ 49.793203][ T21] process_one_work+0x8a1/0x10c0 [ 49.798140][ T21] ? worker_detach_from_pool+0x260/0x260 [ 49.803847][ T21] ? _raw_spin_lock_irqsave+0x120/0x120 [ 49.810880][ T21] ? kthread_data+0x4e/0xc0 [ 49.815402][ T21] ? wq_worker_running+0x97/0x170 [ 49.820521][ T21] worker_thread+0xaca/0x1280 [ 49.825221][ T21] kthread+0x3f6/0x4f0 [ 49.829348][ T21] ? rcu_lock_release+0x20/0x20 [ 49.834567][ T21] ? kthread_blkcg+0xd0/0xd0 [ 49.839153][ T21] ret_from_fork+0x1f/0x30 [ 49.843566][ T21]