Warning: Permanently added '10.128.0.80' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program [ 42.311580][ T3511] [ 42.313935][ T3511] ============================================ [ 42.320067][ T3511] WARNING: possible recursive locking detected [ 42.326192][ T3511] 5.15.158-syzkaller #0 Not tainted [ 42.331363][ T3511] -------------------------------------------- [ 42.337486][ T3511] kworker/1:4/3511 is trying to acquire lock: [ 42.343526][ T3511] ffff88801d56c1c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.352828][ T3511] [ 42.352828][ T3511] but task is already holding lock: [ 42.360168][ T3511] ffff88801d56c1c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.369466][ T3511] [ 42.369466][ T3511] other info that might help us debug this: [ 42.377521][ T3511] Possible unsafe locking scenario: [ 42.377521][ T3511] [ 42.384963][ T3511] CPU0 [ 42.388231][ T3511] ---- [ 42.391491][ T3511] lock(&stab->lock); [ 42.395544][ T3511] lock(&stab->lock); [ 42.399603][ T3511] [ 42.399603][ T3511] *** DEADLOCK *** [ 42.399603][ T3511] [ 42.407735][ T3511] May be due to missing lock nesting notation [ 42.407735][ T3511] [ 42.416036][ T3511] 6 locks held by kworker/1:4/3511: [ 42.421213][ T3511] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 42.431552][ T3511] #1: ffffc90002cd7d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 42.442576][ T3511] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.451864][ T3511] #3: ffff88801d56c1c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.461585][ T3511] #4: ffff88814846d290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 42.471215][ T3511] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.480497][ T3511] [ 42.480497][ T3511] stack backtrace: [ 42.486363][ T3511] CPU: 1 PID: 3511 Comm: kworker/1:4 Not tainted 5.15.158-syzkaller #0 [ 42.494580][ T3511] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 42.504616][ T3511] Workqueue: events bpf_map_free_deferred [ 42.510319][ T3511] Call Trace: [ 42.513584][ T3511] [ 42.516495][ T3511] dump_stack_lvl+0x1e3/0x2d0 [ 42.521154][ T3511] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 42.526770][ T3511] ? panic+0x860/0x860 [ 42.530826][ T3511] validate_chain+0x46d2/0x5930 [ 42.535661][ T3511] ? stack_trace_save+0x1c0/0x1c0 [ 42.540666][ T3511] ? check_path+0x21/0x40 [ 42.544974][ T3511] ? check_noncircular+0x1e1/0x3b0 [ 42.550063][ T3511] ? reacquire_held_locks+0x660/0x660 [ 42.555416][ T3511] ? lockdep_unlock+0x166/0x300 [ 42.560246][ T3511] ? lockdep_lock+0x2a0/0x2a0 [ 42.564902][ T3511] ? add_chain_block+0x850/0x850 [ 42.569820][ T3511] ? reacquire_held_locks+0x660/0x660 [ 42.575174][ T3511] ? validate_chain+0x13bd/0x5930 [ 42.580180][ T3511] ? mark_lock+0x98/0x340 [ 42.584489][ T3511] __lock_acquire+0x1295/0x1ff0 [ 42.589339][ T3511] lock_acquire+0x1db/0x4f0 [ 42.593827][ T3511] ? sock_map_delete_elem+0x161/0x230 [ 42.599185][ T3511] ? read_lock_is_recursive+0x10/0x10 [ 42.604538][ T3511] ? sock_map_delete_elem+0x161/0x230 [ 42.609889][ T3511] ? __bpf_trace_softirq+0x10/0x10 [ 42.614980][ T3511] ? sock_map_delete_elem+0x161/0x230 [ 42.620338][ T3511] _raw_spin_lock_bh+0x31/0x40 [ 42.625096][ T3511] ? sock_map_delete_elem+0x161/0x230 [ 42.630469][ T3511] sock_map_delete_elem+0x161/0x230 [ 42.635658][ T3511] ? sock_map_update_elem+0x380/0x380 [ 42.641020][ T3511] bpf_prog_8a405b5ced52e191+0x42/0x270 [ 42.646558][ T3511] bpf_trace_run2+0x19e/0x340 [ 42.651225][ T3511] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.656061][ T3511] ? sock_map_unref+0x3ac/0x5d0 [ 42.660900][ T3511] ? do_raw_spin_lock+0x14a/0x370 [ 42.665923][ T3511] ? __bpf_trace_softirq+0x10/0x10 [ 42.671034][ T3511] ? sock_map_unref+0x3ac/0x5d0 [ 42.675887][ T3511] __bpf_trace_kfree+0x6e/0x90 [ 42.680643][ T3511] ? sock_map_unref+0x3ac/0x5d0 [ 42.685485][ T3511] kfree+0x22f/0x270 [ 42.689368][ T3511] ? sock_map_unref+0xcc/0x5d0 [ 42.694132][ T3511] sock_map_unref+0x3ac/0x5d0 [ 42.698813][ T3511] sock_map_delete_elem+0x191/0x230 [ 42.703994][ T3511] ? sock_map_update_elem+0x380/0x380 [ 42.709352][ T3511] bpf_prog_8a405b5ced52e191+0x42/0x270 [ 42.714890][ T3511] bpf_trace_run2+0x19e/0x340 [ 42.719567][ T3511] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.724404][ T3511] ? sock_map_free+0x363/0x3a0 [ 42.729153][ T3511] ? sock_map_free+0x363/0x3a0 [ 42.733903][ T3511] __bpf_trace_kfree+0x6e/0x90 [ 42.738655][ T3511] ? sock_map_free+0x363/0x3a0 [ 42.743405][ T3511] kfree+0x22f/0x270 [ 42.747287][ T3511] ? print_irqtrace_events+0x210/0x210 [ 42.752728][ T3511] sock_map_free+0x363/0x3a0 [ 42.757307][ T3511] process_one_work+0x8a1/0x10c0 [ 42.762231][ T3511] ? worker_detach_from_pool+0x260/0x260 [ 42.767868][ T3511] ? _raw_spin_lock_irqsave+0x120/0x120 [ 42.773409][ T3511] ? kthread_data+0x4e/0xc0 [ 42.777898][ T3511] ? wq_worker_running+0x97/0x170 [ 42.782919][ T3511] worker_thread+0xaca/0x1280 [ 42.787577][ T3511] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 42.793457][ T3511] kthread+0x3f6/0x4f0 [ 42.797505][ T3511] ? rcu_lock_release+0x20/0x20 [ 42.802338][ T3511] ? kthread_blkcg+0xd0/0xd0 [ 42.806910][ T3511] ret_from_fork+0x1f/0x30 [ 42.811313][ T3511]