Warning: Permanently added '10.128.1.43' (ED25519) to the list of known hosts. executing program [ 58.753558][ T3544] [ 58.755925][ T3544] ============================================ [ 58.762077][ T3544] WARNING: possible recursive locking detected [ 58.768214][ T3544] 6.1.87-syzkaller #0 Not tainted [ 58.773225][ T3544] -------------------------------------------- [ 58.779363][ T3544] syz-executor261/3544 is trying to acquire lock: [ 58.785761][ T3544] ffff88807ae39240 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 58.795087][ T3544] [ 58.795087][ T3544] but task is already holding lock: [ 58.802445][ T3544] ffff88807ae39a40 (&stab->lock){+...}-{2:2}, at: sock_map_update_common+0x1b6/0x5b0 [ 58.811937][ T3544] [ 58.811937][ T3544] other info that might help us debug this: [ 58.819990][ T3544] Possible unsafe locking scenario: [ 58.819990][ T3544] [ 58.827431][ T3544] CPU0 [ 58.830704][ T3544] ---- [ 58.833983][ T3544] lock(&stab->lock); [ 58.838053][ T3544] lock(&stab->lock); [ 58.842122][ T3544] [ 58.842122][ T3544] *** DEADLOCK *** [ 58.842122][ T3544] [ 58.850256][ T3544] May be due to missing lock nesting notation [ 58.850256][ T3544] [ 58.858565][ T3544] 5 locks held by syz-executor261/3544: [ 58.864100][ T3544] #0: ffff888022886930 (sk_lock-AF_UNIX){+.+.}-{0:0}, at: sock_map_update_elem_sys+0x1c8/0x910 [ 58.874567][ T3544] #1: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: sock_map_update_elem_sys+0x1d4/0x910 [ 58.884860][ T3544] #2: ffff88807ae39a40 (&stab->lock){+...}-{2:2}, at: sock_map_update_common+0x1b6/0x5b0 [ 58.894801][ T3544] #3: ffff888016281290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 58.904464][ T3544] #4: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x110/0x410 [ 58.913865][ T3544] [ 58.913865][ T3544] stack backtrace: [ 58.919868][ T3544] CPU: 0 PID: 3544 Comm: syz-executor261 Not tainted 6.1.87-syzkaller #0 [ 58.928284][ T3544] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 58.938337][ T3544] Call Trace: [ 58.941619][ T3544] [ 58.944549][ T3544] dump_stack_lvl+0x1e3/0x2cb [ 58.949251][ T3544] ? nf_tcp_handle_invalid+0x642/0x642 [ 58.954715][ T3544] ? panic+0x764/0x764 [ 58.958786][ T3544] validate_chain+0x4711/0x5950 [ 58.963661][ T3544] ? reacquire_held_locks+0x660/0x660 [ 58.969043][ T3544] ? unwind_next_frame+0x1a3f/0x2220 [ 58.974327][ T3544] ? reacquire_held_locks+0x660/0x660 [ 58.979708][ T3544] ? reacquire_held_locks+0x660/0x660 [ 58.985107][ T3544] ? validate_chain+0x112/0x5950 [ 58.990055][ T3544] ? mark_lock+0x9a/0x340 [ 58.994394][ T3544] ? __lock_acquire+0x125b/0x1f80 [ 58.999441][ T3544] ? mark_lock+0x9a/0x340 [ 59.003787][ T3544] __lock_acquire+0x125b/0x1f80 [ 59.008671][ T3544] lock_acquire+0x1f8/0x5a0 [ 59.013216][ T3544] ? sock_map_delete_elem+0x161/0x230 [ 59.018604][ T3544] ? read_lock_is_recursive+0x10/0x10 [ 59.023984][ T3544] ? group_send_sig_info+0x82/0x300 [ 59.029186][ T3544] ? sock_map_delete_elem+0x161/0x230 [ 59.034563][ T3544] ? __bpf_trace_softirq+0x10/0x10 [ 59.039684][ T3544] ? lockdep_assert_task_sighand_held+0x2b0/0x2b0 [ 59.046105][ T3544] ? sock_map_delete_elem+0x161/0x230 [ 59.051487][ T3544] _raw_spin_lock_bh+0x31/0x40 [ 59.056259][ T3544] ? sock_map_delete_elem+0x161/0x230 [ 59.061652][ T3544] sock_map_delete_elem+0x161/0x230 [ 59.066859][ T3544] ? sock_map_update_elem+0x500/0x500 [ 59.072273][ T3544] bpf_prog_029d1888f6cd2729+0x3f/0x43 [ 59.077732][ T3544] bpf_trace_run2+0x1fd/0x410 [ 59.082409][ T3544] ? bpf_trace_run2+0x110/0x410 [ 59.087271][ T3544] ? bpf_trace_run1+0x3d0/0x3d0 [ 59.092119][ T3544] ? sock_map_unref+0x3ac/0x5d0 [ 59.096973][ T3544] ? __rwlock_init+0x140/0x140 [ 59.101735][ T3544] ? sock_map_unref+0x3ac/0x5d0 [ 59.106594][ T3544] __bpf_trace_kfree+0x6e/0x90 [ 59.111353][ T3544] ? sock_map_unref+0x3ac/0x5d0 [ 59.116205][ T3544] kfree+0xf6/0x190 [ 59.120004][ T3544] sock_map_unref+0x3ac/0x5d0 [ 59.124689][ T3544] sock_map_update_common+0x4ec/0x5b0 [ 59.130070][ T3544] sock_map_update_elem_sys+0x55b/0x910 [ 59.135621][ T3544] ? sock_map_update_elem_sys+0x1d4/0x910 [ 59.141341][ T3544] ? sock_map_prog_detach+0x290/0x290 [ 59.146719][ T3544] ? bpf_map_update_value+0x14a/0x6f0 [ 59.152099][ T3544] map_update_elem+0x503/0x680 [ 59.156874][ T3544] __sys_bpf+0x337/0x6c0 [ 59.161123][ T3544] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 59.166499][ T3544] ? fd_install+0x57/0x540 [ 59.170921][ T3544] ? print_irqtrace_events+0x210/0x210 [ 59.176387][ T3544] ? print_irqtrace_events+0x210/0x210 [ 59.181857][ T3544] ? syscall_enter_from_user_mode+0x2e/0x230 [ 59.187832][ T3544] ? lockdep_hardirqs_on+0x94/0x130 [ 59.193032][ T3544] __x64_sys_bpf+0x78/0x90 [ 59.197452][ T3544] do_syscall_64+0x3b/0xb0 [ 59.201871][ T3544] ? clear_bhb_loop+0x45/0xa0 [ 59.206552][ T3544] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 59.212459][ T3544] RIP: 0033:0x7f74a3b64a29 [ 59.216876][ T3544] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 59.236478][ T3544] RSP: 002b:00007ffcff5574b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 59.244889][ T3544] RAX: ffffffffffffffda RBX: 00007ffcff557688 RCX: 00007f74a3b64a29 [ 59.252862][ T3544] RDX: 00000