Warning: Permanently added '10.128.0.232' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program [ 53.256481][ T2924] [ 53.258858][ T2924] ============================================ [ 53.265037][ T2924] WARNING: possible recursive locking detected [ 53.271191][ T2924] 5.15.157-syzkaller #0 Not tainted [ 53.276412][ T2924] -------------------------------------------- [ 53.282576][ T2924] kworker/1:3/2924 is trying to acquire lock: [ 53.288657][ T2924] ffff88801e4e5a68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 53.299257][ T2924] [ 53.299257][ T2924] but task is already holding lock: [ 53.306631][ T2924] ffff88801e4e5a68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 53.316990][ T2924] [ 53.316990][ T2924] other info that might help us debug this: [ 53.325048][ T2924] Possible unsafe locking scenario: [ 53.325048][ T2924] [ 53.332605][ T2924] CPU0 [ 53.335876][ T2924] ---- [ 53.339147][ T2924] lock(&htab->buckets[i].lock); [ 53.344159][ T2924] lock(&htab->buckets[i].lock); [ 53.349187][ T2924] [ 53.349187][ T2924] *** DEADLOCK *** [ 53.349187][ T2924] [ 53.357325][ T2924] May be due to missing lock nesting notation [ 53.357325][ T2924] [ 53.365647][ T2924] 6 locks held by kworker/1:3/2924: [ 53.370849][ T2924] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 53.381229][ T2924] #1: ffffc9000c377d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 53.392318][ T2924] #2: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 53.402001][ T2924] #3: ffff88801e4e5a68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 53.412815][ T2924] #4: ffff888015999290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 53.422466][ T2924] #5: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 53.432861][ T2924] [ 53.432861][ T2924] stack backtrace: [ 53.439941][ T2924] CPU: 1 PID: 2924 Comm: kworker/1:3 Not tainted 5.15.157-syzkaller #0 [ 53.448283][ T2924] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 53.458683][ T2924] Workqueue: events bpf_map_free_deferred [ 53.464456][ T2924] Call Trace: [ 53.467827][ T2924] [ 53.470978][ T2924] dump_stack_lvl+0x1e3/0x2d0 [ 53.475952][ T2924] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 53.481635][ T2924] ? panic+0x860/0x860 [ 53.485704][ T2924] validate_chain+0x46d2/0x5930 [ 53.490715][ T2924] ? check_path+0x40/0x40 [ 53.495052][ T2924] ? reacquire_held_locks+0x660/0x660 [ 53.500428][ T2924] ? check_noncircular+0x1e1/0x3b0 [ 53.505583][ T2924] ? lockdep_unlock+0x166/0x300 [ 53.510427][ T2924] ? lockdep_lock+0x2a0/0x2a0 [ 53.515093][ T2924] ? add_chain_block+0x850/0x850 [ 53.520021][ T2924] ? reacquire_held_locks+0x660/0x660 [ 53.525408][ T2924] ? mark_lock+0x98/0x340 [ 53.529739][ T2924] __lock_acquire+0x1295/0x1ff0 [ 53.534599][ T2924] lock_acquire+0x1db/0x4f0 [ 53.539091][ T2924] ? sock_hash_delete_elem+0x177/0x400 [ 53.544760][ T2924] ? read_lock_is_recursive+0x10/0x10 [ 53.550127][ T2924] ? sock_hash_delete_elem+0x177/0x400 [ 53.555580][ T2924] ? __bpf_trace_softirq+0x10/0x10 [ 53.560688][ T2924] ? sock_hash_delete_elem+0x177/0x400 [ 53.566141][ T2924] _raw_spin_lock_bh+0x31/0x40 [ 53.570989][ T2924] ? sock_hash_delete_elem+0x177/0x400 [ 53.576444][ T2924] sock_hash_delete_elem+0x177/0x400 [ 53.581743][ T2924] ? sock_hash_lookup+0x660/0x660 [ 53.586856][ T2924] bpf_prog_2c29ac5cdc6b1842+0x3a/0xae8 [ 53.592504][ T2924] bpf_trace_run2+0x19e/0x340 [ 53.597188][ T2924] ? bpf_trace_run1+0x2f0/0x2f0 [ 53.602046][ T2924] ? lock_acquire+0x252/0x4f0 [ 53.606732][ T2924] ? sock_map_unref+0x3ac/0x5d0 [ 53.611657][ T2924] ? do_raw_spin_lock+0x14a/0x370 [ 53.616713][ T2924] ? __bpf_trace_softirq+0x10/0x10 [ 53.621833][ T2924] ? sock_map_unref+0x3ac/0x5d0 [ 53.627299][ T2924] __bpf_trace_kfree+0x6e/0x90 [ 53.632164][ T2924] ? sock_map_unref+0x3ac/0x5d0 [ 53.637032][ T2924] kfree+0x22f/0x270 [ 53.640937][ T2924] ? sock_map_unref+0xcc/0x5d0 [ 53.645829][ T2924] sock_map_unref+0x3ac/0x5d0 [ 53.650651][ T2924] sock_hash_delete_elem+0x388/0x400 [ 53.656031][ T2924] ? asm_sysvec_call_function_single+0x16/0x20 [ 53.662197][ T2924] ? sock_hash_lookup+0x660/0x660 [ 53.667244][ T2924] ? bpf_trace_run2+0xe7/0x340 [ 53.672016][ T2924] bpf_prog_2c29ac5cdc6b1842+0x3a/0xae8 [ 53.677594][ T2924] bpf_trace_run2+0x19e/0x340 [ 53.682271][ T2924] ? exc_int3+0xa/0x70 [ 53.686347][ T2924] ? bpf_trace_run1+0x2f0/0x2f0 [ 53.691199][ T2924] ? sock_hash_free+0x713/0x780 [ 53.696059][ T2924] ? sock_hash_free+0x713/0x780 [ 53.701009][ T2924] __bpf_trace_kfree+0x6e/0x90 [ 53.705980][ T2924] ? sock_hash_free+0x713/0x780 [ 53.710828][ T2924] kfree+0x22f/0x270 [ 53.714721][ T2924] sock_hash_free+0x713/0x780 [ 53.719402][ T2924] ? sock_hash_alloc+0x520/0x520 [ 53.724328][ T2924] ? do_raw_spin_unlock+0x137/0x8b0 [ 53.729626][ T2924] ? bpf_lsm_bpf_map_free_security+0x5/0x10 [ 53.735553][ T2924] ? security_bpf_map_free+0x6a/0x80 [ 53.740897][ T2924] ? bpf_map_free_deferred+0xb8/0x2e0 [ 53.746270][ T2924] process_one_work+0x8a1/0x10c0 [ 53.751474][ T2924] ? worker_detach_from_pool+0x260/0x260 [ 53.757290][ T2924] ? _raw_spin_lock_irqsave+0x120/0x120 [ 53.762856][ T2924] ? kthread_data+0x4e/0xc0 [ 53.767400][ T2924] ? wq_worker_running+0x97/0x170 [ 53.772451][ T2924] worker_thread+0xaca/0x1280 [ 53.777173][ T2924] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 53.783198][ T2924] kthread+0x3f6/0x4f0 [ 53.787466][ T2924] ? rcu_lock_release+0x20/0x20 [ 53.792346][ T2924] ? kthread_blkcg+0xd0/0xd0 [ 53.796952][ T2924] ret_from_fork+0x1f/0x30 [ 53.801647][ T2924]