Warning: Permanently added '10.128.1.232' (ED25519) to the list of known hosts. executing program executing program executing program syzkaller login: [ 42.153220][ T1065] [ 42.155552][ T1065] ============================================ [ 42.161675][ T1065] WARNING: possible recursive locking detected [ 42.167797][ T1065] 5.15.160-syzkaller #0 Not tainted [ 42.172962][ T1065] -------------------------------------------- [ 42.179077][ T1065] kworker/1:2/1065 is trying to acquire lock: [ 42.185110][ T1065] ffff88801dc115c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.194398][ T1065] [ 42.194398][ T1065] but task is already holding lock: [ 42.201733][ T1065] ffff88801dc115c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.211001][ T1065] [ 42.211001][ T1065] other info that might help us debug this: [ 42.219031][ T1065] Possible unsafe locking scenario: [ 42.219031][ T1065] [ 42.226453][ T1065] CPU0 [ 42.229707][ T1065] ---- [ 42.232957][ T1065] lock(&stab->lock); [ 42.236999][ T1065] lock(&stab->lock); [ 42.241041][ T1065] [ 42.241041][ T1065] *** DEADLOCK *** [ 42.241041][ T1065] [ 42.249158][ T1065] May be due to missing lock nesting notation [ 42.249158][ T1065] [ 42.257446][ T1065] 6 locks held by kworker/1:2/1065: [ 42.262620][ T1065] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 42.272936][ T1065] #1: ffffc900048bfd20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 42.283944][ T1065] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.293219][ T1065] #3: ffff88801dc115c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.302936][ T1065] #4: ffff888078f97290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 42.312644][ T1065] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.322002][ T1065] [ 42.322002][ T1065] stack backtrace: [ 42.327889][ T1065] CPU: 1 PID: 1065 Comm: kworker/1:2 Not tainted 5.15.160-syzkaller #0 [ 42.336120][ T1065] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 42.346150][ T1065] Workqueue: events bpf_map_free_deferred [ 42.351850][ T1065] Call Trace: [ 42.355106][ T1065] [ 42.358009][ T1065] dump_stack_lvl+0x1e3/0x2d0 [ 42.362658][ T1065] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 42.368258][ T1065] ? panic+0x860/0x860 [ 42.372304][ T1065] validate_chain+0x46d2/0x5930 [ 42.377130][ T1065] ? stack_trace_save+0x1c0/0x1c0 [ 42.382214][ T1065] ? check_path+0x21/0x40 [ 42.386512][ T1065] ? check_noncircular+0x1e1/0x3b0 [ 42.391593][ T1065] ? reacquire_held_locks+0x660/0x660 [ 42.396946][ T1065] ? lockdep_unlock+0x166/0x300 [ 42.401764][ T1065] ? lockdep_lock+0x2a0/0x2a0 [ 42.406410][ T1065] ? add_chain_block+0x850/0x850 [ 42.411344][ T1065] ? reacquire_held_locks+0x660/0x660 [ 42.416707][ T1065] ? validate_chain+0x13bd/0x5930 [ 42.421706][ T1065] ? mark_lock+0x98/0x340 [ 42.426020][ T1065] __lock_acquire+0x1295/0x1ff0 [ 42.430856][ T1065] lock_acquire+0x1db/0x4f0 [ 42.435335][ T1065] ? sock_map_delete_elem+0x161/0x230 [ 42.440682][ T1065] ? read_lock_is_recursive+0x10/0x10 [ 42.446028][ T1065] ? sock_map_delete_elem+0x161/0x230 [ 42.451379][ T1065] ? __bpf_trace_softirq+0x10/0x10 [ 42.456468][ T1065] ? sock_map_delete_elem+0x161/0x230 [ 42.461809][ T1065] _raw_spin_lock_bh+0x31/0x40 [ 42.466547][ T1065] ? sock_map_delete_elem+0x161/0x230 [ 42.471889][ T1065] sock_map_delete_elem+0x161/0x230 [ 42.477060][ T1065] ? sock_map_update_elem+0x380/0x380 [ 42.482405][ T1065] bpf_prog_2c29ac5cdc6b1842+0x3a/0x508 [ 42.487922][ T1065] bpf_trace_run2+0x19e/0x340 [ 42.492573][ T1065] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.497394][ T1065] ? sock_map_unref+0x3ac/0x5d0 [ 42.502215][ T1065] ? do_raw_spin_lock+0x14a/0x370 [ 42.507209][ T1065] ? __bpf_trace_softirq+0x10/0x10 [ 42.512289][ T1065] ? sock_map_unref+0x3ac/0x5d0 [ 42.517112][ T1065] __bpf_trace_kfree+0x6e/0x90 [ 42.521851][ T1065] ? sock_map_unref+0x3ac/0x5d0 [ 42.526673][ T1065] kfree+0x22f/0x270 [ 42.530538][ T1065] ? sock_map_unref+0xcc/0x5d0 [ 42.535272][ T1065] sock_map_unref+0x3ac/0x5d0 [ 42.539920][ T1065] sock_map_delete_elem+0x191/0x230 [ 42.545088][ T1065] ? sock_map_update_elem+0x380/0x380 [ 42.550430][ T1065] bpf_prog_2c29ac5cdc6b1842+0x3a/0x508 [ 42.555943][ T1065] bpf_trace_run2+0x19e/0x340 [ 42.560590][ T1065] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.565409][ T1065] ? sock_map_free+0x363/0x3a0 [ 42.570140][ T1065] ? sock_map_free+0x363/0x3a0 [ 42.574871][ T1065] __bpf_trace_kfree+0x6e/0x90 [ 42.579606][ T1065] ? sock_map_free+0x363/0x3a0 [ 42.584341][ T1065] kfree+0x22f/0x270 [ 42.588206][ T1065] ? print_irqtrace_events+0x210/0x210 [ 42.593634][ T1065] sock_map_free+0x363/0x3a0 [ 42.598199][ T1065] process_one_work+0x8a1/0x10c0 [ 42.603112][ T1065] ? worker_detach_from_pool+0x260/0x260 [ 42.608714][ T1065] ? _raw_spin_lock_irqsave+0x120/0x120 [ 42.614230][ T1065] ? kthread_data+0x4e/0xc0 [ 42.618702][ T1065] ? wq_worker_running+0x97/0x170 [ 42.623695][ T1065] worker_thread+0xaca/0x1280 [ 42.628342][ T1065] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 42.634208][ T1065] kthread+0x3f6/0x4f0 [ 42.638248][ T1065] ? rcu_lock_release+0x20/0x20 [ 42.643073][ T1065] ? kthread_blkcg+0xd0/0xd0 [ 42.647632][ T1065] ret_from_fork+0x1f/0x30 [ 42.652022][ T1065]