Warning: Permanently added '10.128.1.111' (ED25519) to the list of known hosts. executing program [ 50.426247][ T3501] [ 50.428596][ T3501] ============================================ [ 50.434733][ T3501] WARNING: possible recursive locking detected [ 50.440875][ T3501] 5.15.159-syzkaller #0 Not tainted [ 50.446056][ T3501] -------------------------------------------- [ 50.452188][ T3501] syz-executor379/3501 is trying to acquire lock: [ 50.458582][ T3501] ffff88807d4ad9c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 50.467896][ T3501] [ 50.467896][ T3501] but task is already holding lock: [ 50.475245][ T3501] ffff88807d4ad9c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 50.484539][ T3501] [ 50.484539][ T3501] other info that might help us debug this: [ 50.492581][ T3501] Possible unsafe locking scenario: [ 50.492581][ T3501] [ 50.500026][ T3501] CPU0 [ 50.503294][ T3501] ---- [ 50.506573][ T3501] lock(&stab->lock); [ 50.510629][ T3501] lock(&stab->lock); [ 50.514974][ T3501] [ 50.514974][ T3501] *** DEADLOCK *** [ 50.514974][ T3501] [ 50.523114][ T3501] May be due to missing lock nesting notation [ 50.523114][ T3501] [ 50.531429][ T3501] 4 locks held by syz-executor379/3501: [ 50.536962][ T3501] #0: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.546265][ T3501] #1: ffff88807d4ad9c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 50.556007][ T3501] #2: ffff888147659290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 50.565668][ T3501] #3: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.574971][ T3501] [ 50.574971][ T3501] stack backtrace: [ 50.580849][ T3501] CPU: 0 PID: 3501 Comm: syz-executor379 Not tainted 5.15.159-syzkaller #0 [ 50.589422][ T3501] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 50.599476][ T3501] Call Trace: [ 50.602745][ T3501] [ 50.605668][ T3501] dump_stack_lvl+0x1e3/0x2d0 [ 50.610339][ T3501] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 50.615963][ T3501] ? panic+0x860/0x860 [ 50.620031][ T3501] validate_chain+0x46d2/0x5930 [ 50.624889][ T3501] ? check_path+0x21/0x40 [ 50.629214][ T3501] ? check_noncircular+0x1e1/0x3b0 [ 50.634319][ T3501] ? reacquire_held_locks+0x660/0x660 [ 50.639704][ T3501] ? lockdep_unlock+0x166/0x300 [ 50.644545][ T3501] ? lockdep_lock+0x2a0/0x2a0 [ 50.649217][ T3501] ? reacquire_held_locks+0x660/0x660 [ 50.654583][ T3501] ? validate_chain+0x13bd/0x5930 [ 50.659628][ T3501] ? mark_lock+0x98/0x340 [ 50.663952][ T3501] __lock_acquire+0x1295/0x1ff0 [ 50.668804][ T3501] lock_acquire+0x1db/0x4f0 [ 50.673300][ T3501] ? sock_map_delete_elem+0x161/0x230 [ 50.678668][ T3501] ? read_lock_is_recursive+0x10/0x10 [ 50.684031][ T3501] ? sock_map_delete_elem+0x161/0x230 [ 50.689398][ T3501] ? __bpf_trace_softirq+0x10/0x10 [ 50.694512][ T3501] ? sock_map_delete_elem+0x161/0x230 [ 50.699972][ T3501] _raw_spin_lock_bh+0x31/0x40 [ 50.704833][ T3501] ? sock_map_delete_elem+0x161/0x230 [ 50.710200][ T3501] sock_map_delete_elem+0x161/0x230 [ 50.715388][ T3501] ? sock_map_update_elem+0x380/0x380 [ 50.720761][ T3501] bpf_prog_2c29ac5cdc6b1842+0x3a/0xd10 [ 50.726384][ T3501] bpf_trace_run2+0x19e/0x340 [ 50.731049][ T3501] ? bpf_trace_run1+0x2f0/0x2f0 [ 50.735893][ T3501] ? sock_map_unref+0x3ac/0x5d0 [ 50.740733][ T3501] ? do_raw_spin_lock+0x14a/0x370 [ 50.745745][ T3501] ? __bpf_trace_softirq+0x10/0x10 [ 50.750844][ T3501] ? sock_map_unref+0x3ac/0x5d0 [ 50.755687][ T3501] __bpf_trace_kfree+0x6e/0x90 [ 50.760449][ T3501] ? sock_map_unref+0x3ac/0x5d0 [ 50.765295][ T3501] kfree+0x22f/0x270 [ 50.769183][ T3501] ? sock_map_unref+0xcc/0x5d0 [ 50.773946][ T3501] sock_map_unref+0x3ac/0x5d0 [ 50.778637][ T3501] sock_map_delete_elem+0x191/0x230 [ 50.783843][ T3501] ? sock_map_update_elem+0x380/0x380 [ 50.789209][ T3501] ? lockdep_hardirqs_on+0x94/0x130 [ 50.794399][ T3501] ? __local_bh_enable_ip+0x164/0x1f0 [ 50.799786][ T3501] bpf_prog_2c29ac5cdc6b1842+0x3a/0xd10 [ 50.805335][ T3501] bpf_trace_run2+0x19e/0x340 [ 50.810010][ T3501] ? bpf_trace_run1+0x2f0/0x2f0 [ 50.814853][ T3501] ? map_update_elem+0x6ab/0x7c0 [ 50.819784][ T3501] ? sock_map_update_elem_sys+0x549/0x770 [ 50.825491][ T3501] ? map_update_elem+0x6ab/0x7c0 [ 50.830422][ T3501] __bpf_trace_kfree+0x6e/0x90 [ 50.835291][ T3501] ? map_update_elem+0x6ab/0x7c0 [ 50.840226][ T3501] kfree+0x22f/0x270 [ 50.844124][ T3501] map_update_elem+0x6ab/0x7c0 [ 50.848898][ T3501] __sys_bpf+0x2fd/0x670 [ 50.853133][ T3501] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 50.858520][ T3501] ? syscall_enter_from_user_mode+0x2e/0x240 [ 50.864492][ T3501] ? lockdep_hardirqs_on+0x94/0x130 [ 50.869712][ T3501] __x64_sys_bpf+0x78/0x90 [ 50.874226][ T3501] do_syscall_64+0x3b/0xb0 [ 50.878637][ T3501] ? clear_bhb_loop+0x15/0x70 [ 50.883413][ T3501] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 50.889298][ T3501] RIP: 0033:0x7f7e113f4e39 [ 50.893708][ T3501] 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 [ 50.913330][ T3501] RSP: 002b:00007ffca913fca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 50.921747][ T3501] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7e113f4e39 [ 50.929706][ T3501] RDX: 0000000000000020 RSI: 0000000020000500 RDI: 0000000000000002 [ 50.937674][ T3501] RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006 [ 50.945720][ T3501] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 50.953688][ T3501] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 50.961665][ T3501]