Warning: Permanently added '10.128.0.6' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program [ 51.329088][ T2978] [ 51.331450][ T2978] ============================================ [ 51.337592][ T2978] WARNING: possible recursive locking detected [ 51.343736][ T2978] 5.15.159-syzkaller #0 Not tainted [ 51.349322][ T2978] -------------------------------------------- [ 51.355574][ T2978] kworker/1:3/2978 is trying to acquire lock: [ 51.363401][ T2978] ffff88807d91a5c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 51.372759][ T2978] [ 51.372759][ T2978] but task is already holding lock: [ 51.380132][ T2978] ffff88807d91a5c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 51.389457][ T2978] [ 51.389457][ T2978] other info that might help us debug this: [ 51.397532][ T2978] Possible unsafe locking scenario: [ 51.397532][ T2978] [ 51.405320][ T2978] CPU0 [ 51.408605][ T2978] ---- [ 51.411884][ T2978] lock(&stab->lock); [ 51.416044][ T2978] lock(&stab->lock); [ 51.420108][ T2978] [ 51.420108][ T2978] *** DEADLOCK *** [ 51.420108][ T2978] [ 51.428244][ T2978] May be due to missing lock nesting notation [ 51.428244][ T2978] [ 51.436599][ T2978] 6 locks held by kworker/1:3/2978: [ 51.441793][ T2978] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 51.452539][ T2978] #1: ffffc90002c17d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 51.463604][ T2978] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.473044][ T2978] #3: ffff88807d91a5c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 51.482812][ T2978] #4: ffff8880785f9290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 51.492476][ T2978] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.501789][ T2978] [ 51.501789][ T2978] stack backtrace: [ 51.507667][ T2978] CPU: 1 PID: 2978 Comm: kworker/1:3 Not tainted 5.15.159-syzkaller #0 [ 51.515911][ T2978] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 51.526094][ T2978] Workqueue: events bpf_map_free_deferred [ 51.531813][ T2978] Call Trace: [ 51.535439][ T2978] [ 51.538383][ T2978] dump_stack_lvl+0x1e3/0x2d0 [ 51.543171][ T2978] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 51.549415][ T2978] ? panic+0x860/0x860 [ 51.553529][ T2978] validate_chain+0x46d2/0x5930 [ 51.558388][ T2978] ? stack_trace_save+0x1c0/0x1c0 [ 51.563425][ T2978] ? check_path+0x21/0x40 [ 51.567773][ T2978] ? check_noncircular+0x1e1/0x3b0 [ 51.572921][ T2978] ? reacquire_held_locks+0x660/0x660 [ 51.578317][ T2978] ? lockdep_unlock+0x166/0x300 [ 51.583170][ T2978] ? lockdep_lock+0x2a0/0x2a0 [ 51.587841][ T2978] ? add_chain_block+0x850/0x850 [ 51.592774][ T2978] ? reacquire_held_locks+0x660/0x660 [ 51.598156][ T2978] ? validate_chain+0x13bd/0x5930 [ 51.603177][ T2978] ? mark_lock+0x98/0x340 [ 51.607517][ T2978] __lock_acquire+0x1295/0x1ff0 [ 51.612379][ T2978] lock_acquire+0x1db/0x4f0 [ 51.616904][ T2978] ? sock_map_delete_elem+0x161/0x230 [ 51.622411][ T2978] ? read_lock_is_recursive+0x10/0x10 [ 51.627827][ T2978] ? sock_map_delete_elem+0x161/0x230 [ 51.633205][ T2978] ? __bpf_trace_softirq+0x10/0x10 [ 51.638485][ T2978] ? sock_map_delete_elem+0x161/0x230 [ 51.644119][ T2978] _raw_spin_lock_bh+0x31/0x40 [ 51.648892][ T2978] ? sock_map_delete_elem+0x161/0x230 [ 51.654270][ T2978] sock_map_delete_elem+0x161/0x230 [ 51.659468][ T2978] ? sock_map_update_elem+0x380/0x380 [ 51.665591][ T2978] bpf_prog_8a405b5ced52e191+0x42/0x950 [ 51.671285][ T2978] bpf_trace_run2+0x19e/0x340 [ 51.675990][ T2978] ? bpf_trace_run1+0x2f0/0x2f0 [ 51.680931][ T2978] ? sock_map_unref+0x3ac/0x5d0 [ 51.685789][ T2978] ? do_raw_spin_lock+0x14a/0x370 [ 51.690838][ T2978] ? __bpf_trace_softirq+0x10/0x10 [ 51.695939][ T2978] ? sock_map_unref+0x3ac/0x5d0 [ 51.700907][ T2978] __bpf_trace_kfree+0x6e/0x90 [ 51.705716][ T2978] ? sock_map_unref+0x3ac/0x5d0 [ 51.710579][ T2978] kfree+0x22f/0x270 [ 51.714590][ T2978] ? sock_map_unref+0xcc/0x5d0 [ 51.719628][ T2978] sock_map_unref+0x3ac/0x5d0 [ 51.724334][ T2978] sock_map_delete_elem+0x191/0x230 [ 51.729538][ T2978] ? sock_map_update_elem+0x380/0x380 [ 51.734913][ T2978] bpf_prog_8a405b5ced52e191+0x42/0x950 [ 51.740456][ T2978] bpf_trace_run2+0x19e/0x340 [ 51.745139][ T2978] ? bpf_trace_run1+0x2f0/0x2f0 [ 51.749998][ T2978] ? sock_map_free+0x363/0x3a0 [ 51.754770][ T2978] ? sock_map_free+0x363/0x3a0 [ 51.759544][ T2978] __bpf_trace_kfree+0x6e/0x90 [ 51.764325][ T2978] ? sock_map_free+0x363/0x3a0 [ 51.769120][ T2978] kfree+0x22f/0x270 [ 51.773050][ T2978] ? print_irqtrace_events+0x210/0x210 [ 51.778512][ T2978] sock_map_free+0x363/0x3a0 [ 51.783123][ T2978] process_one_work+0x8a1/0x10c0 [ 51.788194][ T2978] ? worker_detach_from_pool+0x260/0x260 [ 51.793933][ T2978] ? _raw_spin_lock_irqsave+0x120/0x120 [ 51.799484][ T2978] ? kthread_data+0x4e/0xc0 [ 51.803990][ T2978] ? wq_worker_running+0x97/0x170 [ 51.809011][ T2978] worker_thread+0xaca/0x1280 [ 51.813701][ T2978] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 51.819732][ T2978] kthread+0x3f6/0x4f0 [ 51.823808][ T2978] ? rcu_lock_release+0x20/0x20 [ 51.828660][ T2978] ? kthread_blkcg+0xd0/0xd0 [ 51.833254][ T2978] ret_from_fork+0x1f/0x30 [ 51.837674][ T2978]