Warning: Permanently added '10.128.0.231' (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 [ 45.222985][ T7] [ 45.225353][ T7] ============================================ [ 45.231493][ T7] WARNING: possible recursive locking detected [ 45.237722][ T7] 5.15.153-syzkaller #0 Not tainted [ 45.242902][ T7] -------------------------------------------- [ 45.249726][ T7] kworker/0:0/7 is trying to acquire lock: [ 45.255510][ T7] ffff88801f6979c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x97/0x130 [ 45.264875][ T7] [ 45.264875][ T7] but task is already holding lock: [ 45.272488][ T7] ffff88801f6979c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x97/0x130 [ 45.282323][ T7] [ 45.282323][ T7] other info that might help us debug this: [ 45.290498][ T7] Possible unsafe locking scenario: [ 45.290498][ T7] [ 45.298120][ T7] CPU0 [ 45.301487][ T7] ---- [ 45.304764][ T7] lock(&stab->lock); [ 45.308961][ T7] lock(&stab->lock); [ 45.313033][ T7] [ 45.313033][ T7] *** DEADLOCK *** [ 45.313033][ T7] [ 45.321963][ T7] May be due to missing lock nesting notation [ 45.321963][ T7] [ 45.330555][ T7] 6 locks held by kworker/0:0/7: [ 45.335568][ T7] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 45.351217][ T7] #1: ffffc90000cc7d20 ((work_completion)(&(&psock->rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 45.363905][ T7] #2: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 45.373475][ T7] #3: ffff88801f6979c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x97/0x130 [ 45.383535][ T7] #4: ffff88807228b290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 45.393266][ T7] #5: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 45.402755][ T7] [ 45.402755][ T7] stack backtrace: [ 45.409439][ T7] CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 5.15.153-syzkaller #0 [ 45.417935][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 45.430487][ T7] Workqueue: events sk_psock_destroy [ 45.435795][ T7] Call Trace: [ 45.439081][ T7] [ 45.442012][ T7] dump_stack_lvl+0x1e3/0x2cb [ 45.446717][ T7] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 45.452697][ T7] ? panic+0x84d/0x84d [ 45.456842][ T7] validate_chain+0x46d2/0x5930 [ 45.462278][ T7] ? add_chain_block+0x850/0x850 [ 45.467424][ T7] ? reacquire_held_locks+0x660/0x660 [ 45.472977][ T7] ? add_chain_block+0x850/0x850 [ 45.477976][ T7] ? reacquire_held_locks+0x660/0x660 [ 45.483382][ T7] ? validate_chain+0x13bd/0x5930 [ 45.488717][ T7] ? mark_lock+0x98/0x340 [ 45.493068][ T7] __lock_acquire+0x1295/0x1ff0 [ 45.498002][ T7] lock_acquire+0x1db/0x4f0 [ 45.502495][ T7] ? sock_map_delete_elem+0x97/0x130 [ 45.507769][ T7] ? read_lock_is_recursive+0x10/0x10 [ 45.513227][ T7] ? mark_lock+0x98/0x340 [ 45.517627][ T7] ? sock_map_delete_elem+0x97/0x130 [ 45.522893][ T7] ? __bpf_trace_softirq+0x10/0x10 [ 45.528098][ T7] ? __lock_acquire+0x1295/0x1ff0 [ 45.533111][ T7] ? sock_map_delete_elem+0x97/0x130 [ 45.538414][ T7] _raw_spin_lock_bh+0x31/0x40 [ 45.543165][ T7] ? sock_map_delete_elem+0x97/0x130 [ 45.548432][ T7] sock_map_delete_elem+0x97/0x130 [ 45.553544][ T7] bpf_prog_2c29ac5cdc6b1842+0x3a/0x808 [ 45.559081][ T7] bpf_trace_run2+0x19e/0x340 [ 45.563961][ T7] ? read_lock_is_recursive+0x10/0x10 [ 45.569334][ T7] ? bpf_trace_run1+0x2f0/0x2f0 [ 45.574263][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 45.579185][ T7] ? do_raw_spin_lock+0x14a/0x370 [ 45.584246][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 45.589106][ T7] __bpf_trace_kfree+0x6e/0x90 [ 45.593972][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 45.598827][ T7] kfree+0x22f/0x270 [ 45.602731][ T7] ? sock_map_unref+0xcc/0x5d0 [ 45.607591][ T7] sock_map_unref+0x3ac/0x5d0 [ 45.612272][ T7] sock_map_delete_elem+0xc3/0x130 [ 45.617608][ T7] bpf_prog_2c29ac5cdc6b1842+0x3a/0x808 [ 45.623336][ T7] bpf_trace_run2+0x19e/0x340 [ 45.628034][ T7] ? bpf_trace_run1+0x2f0/0x2f0 [ 45.633354][ T7] ? security_sk_free+0x40/0x80 [ 45.638286][ T7] ? rcu_lock_release+0x5/0x20 [ 45.643208][ T7] ? __lock_acquire+0x1ff0/0x1ff0 [ 45.648220][ T7] ? security_sk_free+0x40/0x80 [ 45.653193][ T7] __bpf_trace_kfree+0x6e/0x90 [ 45.658120][ T7] ? security_sk_free+0x40/0x80 [ 45.663329][ T7] kfree+0x22f/0x270 [ 45.667424][ T7] security_sk_free+0x40/0x80 [ 45.672096][ T7] __sk_destruct+0x56a/0x840 [ 45.676674][ T7] sk_psock_destroy+0x48f/0x510 [ 45.681508][ T7] process_one_work+0x8a1/0x10c0 [ 45.686627][ T7] ? worker_detach_from_pool+0x260/0x260 [ 45.692254][ T7] ? _raw_spin_lock_irqsave+0x120/0x120 [ 45.697784][ T7] ? kthread_data+0x4e/0xc0 [ 45.702285][ T7] ? wq_worker_running+0x97/0x170 [ 45.707651][ T7] worker_thread+0xaca/0x1280 [ 45.712357][ T7] kthread+0x3f6/0x4f0 [ 45.716505][ T7] ? rcu_lock_release+0x20/0x20 [ 45.721435][ T7] ? kthread_blkcg+0xd0/0xd0 [ 45.726720][ T7] ret_from_fork+0x1f/0x30 [ 45.731539][ T7]