Warning: Permanently added '10.128.0.98' (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 syzkaller login: [ 52.666354][ T25] [ 52.668819][ T25] ============================================ [ 52.674977][ T25] WARNING: possible recursive locking detected [ 52.681130][ T25] 5.15.158-syzkaller #0 Not tainted [ 52.686317][ T25] -------------------------------------------- [ 52.692614][ T25] kworker/1:1/25 is trying to acquire lock: [ 52.698501][ T25] ffff88814a85fc68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 52.709868][ T25] [ 52.709868][ T25] but task is already holding lock: [ 52.717246][ T25] ffff88814a85fc68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 52.727709][ T25] [ 52.727709][ T25] other info that might help us debug this: [ 52.736032][ T25] Possible unsafe locking scenario: [ 52.736032][ T25] [ 52.743473][ T25] CPU0 [ 52.746745][ T25] ---- [ 52.750727][ T25] lock(&htab->buckets[i].lock); [ 52.755747][ T25] lock(&htab->buckets[i].lock); [ 52.760762][ T25] [ 52.760762][ T25] *** DEADLOCK *** [ 52.760762][ T25] [ 52.768895][ T25] May be due to missing lock nesting notation [ 52.768895][ T25] [ 52.777203][ T25] 6 locks held by kworker/1:1/25: [ 52.782328][ T25] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 52.792789][ T25] #1: ffffc90000dffd20 ((work_completion)(&(&psock->rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 52.804898][ T25] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.814210][ T25] #3: ffff88814a85fc68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 52.825975][ T25] #4: ffff888078960290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 52.835653][ T25] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.844980][ T25] [ 52.844980][ T25] stack backtrace: [ 52.850872][ T25] CPU: 1 PID: 25 Comm: kworker/1:1 Not tainted 5.15.158-syzkaller #0 [ 52.859022][ T25] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 52.869111][ T25] Workqueue: events sk_psock_destroy [ 52.874399][ T25] Call Trace: [ 52.877675][ T25] [ 52.880613][ T25] dump_stack_lvl+0x1e3/0x2d0 [ 52.885375][ T25] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 52.891007][ T25] ? panic+0x860/0x860 [ 52.895077][ T25] validate_chain+0x46d2/0x5930 [ 52.899929][ T25] ? arch_stack_walk+0x10d/0x140 [ 52.904869][ T25] ? reacquire_held_locks+0x660/0x660 [ 52.910256][ T25] ? check_noncircular+0x1e1/0x3b0 [ 52.915371][ T25] ? lockdep_unlock+0x166/0x300 [ 52.920306][ T25] ? lockdep_lock+0x2a0/0x2a0 [ 52.924979][ T25] ? add_chain_block+0x850/0x850 [ 52.929912][ T25] ? reacquire_held_locks+0x660/0x660 [ 52.935284][ T25] ? mark_lock+0x98/0x340 [ 52.939610][ T25] __lock_acquire+0x1295/0x1ff0 [ 52.944492][ T25] lock_acquire+0x1db/0x4f0 [ 52.948991][ T25] ? sock_hash_delete_elem+0x177/0x400 [ 52.954448][ T25] ? read_lock_is_recursive+0x10/0x10 [ 52.959820][ T25] ? sock_hash_delete_elem+0x177/0x400 [ 52.965277][ T25] ? __bpf_trace_softirq+0x10/0x10 [ 52.970389][ T25] ? sock_hash_delete_elem+0x177/0x400 [ 52.975845][ T25] _raw_spin_lock_bh+0x31/0x40 [ 52.980612][ T25] ? sock_hash_delete_elem+0x177/0x400 [ 52.986075][ T25] sock_hash_delete_elem+0x177/0x400 [ 52.991359][ T25] ? sock_hash_lookup+0x660/0x660 [ 52.996386][ T25] bpf_prog_2c29ac5cdc6b1842+0x3a/0xa58 [ 53.001929][ T25] bpf_trace_run2+0x19e/0x340 [ 53.006611][ T25] ? bpf_trace_run1+0x2f0/0x2f0 [ 53.011475][ T25] ? sock_map_unref+0x3ac/0x5d0 [ 53.016328][ T25] ? do_raw_spin_lock+0x14a/0x370 [ 53.021350][ T25] ? __bpf_trace_softirq+0x10/0x10 [ 53.026474][ T25] ? sock_map_unref+0x3ac/0x5d0 [ 53.031327][ T25] __bpf_trace_kfree+0x6e/0x90 [ 53.036111][ T25] ? sock_map_unref+0x3ac/0x5d0 [ 53.040986][ T25] kfree+0x22f/0x270 [ 53.044878][ T25] ? sock_map_unref+0xcc/0x5d0 [ 53.049646][ T25] sock_map_unref+0x3ac/0x5d0 [ 53.054446][ T25] sock_hash_delete_elem+0x388/0x400 [ 53.059732][ T25] ? asm_sysvec_call_function_single+0x16/0x20 [ 53.065970][ T25] ? sock_hash_lookup+0x660/0x660 [ 53.070993][ T25] ? bpf_trace_run2+0xe7/0x340 [ 53.075755][ T25] bpf_prog_2c29ac5cdc6b1842+0x3a/0xa58 [ 53.081384][ T25] bpf_trace_run2+0x19e/0x340 [ 53.086056][ T25] ? bpf_trace_run1+0x2f0/0x2f0 [ 53.090903][ T25] ? process_one_work+0x8a1/0x10c0 [ 53.096010][ T25] ? asm_sysvec_call_function_single+0x16/0x20 [ 53.102171][ T25] ? process_one_work+0x8a1/0x10c0 [ 53.107397][ T25] __bpf_trace_kfree+0x6e/0x90 [ 53.112180][ T25] ? process_one_work+0x8a1/0x10c0 [ 53.117311][ T25] kfree+0x22f/0x270 [ 53.121210][ T25] ? sk_psock_destroy+0x48f/0x510 [ 53.126234][ T25] process_one_work+0x8a1/0x10c0 [ 53.131175][ T25] ? worker_detach_from_pool+0x260/0x260 [ 53.136805][ T25] ? _raw_spin_lock_irqsave+0x120/0x120 [ 53.142349][ T25] ? kthread_data+0x4e/0xc0 [ 53.146849][ T25] ? wq_worker_running+0x97/0x170 [ 53.151880][ T25] worker_thread+0xaca/0x1280 [ 53.156612][ T25] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 53.162513][ T25] kthread+0x3f6/0x4f0 [ 53.166576][ T25] ? rcu_lock_release+0x20/0x20 [ 53.171510][ T25] ? kthread_blkcg+0xd0/0xd0 [ 53.176095][ T25] ret_from_fork+0x1f/0x30 [ 53.180517][ T25]