Warning: Permanently added '10.128.0.66' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program [ 52.405100][ T13] [ 52.407454][ T13] ============================================ [ 52.413589][ T13] WARNING: possible recursive locking detected [ 52.419733][ T13] 5.15.158-syzkaller #0 Not tainted [ 52.424918][ T13] -------------------------------------------- [ 52.431058][ T13] kworker/0:1/13 is trying to acquire lock: [ 52.436944][ T13] ffff888019c74dc0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 52.446316][ T13] [ 52.446316][ T13] but task is already holding lock: [ 52.453681][ T13] ffff888019c74dc0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 52.462993][ T13] [ 52.462993][ T13] other info that might help us debug this: [ 52.471041][ T13] Possible unsafe locking scenario: [ 52.471041][ T13] [ 52.478472][ T13] CPU0 [ 52.481734][ T13] ---- [ 52.485023][ T13] lock(&stab->lock); [ 52.489088][ T13] lock(&stab->lock); [ 52.493160][ T13] [ 52.493160][ T13] *** DEADLOCK *** [ 52.493160][ T13] [ 52.501291][ T13] May be due to missing lock nesting notation [ 52.501291][ T13] [ 52.509599][ T13] 6 locks held by kworker/0:1/13: [ 52.514619][ T13] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 52.524996][ T13] #1: ffffc90000d27d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 52.536221][ T13] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.545533][ T13] #3: ffff888019c74dc0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 52.555284][ T13] #4: ffff888078c7d290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 52.564963][ T13] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.574356][ T13] [ 52.574356][ T13] stack backtrace: [ 52.580230][ T13] CPU: 0 PID: 13 Comm: kworker/0:1 Not tainted 5.15.158-syzkaller #0 [ 52.588284][ T13] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 52.598334][ T13] Workqueue: events bpf_map_free_deferred [ 52.604050][ T13] Call Trace: [ 52.607323][ T13] [ 52.610247][ T13] dump_stack_lvl+0x1e3/0x2d0 [ 52.614921][ T13] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 52.620550][ T13] ? panic+0x860/0x860 [ 52.624620][ T13] validate_chain+0x46d2/0x5930 [ 52.629474][ T13] ? stack_trace_save+0x1c0/0x1c0 [ 52.634492][ T13] ? check_path+0x21/0x40 [ 52.638813][ T13] ? check_noncircular+0x1e1/0x3b0 [ 52.643916][ T13] ? reacquire_held_locks+0x660/0x660 [ 52.649283][ T13] ? lockdep_unlock+0x166/0x300 [ 52.654155][ T13] ? lockdep_lock+0x2a0/0x2a0 [ 52.658836][ T13] ? add_chain_block+0x850/0x850 [ 52.663767][ T13] ? reacquire_held_locks+0x660/0x660 [ 52.669132][ T13] ? validate_chain+0x13bd/0x5930 [ 52.674148][ T13] ? mark_lock+0x98/0x340 [ 52.678470][ T13] __lock_acquire+0x1295/0x1ff0 [ 52.683322][ T13] lock_acquire+0x1db/0x4f0 [ 52.687815][ T13] ? sock_map_delete_elem+0x161/0x230 [ 52.693181][ T13] ? read_lock_is_recursive+0x10/0x10 [ 52.698560][ T13] ? sock_map_delete_elem+0x161/0x230 [ 52.703925][ T13] ? __bpf_trace_softirq+0x10/0x10 [ 52.709035][ T13] ? sock_map_delete_elem+0x161/0x230 [ 52.714400][ T13] _raw_spin_lock_bh+0x31/0x40 [ 52.719158][ T13] ? sock_map_delete_elem+0x161/0x230 [ 52.724520][ T13] sock_map_delete_elem+0x161/0x230 [ 52.729720][ T13] ? sock_map_update_elem+0x380/0x380 [ 52.735088][ T13] bpf_prog_8a405b5ced52e191+0x42/0xb00 [ 52.740626][ T13] bpf_trace_run2+0x19e/0x340 [ 52.745296][ T13] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.750140][ T13] ? sock_map_unref+0x3ac/0x5d0 [ 52.754983][ T13] ? do_raw_spin_lock+0x14a/0x370 [ 52.760030][ T13] ? __bpf_trace_softirq+0x10/0x10 [ 52.765163][ T13] ? sock_map_unref+0x3ac/0x5d0 [ 52.770008][ T13] __bpf_trace_kfree+0x6e/0x90 [ 52.774765][ T13] ? sock_map_unref+0x3ac/0x5d0 [ 52.779609][ T13] kfree+0x22f/0x270 [ 52.783500][ T13] ? sock_map_unref+0xcc/0x5d0 [ 52.788262][ T13] sock_map_unref+0x3ac/0x5d0 [ 52.792973][ T13] sock_map_delete_elem+0x191/0x230 [ 52.798183][ T13] ? sock_map_update_elem+0x380/0x380 [ 52.803566][ T13] bpf_prog_8a405b5ced52e191+0x42/0xb00 [ 52.809111][ T13] bpf_trace_run2+0x19e/0x340 [ 52.813805][ T13] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.818654][ T13] ? sock_map_free+0x363/0x3a0 [ 52.823424][ T13] ? sock_map_free+0x363/0x3a0 [ 52.828190][ T13] __bpf_trace_kfree+0x6e/0x90 [ 52.832955][ T13] ? sock_map_free+0x363/0x3a0 [ 52.837820][ T13] kfree+0x22f/0x270 [ 52.841725][ T13] ? print_irqtrace_events+0x210/0x210 [ 52.847192][ T13] sock_map_free+0x363/0x3a0 [ 52.851793][ T13] process_one_work+0x8a1/0x10c0 [ 52.856820][ T13] ? worker_detach_from_pool+0x260/0x260 [ 52.862454][ T13] ? _raw_spin_lock_irqsave+0x120/0x120 [ 52.868002][ T13] ? kthread_data+0x4e/0xc0 [ 52.872502][ T13] ? wq_worker_running+0x97/0x170 [ 52.877528][ T13] worker_thread+0xaca/0x1280 [ 52.882216][ T13] kthread+0x3f6/0x4f0 [ 52.886282][ T13] ? rcu_lock_release+0x20/0x20 [ 52.891145][ T13] ? kthread_blkcg+0xd0/0xd0 [ 52.895728][ T13] ret_from_fork+0x1f/0x30 [ 52.900241][ T13]