Warning: Permanently added '10.128.0.194' (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 syzkaller login: [ 54.586592][ T3505] [ 54.589356][ T3505] ============================================ [ 54.595734][ T3505] WARNING: possible recursive locking detected [ 54.602267][ T3505] 5.15.158-syzkaller #0 Not tainted [ 54.608893][ T3505] -------------------------------------------- [ 54.615525][ T3505] kworker/0:4/3505 is trying to acquire lock: [ 54.623593][ T3505] ffff88801b0e7368 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 54.635692][ T3505] [ 54.635692][ T3505] but task is already holding lock: [ 54.643591][ T3505] ffff88801b0e7368 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 54.654869][ T3505] [ 54.654869][ T3505] other info that might help us debug this: [ 54.663676][ T3505] Possible unsafe locking scenario: [ 54.663676][ T3505] [ 54.673474][ T3505] CPU0 [ 54.677579][ T3505] ---- [ 54.681825][ T3505] lock(&htab->buckets[i].lock); [ 54.687364][ T3505] lock(&htab->buckets[i].lock); [ 54.692946][ T3505] [ 54.692946][ T3505] *** DEADLOCK *** [ 54.692946][ T3505] [ 54.701988][ T3505] May be due to missing lock nesting notation [ 54.701988][ T3505] [ 54.711690][ T3505] 6 locks held by kworker/0:4/3505: [ 54.718196][ T3505] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 54.733057][ T3505] #1: ffffc900020e7d20 ((work_completion)(&aux->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 54.745949][ T3505] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 54.758961][ T3505] #3: ffff88801b0e7368 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 54.772895][ T3505] #4: ffff888146732290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 54.784582][ T3505] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 54.796498][ T3505] [ 54.796498][ T3505] stack backtrace: [ 54.803465][ T3505] CPU: 0 PID: 3505 Comm: kworker/0:4 Not tainted 5.15.158-syzkaller #0 [ 54.813377][ T3505] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 54.824897][ T3505] Workqueue: events bpf_prog_free_deferred [ 54.831693][ T3505] Call Trace: [ 54.835258][ T3505] [ 54.838472][ T3505] dump_stack_lvl+0x1e3/0x2d0 [ 54.843617][ T3505] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 54.850642][ T3505] ? panic+0x860/0x860 [ 54.855314][ T3505] validate_chain+0x46d2/0x5930 [ 54.860851][ T3505] ? arch_stack_walk+0x10d/0x140 [ 54.866079][ T3505] ? reacquire_held_locks+0x660/0x660 [ 54.871936][ T3505] ? check_noncircular+0x1e1/0x3b0 [ 54.877116][ T3505] ? lockdep_unlock+0x166/0x300 [ 54.882157][ T3505] ? lockdep_lock+0x2a0/0x2a0 [ 54.887176][ T3505] ? add_chain_block+0x850/0x850 [ 54.892751][ T3505] ? reacquire_held_locks+0x660/0x660 [ 54.899592][ T3505] ? mark_lock+0x98/0x340 [ 54.903941][ T3505] __lock_acquire+0x1295/0x1ff0 [ 54.909540][ T3505] lock_acquire+0x1db/0x4f0 [ 54.914312][ T3505] ? sock_hash_delete_elem+0x177/0x400 [ 54.920751][ T3505] ? read_lock_is_recursive+0x10/0x10 [ 54.927389][ T3505] ? sock_hash_delete_elem+0x177/0x400 [ 54.933590][ T3505] ? __bpf_trace_softirq+0x10/0x10 [ 54.939613][ T3505] ? sock_hash_delete_elem+0x177/0x400 [ 54.946448][ T3505] _raw_spin_lock_bh+0x31/0x40 [ 54.952597][ T3505] ? sock_hash_delete_elem+0x177/0x400 [ 54.959259][ T3505] sock_hash_delete_elem+0x177/0x400 [ 54.964977][ T3505] ? sock_hash_lookup+0x660/0x660 [ 54.972297][ T3505] bpf_prog_2c29ac5cdc6b1842+0x3a/0xe30 [ 54.978858][ T3505] bpf_trace_run2+0x19e/0x340 [ 54.984261][ T3505] ? bpf_trace_run1+0x2f0/0x2f0 [ 54.989574][ T3505] ? lock_acquire+0x252/0x4f0 [ 54.995413][ T3505] ? sock_map_unref+0x3ac/0x5d0 [ 55.000893][ T3505] ? do_raw_spin_lock+0x14a/0x370 [ 55.006995][ T3505] ? __bpf_trace_softirq+0x10/0x10 [ 55.012986][ T3505] ? sock_map_unref+0x3ac/0x5d0 [ 55.018393][ T3505] __bpf_trace_kfree+0x6e/0x90 [ 55.024215][ T3505] ? sock_map_unref+0x3ac/0x5d0 [ 55.029865][ T3505] kfree+0x22f/0x270 [ 55.034123][ T3505] ? sock_map_unref+0xcc/0x5d0 [ 55.039024][ T3505] sock_map_unref+0x3ac/0x5d0 [ 55.044279][ T3505] sock_hash_delete_elem+0x388/0x400 [ 55.050689][ T3505] ? asm_sysvec_call_function_single+0x16/0x20 [ 55.057789][ T3505] ? sock_hash_lookup+0x660/0x660 [ 55.063553][ T3505] ? bpf_trace_run2+0xe7/0x340 [ 55.068862][ T3505] bpf_prog_2c29ac5cdc6b1842+0x3a/0xe30 [ 55.074970][ T3505] bpf_trace_run2+0x19e/0x340 [ 55.079871][ T3505] ? asm_exc_int3+0x35/0x40 [ 55.084702][ T3505] ? bpf_trace_run1+0x2f0/0x2f0 [ 55.090024][ T3505] ? __vunmap+0x977/0xa20 [ 55.095376][ T3505] ? __vunmap+0x977/0xa20 [ 55.100175][ T3505] __bpf_trace_kfree+0x6e/0x90 [ 55.105918][ T3505] ? __vunmap+0x977/0xa20 [ 55.110579][ T3505] kfree+0x22f/0x270 [ 55.115385][ T3505] ? _vm_unmap_aliases+0x481/0x4e0 [ 55.121484][ T3505] __vunmap+0x977/0xa20 [ 55.127207][ T3505] bpf_jit_free+0x92/0x180 [ 55.133091][ T3505] process_one_work+0x8a1/0x10c0 [ 55.139557][ T3505] ? worker_detach_from_pool+0x260/0x260 [ 55.145660][ T3505] ? _raw_spin_lock_irqsave+0x120/0x120 [ 55.152084][ T3505] ? kthread_data+0x4e/0xc0 [ 55.157614][ T3505] ? wq_worker_running+0x97/0x170 [ 55.164184][ T3505] worker_thread+0xaca/0x1280 [ 55.169785][ T3505] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 55.177202][ T3505] kthread+0x3f6/0x4f0 [ 55.181604][ T3505] ? rcu_lock_release+0x20/0x20 [ 55.186748][ T3505] ? kthread_blkcg+0xd0/0xd0 [ 55.193219][ T3505] ret_from_fork+0x1f/0x30 [ 55.198804][ T3505]