Warning: Permanently added '10.128.1.79' (ED25519) to the list of known hosts. executing program executing program executing program [ 52.047671][ T21] [ 52.050034][ T21] ============================================ [ 52.056185][ T21] WARNING: possible recursive locking detected [ 52.062321][ T21] 5.15.153-syzkaller #0 Not tainted [ 52.067499][ T21] -------------------------------------------- [ 52.073635][ T21] kworker/1:0/21 is trying to acquire lock: [ 52.079557][ T21] ffff88807c8339c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x97/0x130 [ 52.088794][ T21] [ 52.088794][ T21] but task is already holding lock: [ 52.096148][ T21] ffff88807c8339c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x97/0x130 [ 52.105373][ T21] [ 52.105373][ T21] other info that might help us debug this: [ 52.113424][ T21] Possible unsafe locking scenario: [ 52.113424][ T21] [ 52.120864][ T21] CPU0 [ 52.124137][ T21] ---- [ 52.127410][ T21] lock(&stab->lock); [ 52.131465][ T21] lock(&stab->lock); [ 52.135522][ T21] [ 52.135522][ T21] *** DEADLOCK *** [ 52.135522][ T21] [ 52.143657][ T21] May be due to missing lock nesting notation [ 52.143657][ T21] [ 52.151984][ T21] 6 locks held by kworker/1:0/21: [ 52.156995][ T21] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 52.167349][ T21] #1: ffffc90000db7d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 52.178484][ T21] #2: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.187788][ T21] #3: ffff88807c8339c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x97/0x130 [ 52.197436][ T21] #4: ffff888147d77290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 52.207078][ T21] #5: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.216376][ T21] [ 52.216376][ T21] stack backtrace: [ 52.222246][ T21] CPU: 1 PID: 21 Comm: kworker/1:0 Not tainted 5.15.153-syzkaller #0 [ 52.230295][ T21] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 52.241639][ T21] Workqueue: events bpf_map_free_deferred [ 52.247357][ T21] Call Trace: [ 52.250626][ T21] [ 52.253564][ T21] dump_stack_lvl+0x1e3/0x2cb [ 52.258237][ T21] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 52.263858][ T21] ? panic+0x84d/0x84d [ 52.267922][ T21] validate_chain+0x46d2/0x5930 [ 52.272785][ T21] ? add_chain_block+0x850/0x850 [ 52.277823][ T21] ? reacquire_held_locks+0x660/0x660 [ 52.283308][ T21] ? add_chain_block+0x850/0x850 [ 52.288241][ T21] ? reacquire_held_locks+0x660/0x660 [ 52.293602][ T21] ? validate_chain+0x13bd/0x5930 [ 52.298627][ T21] ? mark_lock+0x98/0x340 [ 52.302947][ T21] __lock_acquire+0x1295/0x1ff0 [ 52.307805][ T21] lock_acquire+0x1db/0x4f0 [ 52.312294][ T21] ? sock_map_delete_elem+0x97/0x130 [ 52.317583][ T21] ? read_lock_is_recursive+0x10/0x10 [ 52.322943][ T21] ? mark_lock+0x98/0x340 [ 52.327270][ T21] ? sock_map_delete_elem+0x97/0x130 [ 52.332544][ T21] ? __bpf_trace_softirq+0x10/0x10 [ 52.337644][ T21] ? __lock_acquire+0x1295/0x1ff0 [ 52.342656][ T21] ? sock_map_delete_elem+0x97/0x130 [ 52.347928][ T21] _raw_spin_lock_bh+0x31/0x40 [ 52.352680][ T21] ? sock_map_delete_elem+0x97/0x130 [ 52.357963][ T21] sock_map_delete_elem+0x97/0x130 [ 52.363064][ T21] bpf_prog_2c29ac5cdc6b1842+0x3a/0xabc [ 52.368607][ T21] bpf_trace_run2+0x19e/0x340 [ 52.373278][ T21] ? read_lock_is_recursive+0x10/0x10 [ 52.378647][ T21] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.383483][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 52.388422][ T21] ? do_raw_spin_lock+0x14a/0x370 [ 52.393436][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 52.398278][ T21] __bpf_trace_kfree+0x6e/0x90 [ 52.403031][ T21] ? sock_map_unref+0x3ac/0x5d0 [ 52.407871][ T21] kfree+0x22f/0x270 [ 52.411753][ T21] ? sock_map_unref+0xcc/0x5d0 [ 52.416503][ T21] sock_map_unref+0x3ac/0x5d0 [ 52.421171][ T21] sock_map_delete_elem+0xc3/0x130 [ 52.426268][ T21] bpf_prog_2c29ac5cdc6b1842+0x3a/0xabc [ 52.431815][ T21] bpf_trace_run2+0x19e/0x340 [ 52.436480][ T21] ? exc_int3+0xa/0x70 [ 52.440550][ T21] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.445387][ T21] ? process_one_work+0x8a1/0x10c0 [ 52.450494][ T21] ? mark_lock+0x98/0x340 [ 52.454810][ T21] ? process_one_work+0x8a1/0x10c0 [ 52.460085][ T21] __bpf_trace_kfree+0x6e/0x90 [ 52.464854][ T21] ? process_one_work+0x8a1/0x10c0 [ 52.469958][ T21] kfree+0x22f/0x270 [ 52.473845][ T21] process_one_work+0x8a1/0x10c0 [ 52.478781][ T21] ? worker_detach_from_pool+0x260/0x260 [ 52.484405][ T21] ? _raw_spin_lock_irqsave+0x120/0x120 [ 52.489944][ T21] ? kthread_data+0x4e/0xc0 [ 52.494436][ T21] ? wq_worker_running+0x97/0x170 [ 52.499451][ T21] worker_thread+0xaca/0x1280 [ 52.504125][ T21] kthread+0x3f6/0x4f0 [ 52.508199][ T21] ? rcu_lock_release+0x20/0x20 [ 52.513037][ T21] ? kthread_blkcg+0xd0/0xd0 [ 52.517616][ T21] ret_from_fork+0x1f/0x30 [ 52.522029][ T21]