Warning: Permanently added '10.128.0.6' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 44.821991][ T13] [ 44.824350][ T13] ============================================ [ 44.830481][ T13] WARNING: possible recursive locking detected [ 44.836611][ T13] 5.15.156-syzkaller #0 Not tainted [ 44.841787][ T13] -------------------------------------------- [ 44.847914][ T13] kworker/0:1/13 is trying to acquire lock: [ 44.853781][ T13] ffff8880787c41c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 44.863179][ T13] [ 44.863179][ T13] but task is already holding lock: [ 44.870614][ T13] ffff8880787c41c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 44.879895][ T13] [ 44.879895][ T13] other info that might help us debug this: [ 44.887932][ T13] Possible unsafe locking scenario: [ 44.887932][ T13] [ 44.895361][ T13] CPU0 [ 44.898621][ T13] ---- [ 44.901879][ T13] lock(&stab->lock); [ 44.905928][ T13] lock(&stab->lock); [ 44.909976][ T13] [ 44.909976][ T13] *** DEADLOCK *** [ 44.909976][ T13] [ 44.918100][ T13] May be due to missing lock nesting notation [ 44.918100][ T13] [ 44.926395][ T13] 6 locks held by kworker/0:1/13: [ 44.931397][ T13] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 44.941728][ T13] #1: ffffc90000d27d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 44.952752][ T13] #2: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 44.962037][ T13] #3: ffff8880787c41c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 44.971761][ T13] #4: ffff88807a469290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 44.981496][ T13] #5: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 44.990784][ T13] [ 44.990784][ T13] stack backtrace: [ 44.996653][ T13] CPU: 0 PID: 13 Comm: kworker/0:1 Not tainted 5.15.156-syzkaller #0 [ 45.004699][ T13] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 45.014734][ T13] Workqueue: events bpf_map_free_deferred [ 45.020441][ T13] Call Trace: [ 45.023709][ T13] [ 45.026627][ T13] dump_stack_lvl+0x1e3/0x2d0 [ 45.031293][ T13] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 45.037170][ T13] ? panic+0x860/0x860 [ 45.041226][ T13] validate_chain+0x46d2/0x5930 [ 45.046242][ T13] ? stack_trace_save+0x1c0/0x1c0 [ 45.051443][ T13] ? check_path+0x21/0x40 [ 45.055753][ T13] ? check_noncircular+0x1e1/0x3b0 [ 45.060959][ T13] ? reacquire_held_locks+0x660/0x660 [ 45.066319][ T13] ? lockdep_unlock+0x166/0x300 [ 45.071150][ T13] ? lockdep_lock+0x2a0/0x2a0 [ 45.075805][ T13] ? add_chain_block+0x850/0x850 [ 45.080726][ T13] ? reacquire_held_locks+0x660/0x660 [ 45.086109][ T13] ? validate_chain+0x13bd/0x5930 [ 45.091118][ T13] ? mark_lock+0x98/0x340 [ 45.095694][ T13] __lock_acquire+0x1295/0x1ff0 [ 45.100529][ T13] lock_acquire+0x1db/0x4f0 [ 45.105027][ T13] ? sock_map_delete_elem+0x161/0x230 [ 45.110386][ T13] ? read_lock_is_recursive+0x10/0x10 [ 45.115741][ T13] ? sock_map_delete_elem+0x161/0x230 [ 45.121094][ T13] ? __bpf_trace_softirq+0x10/0x10 [ 45.126237][ T13] ? sock_map_delete_elem+0x161/0x230 [ 45.131595][ T13] _raw_spin_lock_bh+0x31/0x40 [ 45.137041][ T13] ? sock_map_delete_elem+0x161/0x230 [ 45.142398][ T13] sock_map_delete_elem+0x161/0x230 [ 45.147670][ T13] ? sock_map_update_elem+0x380/0x380 [ 45.153463][ T13] bpf_prog_8a405b5ced52e191+0x42/0x160 [ 45.158997][ T13] bpf_trace_run2+0x19e/0x340 [ 45.163658][ T13] ? bpf_trace_run1+0x2f0/0x2f0 [ 45.168489][ T13] ? sock_map_unref+0x3ac/0x5d0 [ 45.173322][ T13] ? do_raw_spin_lock+0x14a/0x370 [ 45.178333][ T13] ? __bpf_trace_softirq+0x10/0x10 [ 45.183424][ T13] ? sock_map_unref+0x3ac/0x5d0 [ 45.188281][ T13] __bpf_trace_kfree+0x6e/0x90 [ 45.194418][ T13] ? sock_map_unref+0x3ac/0x5d0 [ 45.199250][ T13] kfree+0x22f/0x270 [ 45.203129][ T13] ? sock_map_unref+0xcc/0x5d0 [ 45.207964][ T13] sock_map_unref+0x3ac/0x5d0 [ 45.212627][ T13] sock_map_delete_elem+0x191/0x230 [ 45.217807][ T13] ? sock_map_update_elem+0x380/0x380 [ 45.223158][ T13] ? bpf_trace_run2+0xe7/0x340 [ 45.227907][ T13] bpf_prog_8a405b5ced52e191+0x42/0x160 [ 45.233432][ T13] bpf_trace_run2+0x19e/0x340 [ 45.238094][ T13] ? asm_exc_int3+0x35/0x40 [ 45.242583][ T13] ? bpf_trace_run1+0x2f0/0x2f0 [ 45.247513][ T13] ? sock_map_free+0x363/0x3a0 [ 45.252260][ T13] ? sock_map_free+0x363/0x3a0 [ 45.257014][ T13] __bpf_trace_kfree+0x6e/0x90 [ 45.261762][ T13] ? sock_map_free+0x363/0x3a0 [ 45.266520][ T13] kfree+0x22f/0x270 [ 45.270403][ T13] ? mark_lock+0x98/0x340 [ 45.274713][ T13] sock_map_free+0x363/0x3a0 [ 45.279289][ T13] process_one_work+0x8a1/0x10c0 [ 45.284215][ T13] ? worker_detach_from_pool+0x260/0x260 [ 45.289832][ T13] ? _raw_spin_lock_irqsave+0x120/0x120 [ 45.295380][ T13] ? kthread_data+0x4e/0xc0 [ 45.299862][ T13] ? wq_worker_running+0x97/0x170 [ 45.304885][ T13] worker_thread+0xaca/0x1280 [ 45.309549][ T13] kthread+0x3f6/0x4f0 [ 45.313596][ T13] ? rcu_lock_release+0x20/0x20 [ 45.318425][ T13] ? kthread_blkcg+0xd0/0xd0 [ 45.322996][ T13] ret_from_fork+0x1f/0x30 [ 45.327396][ T13]