Warning: Permanently added '10.128.0.56' (ED25519) to the list of known hosts. executing program syzkaller login: [ 40.508039][ T3505] [ 40.510384][ T3505] ============================================ [ 40.516508][ T3505] WARNING: possible recursive locking detected [ 40.522630][ T3505] 5.15.156-syzkaller #0 Not tainted [ 40.527795][ T3505] -------------------------------------------- [ 40.533913][ T3505] syz-executor103/3505 is trying to acquire lock: [ 40.540294][ T3505] ffff88807d480dc0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 40.549598][ T3505] [ 40.549598][ T3505] but task is already holding lock: [ 40.556946][ T3505] ffff88807d4809c0 (&stab->lock){+...}-{2:2}, at: sock_map_update_common+0x1b6/0x5b0 [ 40.566391][ T3505] [ 40.566391][ T3505] other info that might help us debug this: [ 40.574432][ T3505] Possible unsafe locking scenario: [ 40.574432][ T3505] [ 40.581880][ T3505] CPU0 [ 40.585159][ T3505] ---- [ 40.588415][ T3505] lock(&stab->lock); [ 40.592459][ T3505] lock(&stab->lock); [ 40.596498][ T3505] [ 40.596498][ T3505] *** DEADLOCK *** [ 40.596498][ T3505] [ 40.604629][ T3505] May be due to missing lock nesting notation [ 40.604629][ T3505] [ 40.612937][ T3505] 5 locks held by syz-executor103/3505: [ 40.618453][ T3505] #0: ffff888078289120 (sk_lock-AF_UNIX){+.+.}-{0:0}, at: sock_map_update_elem_sys+0x1c8/0x770 [ 40.628880][ T3505] #1: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 40.638605][ T3505] #2: ffff88807d4809c0 (&stab->lock){+...}-{2:2}, at: sock_map_update_common+0x1b6/0x5b0 [ 40.648493][ T3505] #3: ffff888078693290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 40.658121][ T3505] #4: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 40.667398][ T3505] [ 40.667398][ T3505] stack backtrace: [ 40.673271][ T3505] CPU: 0 PID: 3505 Comm: syz-executor103 Not tainted 5.15.156-syzkaller #0 [ 40.681831][ T3505] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 40.691862][ T3505] Call Trace: [ 40.695121][ T3505] [ 40.698029][ T3505] dump_stack_lvl+0x1e3/0x2d0 [ 40.702686][ T3505] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 40.708291][ T3505] ? panic+0x860/0x860 [ 40.712343][ T3505] validate_chain+0x46d2/0x5930 [ 40.717174][ T3505] ? reacquire_held_locks+0x660/0x660 [ 40.722520][ T3505] ? __lock_acquire+0x1ff0/0x1ff0 [ 40.727556][ T3505] ? unwind_next_frame+0x1437/0x1fa0 [ 40.732819][ T3505] ? mark_lock+0x98/0x340 [ 40.737122][ T3505] ? __lock_acquire+0x1295/0x1ff0 [ 40.742123][ T3505] ? mark_lock+0x98/0x340 [ 40.746432][ T3505] __lock_acquire+0x1295/0x1ff0 [ 40.751258][ T3505] lock_acquire+0x1db/0x4f0 [ 40.755735][ T3505] ? sock_map_delete_elem+0x161/0x230 [ 40.761094][ T3505] ? read_lock_is_recursive+0x10/0x10 [ 40.766441][ T3505] ? sock_map_delete_elem+0x161/0x230 [ 40.771883][ T3505] ? __bpf_trace_softirq+0x10/0x10 [ 40.776968][ T3505] ? lockdep_assert_task_sighand_held+0x280/0x280 [ 40.783360][ T3505] ? sock_map_delete_elem+0x161/0x230 [ 40.788712][ T3505] _raw_spin_lock_bh+0x31/0x40 [ 40.793455][ T3505] ? sock_map_delete_elem+0x161/0x230 [ 40.798886][ T3505] sock_map_delete_elem+0x161/0x230 [ 40.804058][ T3505] ? sock_map_update_elem+0x380/0x380 [ 40.809410][ T3505] bpf_prog_029d1888f6cd2729+0x3f/0xc7c [ 40.814929][ T3505] bpf_trace_run2+0x19e/0x340 [ 40.819585][ T3505] ? bpf_trace_run1+0x2f0/0x2f0 [ 40.824408][ T3505] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 40.830381][ T3505] ? sock_map_unref+0x3ac/0x5d0 [ 40.835234][ T3505] ? do_raw_spin_lock+0x14a/0x370 [ 40.840244][ T3505] ? __bpf_trace_softirq+0x10/0x10 [ 40.845339][ T3505] ? sock_map_unref+0x3ac/0x5d0 [ 40.850173][ T3505] __bpf_trace_kfree+0x6e/0x90 [ 40.854931][ T3505] ? sock_map_unref+0x3ac/0x5d0 [ 40.859762][ T3505] kfree+0x22f/0x270 [ 40.863634][ T3505] ? sock_map_unref+0xcc/0x5d0 [ 40.868631][ T3505] sock_map_unref+0x3ac/0x5d0 [ 40.873295][ T3505] sock_map_update_common+0x4ec/0x5b0 [ 40.878641][ T3505] sock_map_update_elem_sys+0x440/0x770 [ 40.884172][ T3505] ? sock_map_prog_detach+0x290/0x290 [ 40.889519][ T3505] map_update_elem+0x6a0/0x7c0 [ 40.894261][ T3505] __sys_bpf+0x2fd/0x670 [ 40.898478][ T3505] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 40.903828][ T3505] ? syscall_enter_from_user_mode+0x2e/0x240 [ 40.909782][ T3505] ? lockdep_hardirqs_on+0x94/0x130 [ 40.914956][ T3505] __x64_sys_bpf+0x78/0x90 [ 40.919350][ T3505] do_syscall_64+0x3b/0xb0 [ 40.923739][ T3505] ? clear_bhb_loop+0x15/0x70 [ 40.928390][ T3505] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 40.934259][ T3505] RIP: 0033:0x7f25665a8a29 [ 40.938657][ T3505] 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 [ 40.958249][ T3505]