Warning: Permanently added '10.128.0.62' (ED25519) to the list of known hosts. executing program executing program executing program executing program syzkaller login: [ 49.956497][ T7] [ 49.958859][ T7] ============================================ [ 49.965016][ T7] WARNING: possible recursive locking detected [ 49.971152][ T7] 5.15.160-syzkaller #0 Not tainted [ 49.976419][ T7] -------------------------------------------- [ 49.982640][ T7] kworker/0:0/7 is trying to acquire lock: [ 49.988428][ T7] ffff8880741859c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 49.997756][ T7] [ 49.997756][ T7] but task is already holding lock: [ 50.005107][ T7] ffff8880741859c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 50.014404][ T7] [ 50.014404][ T7] other info that might help us debug this: [ 50.022449][ T7] Possible unsafe locking scenario: [ 50.022449][ T7] [ 50.029881][ T7] CPU0 [ 50.033145][ T7] ---- [ 50.036416][ T7] lock(&stab->lock); [ 50.040479][ T7] lock(&stab->lock); [ 50.044540][ T7] [ 50.044540][ T7] *** DEADLOCK *** [ 50.044540][ T7] [ 50.052709][ T7] May be due to missing lock nesting notation [ 50.052709][ T7] [ 50.061045][ T7] 6 locks held by kworker/0:0/7: [ 50.065968][ T7] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 50.076328][ T7] #1: ffffc90000cc7d20 ((work_completion)(&aux->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 50.087371][ T7] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.096672][ T7] #3: ffff8880741859c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 50.106423][ T7] #4: ffff8880786f0290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 50.116099][ T7] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.125675][ T7] [ 50.125675][ T7] stack backtrace: [ 50.131653][ T7] CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 5.15.160-syzkaller #0 [ 50.139622][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 50.149682][ T7] Workqueue: events bpf_prog_free_deferred [ 50.155503][ T7] Call Trace: [ 50.158866][ T7] [ 50.161797][ T7] dump_stack_lvl+0x1e3/0x2d0 [ 50.166469][ T7] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 50.172110][ T7] ? panic+0x860/0x860 [ 50.176202][ T7] validate_chain+0x46d2/0x5930 [ 50.181143][ T7] ? stack_trace_save+0x1c0/0x1c0 [ 50.186170][ T7] ? check_path+0x21/0x40 [ 50.190580][ T7] ? check_noncircular+0x1e1/0x3b0 [ 50.195683][ T7] ? reacquire_held_locks+0x660/0x660 [ 50.201140][ T7] ? lockdep_unlock+0x166/0x300 [ 50.206019][ T7] ? lockdep_lock+0x2a0/0x2a0 [ 50.210684][ T7] ? add_chain_block+0x850/0x850 [ 50.215618][ T7] ? reacquire_held_locks+0x660/0x660 [ 50.220985][ T7] ? validate_chain+0x13bd/0x5930 [ 50.226036][ T7] ? mark_lock+0x98/0x340 [ 50.230368][ T7] __lock_acquire+0x1295/0x1ff0 [ 50.235304][ T7] lock_acquire+0x1db/0x4f0 [ 50.239796][ T7] ? sock_map_delete_elem+0x161/0x230 [ 50.245250][ T7] ? read_lock_is_recursive+0x10/0x10 [ 50.250623][ T7] ? sock_map_delete_elem+0x161/0x230 [ 50.255991][ T7] ? __bpf_trace_softirq+0x10/0x10 [ 50.261104][ T7] ? sock_map_delete_elem+0x161/0x230 [ 50.266473][ T7] _raw_spin_lock_bh+0x31/0x40 [ 50.271234][ T7] ? sock_map_delete_elem+0x161/0x230 [ 50.276598][ T7] sock_map_delete_elem+0x161/0x230 [ 50.281793][ T7] ? sock_map_update_elem+0x380/0x380 [ 50.287162][ T7] bpf_prog_2c29ac5cdc6b1842+0x3a/0xb4c [ 50.292701][ T7] bpf_trace_run2+0x19e/0x340 [ 50.297409][ T7] ? bpf_trace_run1+0x2f0/0x2f0 [ 50.302516][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 50.307451][ T7] ? do_raw_spin_lock+0x14a/0x370 [ 50.312743][ T7] ? __bpf_trace_softirq+0x10/0x10 [ 50.317846][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 50.322701][ T7] __bpf_trace_kfree+0x6e/0x90 [ 50.327575][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 50.332425][ T7] kfree+0x22f/0x270 [ 50.336314][ T7] ? sock_map_unref+0xcc/0x5d0 [ 50.341073][ T7] sock_map_unref+0x3ac/0x5d0 [ 50.345835][ T7] sock_map_delete_elem+0x191/0x230 [ 50.351026][ T7] ? sock_map_update_elem+0x380/0x380 [ 50.356480][ T7] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 50.362454][ T7] bpf_prog_2c29ac5cdc6b1842+0x3a/0xb4c [ 50.368004][ T7] bpf_trace_run2+0x19e/0x340 [ 50.372678][ T7] ? bpf_trace_run1+0x2f0/0x2f0 [ 50.377521][ T7] ? __vunmap+0x977/0xa20 [ 50.381852][ T7] ? __might_sleep+0xc0/0xc0 [ 50.386432][ T7] ? __vunmap+0x977/0xa20 [ 50.390759][ T7] __bpf_trace_kfree+0x6e/0x90 [ 50.395516][ T7] ? __vunmap+0x977/0xa20 [ 50.399835][ T7] kfree+0x22f/0x270 [ 50.403721][ T7] ? _vm_unmap_aliases+0x481/0x4e0 [ 50.408827][ T7] __vunmap+0x977/0xa20 [ 50.413071][ T7] bpf_jit_free+0x92/0x180 [ 50.417487][ T7] process_one_work+0x8a1/0x10c0 [ 50.422524][ T7] ? worker_detach_from_pool+0x260/0x260 [ 50.428152][ T7] ? _raw_spin_lock_irqsave+0x120/0x120 [ 50.433691][ T7] ? kthread_data+0x4e/0xc0 [ 50.438186][ T7] ? wq_worker_running+0x97/0x170 [ 50.443204][ T7] worker_thread+0xaca/0x1280 [ 50.447883][ T7] kthread+0x3f6/0x4f0 [ 50.452030][ T7] ? rcu_lock_release+0x20/0x20 [ 50.457013][ T7] ? kthread_blkcg+0xd0/0xd0 [ 50.461597][ T7] ret_from_fork+0x1f/0x30 [ 50.466014][ T7]