Warning: Permanently added '10.128.1.35' (ED25519) to the list of known hosts. executing program [ 52.333741][ T3500] [ 52.336096][ T3500] ============================================ [ 52.342232][ T3500] WARNING: possible recursive locking detected [ 52.348366][ T3500] 5.15.159-syzkaller #0 Not tainted [ 52.353549][ T3500] -------------------------------------------- [ 52.359686][ T3500] syz-executor605/3500 is trying to acquire lock: [ 52.366082][ T3500] ffff888023cda9c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 52.375408][ T3500] [ 52.375408][ T3500] but task is already holding lock: [ 52.382776][ T3500] ffff888023cda9c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 52.392076][ T3500] [ 52.392076][ T3500] other info that might help us debug this: [ 52.400314][ T3500] Possible unsafe locking scenario: [ 52.400314][ T3500] [ 52.407755][ T3500] CPU0 [ 52.411030][ T3500] ---- [ 52.414295][ T3500] lock(&stab->lock); [ 52.418354][ T3500] lock(&stab->lock); [ 52.422408][ T3500] [ 52.422408][ T3500] *** DEADLOCK *** [ 52.422408][ T3500] [ 52.430538][ T3500] May be due to missing lock nesting notation [ 52.430538][ T3500] [ 52.438846][ T3500] 4 locks held by syz-executor605/3500: [ 52.444386][ T3500] #0: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.453711][ T3500] #1: ffff888023cda9c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 52.463444][ T3500] #2: ffff888018b35290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 52.473107][ T3500] #3: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.482430][ T3500] [ 52.482430][ T3500] stack backtrace: [ 52.488302][ T3500] CPU: 1 PID: 3500 Comm: syz-executor605 Not tainted 5.15.159-syzkaller #0 [ 52.496870][ T3500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 52.506912][ T3500] Call Trace: [ 52.510201][ T3500] [ 52.513140][ T3500] dump_stack_lvl+0x1e3/0x2d0 [ 52.517809][ T3500] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 52.523428][ T3500] ? panic+0x860/0x860 [ 52.527509][ T3500] validate_chain+0x46d2/0x5930 [ 52.532359][ T3500] ? check_path+0x21/0x40 [ 52.536690][ T3500] ? check_noncircular+0x1e1/0x3b0 [ 52.541839][ T3500] ? reacquire_held_locks+0x660/0x660 [ 52.547208][ T3500] ? lockdep_unlock+0x166/0x300 [ 52.552062][ T3500] ? lockdep_lock+0x2a0/0x2a0 [ 52.556737][ T3500] ? reacquire_held_locks+0x660/0x660 [ 52.562102][ T3500] ? validate_chain+0x13bd/0x5930 [ 52.567118][ T3500] ? mark_lock+0x98/0x340 [ 52.571441][ T3500] __lock_acquire+0x1295/0x1ff0 [ 52.576431][ T3500] lock_acquire+0x1db/0x4f0 [ 52.580931][ T3500] ? sock_map_delete_elem+0x161/0x230 [ 52.586326][ T3500] ? read_lock_is_recursive+0x10/0x10 [ 52.591703][ T3500] ? sock_map_delete_elem+0x161/0x230 [ 52.597080][ T3500] ? __bpf_trace_softirq+0x10/0x10 [ 52.602192][ T3500] ? sock_map_delete_elem+0x161/0x230 [ 52.607566][ T3500] _raw_spin_lock_bh+0x31/0x40 [ 52.612335][ T3500] ? sock_map_delete_elem+0x161/0x230 [ 52.617717][ T3500] sock_map_delete_elem+0x161/0x230 [ 52.622924][ T3500] ? sock_map_update_elem+0x380/0x380 [ 52.628301][ T3500] bpf_prog_2c29ac5cdc6b1842+0x3a/0xea8 [ 52.633860][ T3500] bpf_trace_run2+0x19e/0x340 [ 52.638553][ T3500] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.643395][ T3500] ? sock_map_unref+0x3ac/0x5d0 [ 52.648247][ T3500] ? do_raw_spin_lock+0x14a/0x370 [ 52.653274][ T3500] ? __bpf_trace_softirq+0x10/0x10 [ 52.658378][ T3500] ? sock_map_unref+0x3ac/0x5d0 [ 52.663223][ T3500] __bpf_trace_kfree+0x6e/0x90 [ 52.668001][ T3500] ? sock_map_unref+0x3ac/0x5d0 [ 52.672844][ T3500] kfree+0x22f/0x270 [ 52.676732][ T3500] ? sock_map_unref+0xcc/0x5d0 [ 52.681512][ T3500] sock_map_unref+0x3ac/0x5d0 [ 52.686188][ T3500] sock_map_delete_elem+0x191/0x230 [ 52.691379][ T3500] ? sock_map_update_elem+0x380/0x380 [ 52.696858][ T3500] ? lockdep_hardirqs_on+0x94/0x130 [ 52.702087][ T3500] ? __local_bh_enable_ip+0x164/0x1f0 [ 52.707461][ T3500] bpf_prog_2c29ac5cdc6b1842+0x3a/0xea8 [ 52.712997][ T3500] bpf_trace_run2+0x19e/0x340 [ 52.717680][ T3500] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.722538][ T3500] ? map_update_elem+0x6ab/0x7c0 [ 52.727472][ T3500] ? sock_map_update_elem_sys+0x549/0x770 [ 52.733329][ T3500] ? map_update_elem+0x6ab/0x7c0 [ 52.738271][ T3500] __bpf_trace_kfree+0x6e/0x90 [ 52.743032][ T3500] ? map_update_elem+0x6ab/0x7c0 [ 52.747965][ T3500] kfree+0x22f/0x270 [ 52.751884][ T3500] map_update_elem+0x6ab/0x7c0 [ 52.756643][ T3500] __sys_bpf+0x2fd/0x670 [ 52.760893][ T3500] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 52.766282][ T3500] ? syscall_enter_from_user_mode+0x2e/0x240 [ 52.772267][ T3500] ? lockdep_hardirqs_on+0x94/0x130 [ 52.777470][ T3500] __x64_sys_bpf+0x78/0x90 [ 52.781887][ T3500] do_syscall_64+0x3b/0xb0 [ 52.786300][ T3500] ? clear_bhb_loop+0x15/0x70 [ 52.790982][ T3500] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 52.796903][ T3500] RIP: 0033:0x7f3a3f148e39 [ 52.801312][ T3500] 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 [ 52.820907][ T3500] RSP: 002b:00007ffc026d8e08 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 52.829313][ T3500] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3a3f148e39 [ 52.837286][ T3500] RDX: 0000000000000020 RSI: 0000000020000500 RDI: 0000000000000002 [ 52.845247][ T3500] RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006 [ 52.853212][ T3500] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 52.861183][ T3500] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 52.869169][ T3500]