Warning: Permanently added '10.128.0.54' (ED25519) to the list of known hosts. executing program [ 41.740355][ T3506] [ 41.742692][ T3506] ============================================ [ 41.748815][ T3506] WARNING: possible recursive locking detected [ 41.754937][ T3506] 5.15.157-syzkaller #0 Not tainted [ 41.760105][ T3506] -------------------------------------------- [ 41.766224][ T3506] syz-executor402/3506 is trying to acquire lock: [ 41.772608][ T3506] ffff8880251365c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 41.781905][ T3506] [ 41.781905][ T3506] but task is already holding lock: [ 41.789240][ T3506] ffff8880251365c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 41.798512][ T3506] [ 41.798512][ T3506] other info that might help us debug this: [ 41.806547][ T3506] Possible unsafe locking scenario: [ 41.806547][ T3506] [ 41.813969][ T3506] CPU0 [ 41.817222][ T3506] ---- [ 41.820474][ T3506] lock(&stab->lock); [ 41.824534][ T3506] lock(&stab->lock); [ 41.828576][ T3506] [ 41.828576][ T3506] *** DEADLOCK *** [ 41.828576][ T3506] [ 41.836689][ T3506] May be due to missing lock nesting notation [ 41.836689][ T3506] [ 41.844978][ T3506] 4 locks held by syz-executor402/3506: [ 41.850497][ T3506] #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 41.859790][ T3506] #1: ffff8880251365c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 41.869495][ T3506] #2: ffff88807c857290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 41.879114][ T3506] #3: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 41.888394][ T3506] [ 41.888394][ T3506] stack backtrace: [ 41.894255][ T3506] CPU: 1 PID: 3506 Comm: syz-executor402 Not tainted 5.15.157-syzkaller #0 [ 41.902814][ T3506] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 41.912845][ T3506] Call Trace: [ 41.916103][ T3506] [ 41.919149][ T3506] dump_stack_lvl+0x1e3/0x2d0 [ 41.923812][ T3506] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 41.929418][ T3506] ? panic+0x860/0x860 [ 41.933464][ T3506] validate_chain+0x46d2/0x5930 [ 41.938295][ T3506] ? check_path+0x21/0x40 [ 41.942599][ T3506] ? check_noncircular+0x1e1/0x3b0 [ 41.947687][ T3506] ? reacquire_held_locks+0x660/0x660 [ 41.953036][ T3506] ? lockdep_unlock+0x166/0x300 [ 41.957858][ T3506] ? lockdep_lock+0x2a0/0x2a0 [ 41.962512][ T3506] ? reacquire_held_locks+0x660/0x660 [ 41.967858][ T3506] ? validate_chain+0x13bd/0x5930 [ 41.972856][ T3506] ? mark_lock+0x98/0x340 [ 41.977159][ T3506] __lock_acquire+0x1295/0x1ff0 [ 41.981987][ T3506] lock_acquire+0x1db/0x4f0 [ 41.986469][ T3506] ? sock_map_delete_elem+0x161/0x230 [ 41.991819][ T3506] ? read_lock_is_recursive+0x10/0x10 [ 41.997169][ T3506] ? sock_map_delete_elem+0x161/0x230 [ 42.002516][ T3506] ? __bpf_trace_softirq+0x10/0x10 [ 42.007606][ T3506] ? sock_map_delete_elem+0x161/0x230 [ 42.012949][ T3506] _raw_spin_lock_bh+0x31/0x40 [ 42.017688][ T3506] ? sock_map_delete_elem+0x161/0x230 [ 42.023033][ T3506] sock_map_delete_elem+0x161/0x230 [ 42.028204][ T3506] ? sock_map_update_elem+0x380/0x380 [ 42.033550][ T3506] bpf_prog_2c29ac5cdc6b1842+0x3a/0x868 [ 42.039068][ T3506] bpf_trace_run2+0x19e/0x340 [ 42.043737][ T3506] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.048561][ T3506] ? sock_map_unref+0x3ac/0x5d0 [ 42.053476][ T3506] ? do_raw_spin_lock+0x14a/0x370 [ 42.058473][ T3506] ? __bpf_trace_softirq+0x10/0x10 [ 42.063556][ T3506] ? sock_map_unref+0x3ac/0x5d0 [ 42.068385][ T3506] __bpf_trace_kfree+0x6e/0x90 [ 42.073122][ T3506] ? sock_map_unref+0x3ac/0x5d0 [ 42.077945][ T3506] kfree+0x22f/0x270 [ 42.081812][ T3506] ? sock_map_unref+0xcc/0x5d0 [ 42.086552][ T3506] sock_map_unref+0x3ac/0x5d0 [ 42.091200][ T3506] sock_map_delete_elem+0x191/0x230 [ 42.096371][ T3506] ? sock_map_update_elem+0x380/0x380 [ 42.101714][ T3506] ? lockdep_hardirqs_on+0x94/0x130 [ 42.106889][ T3506] ? __local_bh_enable_ip+0x164/0x1f0 [ 42.112236][ T3506] bpf_prog_2c29ac5cdc6b1842+0x3a/0x868 [ 42.117752][ T3506] bpf_trace_run2+0x19e/0x340 [ 42.122403][ T3506] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.127226][ T3506] ? map_update_elem+0x6ab/0x7c0 [ 42.132140][ T3506] ? sock_map_update_elem_sys+0x549/0x770 [ 42.137833][ T3506] ? map_update_elem+0x6ab/0x7c0 [ 42.142745][ T3506] __bpf_trace_kfree+0x6e/0x90 [ 42.147481][ T3506] ? map_update_elem+0x6ab/0x7c0 [ 42.152391][ T3506] kfree+0x22f/0x270 [ 42.156259][ T3506] map_update_elem+0x6ab/0x7c0 [ 42.160996][ T3506] __sys_bpf+0x2fd/0x670 [ 42.165214][ T3506] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 42.170559][ T3506] ? syscall_enter_from_user_mode+0x2e/0x240 [ 42.176514][ T3506] ? lockdep_hardirqs_on+0x94/0x130 [ 42.181689][ T3506] __x64_sys_bpf+0x78/0x90 [ 42.186083][ T3506] do_syscall_64+0x3b/0xb0 [ 42.190470][ T3506] ? clear_bhb_loop+0x15/0x70 [ 42.195122][ T3506] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 42.200985][ T3506] RIP: 0033:0x7fc0e6f3ce39 [ 42.205372][ T3506] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 42.224952][ T3506] RSP: 002b:00007ffeb40c9318 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 42.233337][ T3506] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc0e6f3ce39 [ 42.241281][ T3506] RDX: 0000000000000020 RSI: 0000000020000500 RDI: 0000000000000002 [ 42.249225][ T3506] RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006 [ 42.257168][ T3506] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 42.265110][ T3506] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 42.273058][ T3506]