Warning: Permanently added '10.128.0.168' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program syzkaller login: [ 51.465075][ T21] [ 51.467464][ T21] ============================================ [ 51.473603][ T21] WARNING: possible recursive locking detected [ 51.479740][ T21] 5.15.157-syzkaller #0 Not tainted [ 51.484939][ T21] -------------------------------------------- [ 51.491106][ T21] kworker/1:0/21 is trying to acquire lock: [ 51.496988][ T21] ffff888022aa0b68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.507351][ T21] [ 51.507351][ T21] but task is already holding lock: [ 51.514718][ T21] ffff888022aa0b68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.525078][ T21] [ 51.525078][ T21] other info that might help us debug this: [ 51.533143][ T21] Possible unsafe locking scenario: [ 51.533143][ T21] [ 51.540667][ T21] CPU0 [ 51.543936][ T21] ---- [ 51.547203][ T21] lock(&htab->buckets[i].lock); [ 51.552220][ T21] lock(&htab->buckets[i].lock); [ 51.557252][ T21] [ 51.557252][ T21] *** DEADLOCK *** [ 51.557252][ T21] [ 51.565419][ T21] May be due to missing lock nesting notation [ 51.565419][ T21] [ 51.573738][ T21] 6 locks held by kworker/1:0/21: [ 51.578757][ T21] #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 51.589108][ T21] #1: ffffc90000db7d20 ((work_completion)(&sdp->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 51.600151][ T21] #2: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.609473][ T21] #3: ffff888022aa0b68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.620253][ T21] #4: ffff88814802a290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 51.629896][ T21] #5: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.639199][ T21] [ 51.639199][ T21] stack backtrace: [ 51.645104][ T21] CPU: 1 PID: 21 Comm: kworker/1:0 Not tainted 5.15.157-syzkaller #0 [ 51.653162][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 51.663211][ T21] Workqueue: rcu_gp srcu_invoke_callbacks [ 51.668930][ T21] Call Trace: [ 51.672221][ T21] [ 51.675232][ T21] dump_stack_lvl+0x1e3/0x2d0 [ 51.679907][ T21] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 51.685537][ T21] ? panic+0x860/0x860 [ 51.689607][ T21] validate_chain+0x46d2/0x5930 [ 51.694476][ T21] ? arch_stack_walk+0x10d/0x140 [ 51.699415][ T21] ? reacquire_held_locks+0x660/0x660 [ 51.704782][ T21] ? check_noncircular+0x1e1/0x3b0 [ 51.709892][ T21] ? lockdep_unlock+0x166/0x300 [ 51.714739][ T21] ? lockdep_lock+0x2a0/0x2a0 [ 51.719412][ T21] ? add_chain_block+0x850/0x850 [ 51.724346][ T21] ? reacquire_held_locks+0x660/0x660 [ 51.729714][ T21] ? mark_lock+0x98/0x340 [ 51.734059][ T21] __lock_acquire+0x1295/0x1ff0 [ 51.738937][ T21] lock_acquire+0x1db/0x4f0 [ 51.743437][ T21] ? sock_hash_delete_elem+0x177/0x400 [ 51.748896][ T21] ? read_lock_is_recursive+0x10/0x10 [ 51.754264][ T21] ? sock_hash_delete_elem+0x177/0x400 [ 51.759731][ T21] ? __bpf_trace_softirq+0x10/0x10 [ 51.764852][ T21] ? sock_hash_delete_elem+0x177/0x400 [ 51.770309][ T21] _raw_spin_lock_bh+0x31/0x40 [ 51.775072][ T21] ? sock_hash_delete_elem+0x177/0x400 [ 51.780530][ T21] sock_hash_delete_elem+0x177/0x400 [ 51.785834][ T21] ? sock_hash_lookup+0x660/0x660 [ 51.790859][ T21] bpf_prog_2c29ac5cdc6b1842+0x3a/0x78 [ 51.796311][ T21] bpf_trace_run2+0x19e/0x340 [ 51.800983][ T21] ? bpf_trace_run1+0x2f0/0x2f0 [ 51.805826][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 51.810676][ T21] ? do_raw_spin_lock+0x14a/0x370 [ 51.815708][ T21] ? __bpf_trace_softirq+0x10/0x10 [ 51.820812][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 51.825659][ T21] __bpf_trace_kfree+0x6e/0x90 [ 51.830424][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 51.835271][ T21] kfree+0x22f/0x270 [ 51.839162][ T21] ? sock_map_unref+0xcc/0x5d0 [ 51.843923][ T21] sock_map_unref+0x3ac/0x5d0 [ 51.848599][ T21] sock_hash_delete_elem+0x388/0x400 [ 51.853923][ T21] ? sock_hash_lookup+0x660/0x660 [ 51.858957][ T21] ? mark_lock+0x98/0x340 [ 51.863291][ T21] bpf_prog_2c29ac5cdc6b1842+0x3a/0x78 [ 51.868745][ T21] bpf_trace_run2+0x19e/0x340 [ 51.873429][ T21] ? print_irqtrace_events+0x210/0x210 [ 51.878888][ T21] ? bpf_trace_run1+0x2f0/0x2f0 [ 51.883733][ T21] ? srcu_invoke_callbacks+0x1b9/0x400 [ 51.889186][ T21] ? __local_bh_disable_ip+0x175/0x210 [ 51.894656][ T21] ? _raw_spin_unlock_irqrestore+0x8b/0x130 [ 51.900545][ T21] ? srcu_invoke_callbacks+0x1b9/0x400 [ 51.905998][ T21] __bpf_trace_kfree+0x6e/0x90 [ 51.910777][ T21] ? srcu_invoke_callbacks+0x1b9/0x400 [ 51.916245][ T21] kfree+0x22f/0x270 [ 51.920142][ T21] srcu_invoke_callbacks+0x1b9/0x400 [ 51.925418][ T21] ? read_lock_is_recursive+0x10/0x10 [ 51.930788][ T21] ? try_check_zero+0x360/0x360 [ 51.935630][ T21] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 51.941540][ T21] ? do_raw_spin_unlock+0x137/0x8b0 [ 51.946734][ T21] process_one_work+0x8a1/0x10c0 [ 51.951675][ T21] ? worker_detach_from_pool+0x260/0x260 [ 51.957308][ T21] ? _raw_spin_lock_irqsave+0x120/0x120 [ 51.962848][ T21] ? kthread_data+0x4e/0xc0 [ 51.967343][ T21] ? wq_worker_running+0x97/0x170 [ 51.972372][ T21] worker_thread+0xaca/0x1280 [ 51.977055][ T21] kthread+0x3f6/0x4f0 [ 51.981119][ T21] ? rcu_lock_release+0x20/0x20 [ 51.985967][ T21] ? kthread_blkcg+0xd0/0xd0 [ 51.990552][ T21] ret_from_fork+0x1f/0x30 [ 51.994980][ T21]