Warning: Permanently added '10.128.15.195' (ED25519) to the list of known hosts. executing program executing program executing program executing program [ 43.252625][ T2924] [ 43.254977][ T2924] ============================================ [ 43.261138][ T2924] WARNING: possible recursive locking detected [ 43.267272][ T2924] 5.15.158-syzkaller #0 Not tainted [ 43.272453][ T2924] -------------------------------------------- [ 43.278577][ T2924] kworker/1:3/2924 is trying to acquire lock: [ 43.284620][ T2924] ffff888019728f68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 43.294963][ T2924] [ 43.294963][ T2924] but task is already holding lock: [ 43.302300][ T2924] ffff888019728f68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 43.312650][ T2924] [ 43.312650][ T2924] other info that might help us debug this: [ 43.320727][ T2924] Possible unsafe locking scenario: [ 43.320727][ T2924] [ 43.328164][ T2924] CPU0 [ 43.331426][ T2924] ---- [ 43.334685][ T2924] lock(&htab->buckets[i].lock); [ 43.339691][ T2924] lock(&htab->buckets[i].lock); [ 43.344695][ T2924] [ 43.344695][ T2924] *** DEADLOCK *** [ 43.344695][ T2924] [ 43.352814][ T2924] May be due to missing lock nesting notation [ 43.352814][ T2924] [ 43.361110][ T2924] 6 locks held by kworker/1:3/2924: [ 43.366290][ T2924] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 43.376796][ T2924] #1: ffffc9000c587d20 ((work_completion)(&aux->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 43.387821][ T2924] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 43.397118][ T2924] #3: ffff888019728f68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 43.407903][ T2924] #4: ffff88814b838290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 43.417556][ T2924] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 43.426842][ T2924] [ 43.426842][ T2924] stack backtrace: [ 43.432711][ T2924] CPU: 1 PID: 2924 Comm: kworker/1:3 Not tainted 5.15.158-syzkaller #0 [ 43.440938][ T2924] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 43.450985][ T2924] Workqueue: events bpf_prog_free_deferred [ 43.456779][ T2924] Call Trace: [ 43.460039][ T2924] [ 43.462955][ T2924] dump_stack_lvl+0x1e3/0x2d0 [ 43.467619][ T2924] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 43.473240][ T2924] ? panic+0x860/0x860 [ 43.477296][ T2924] validate_chain+0x46d2/0x5930 [ 43.482133][ T2924] ? arch_stack_walk+0x10d/0x140 [ 43.487058][ T2924] ? reacquire_held_locks+0x660/0x660 [ 43.492417][ T2924] ? check_noncircular+0x1e1/0x3b0 [ 43.497517][ T2924] ? lockdep_unlock+0x166/0x300 [ 43.502351][ T2924] ? lockdep_lock+0x2a0/0x2a0 [ 43.507014][ T2924] ? add_chain_block+0x850/0x850 [ 43.511934][ T2924] ? reacquire_held_locks+0x660/0x660 [ 43.517293][ T2924] ? mark_lock+0x98/0x340 [ 43.521608][ T2924] __lock_acquire+0x1295/0x1ff0 [ 43.526966][ T2924] lock_acquire+0x1db/0x4f0 [ 43.531451][ T2924] ? sock_hash_delete_elem+0x177/0x400 [ 43.536895][ T2924] ? read_lock_is_recursive+0x10/0x10 [ 43.542248][ T2924] ? sock_hash_delete_elem+0x177/0x400 [ 43.547689][ T2924] ? __bpf_trace_softirq+0x10/0x10 [ 43.552786][ T2924] ? sock_hash_delete_elem+0x177/0x400 [ 43.558235][ T2924] _raw_spin_lock_bh+0x31/0x40 [ 43.562983][ T2924] ? sock_hash_delete_elem+0x177/0x400 [ 43.568425][ T2924] sock_hash_delete_elem+0x177/0x400 [ 43.573698][ T2924] ? sock_hash_lookup+0x660/0x660 [ 43.578708][ T2924] bpf_prog_2c29ac5cdc6b1842+0x3a/0x5bc [ 43.584236][ T2924] bpf_trace_run2+0x19e/0x340 [ 43.588911][ T2924] ? bpf_trace_run1+0x2f0/0x2f0 [ 43.593764][ T2924] ? lock_acquire+0x252/0x4f0 [ 43.598433][ T2924] ? sock_map_unref+0x3ac/0x5d0 [ 43.603276][ T2924] ? do_raw_spin_lock+0x14a/0x370 [ 43.608291][ T2924] ? __bpf_trace_softirq+0x10/0x10 [ 43.613389][ T2924] ? sock_map_unref+0x3ac/0x5d0 [ 43.618222][ T2924] __bpf_trace_kfree+0x6e/0x90 [ 43.622987][ T2924] ? sock_map_unref+0x3ac/0x5d0 [ 43.627847][ T2924] kfree+0x22f/0x270 [ 43.631743][ T2924] ? sock_map_unref+0xcc/0x5d0 [ 43.636496][ T2924] sock_map_unref+0x3ac/0x5d0 [ 43.641167][ T2924] sock_hash_delete_elem+0x388/0x400 [ 43.646440][ T2924] ? asm_sysvec_call_function_single+0x16/0x20 [ 43.652589][ T2924] ? sock_hash_lookup+0x660/0x660 [ 43.657612][ T2924] ? bpf_trace_run2+0xe7/0x340 [ 43.662378][ T2924] bpf_prog_2c29ac5cdc6b1842+0x3a/0x5bc [ 43.667915][ T2924] bpf_trace_run2+0x19e/0x340 [ 43.672578][ T2924] ? asm_sysvec_call_function_single+0x16/0x20 [ 43.678719][ T2924] ? bpf_trace_run1+0x2f0/0x2f0 [ 43.683554][ T2924] ? process_one_work+0x8a1/0x10c0 [ 43.688648][ T2924] ? process_one_work+0x8a1/0x10c0 [ 43.693741][ T2924] ? process_one_work+0x8a1/0x10c0 [ 43.698846][ T2924] __bpf_trace_kfree+0x6e/0x90 [ 43.703591][ T2924] ? process_one_work+0x8a1/0x10c0 [ 43.708687][ T2924] kfree+0x22f/0x270 [ 43.712583][ T2924] process_one_work+0x8a1/0x10c0 [ 43.717507][ T2924] ? worker_detach_from_pool+0x260/0x260 [ 43.723128][ T2924] ? _raw_spin_lock_irqsave+0x120/0x120 [ 43.728744][ T2924] ? kthread_data+0x4e/0xc0 [ 43.733230][ T2924] ? wq_worker_running+0x97/0x170 [ 43.738245][ T2924] worker_thread+0xaca/0x1280 [ 43.742917][ T2924] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 43.748800][ T2924] kthread+0x3f6/0x4f0 [ 43.752852][ T2924] ? rcu_lock_release+0x20/0x20 [ 43.757683][ T2924] ? kthread_blkcg+0xd0/0xd0 [ 43.762257][ T2924] ret_from_fork+0x1f/0x30 [ 43.767181][ T2924]