Warning: Permanently added '10.128.0.228' (ED25519) to the list of known hosts. executing program executing program [ 46.801133][ T3506] [ 46.803486][ T3506] ============================================ [ 46.809612][ T3506] WARNING: possible recursive locking detected [ 46.815735][ T3506] 5.15.156-syzkaller #0 Not tainted [ 46.820904][ T3506] -------------------------------------------- [ 46.827028][ T3506] syz-executor165/3506 is trying to acquire lock: [ 46.833731][ T3506] ffff8880798f5260 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 46.844072][ T3506] [ 46.844072][ T3506] but task is already holding lock: [ 46.851411][ T3506] ffff88807ade18f8 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 46.861735][ T3506] [ 46.861735][ T3506] other info that might help us debug this: [ 46.869767][ T3506] Possible unsafe locking scenario: [ 46.869767][ T3506] [ 46.877189][ T3506] CPU0 [ 46.880447][ T3506] ---- [ 46.883702][ T3506] lock(&htab->buckets[i].lock); [ 46.888703][ T3506] lock(&htab->buckets[i].lock); [ 46.893705][ T3506] [ 46.893705][ T3506] *** DEADLOCK *** [ 46.893705][ T3506] [ 46.901825][ T3506] May be due to missing lock nesting notation [ 46.901825][ T3506] [ 46.910121][ T3506] 4 locks held by syz-executor165/3506: [ 46.915640][ T3506] #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 46.924928][ T3506] #1: ffff88807ade18f8 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 46.936041][ T3506] #2: ffff8880795d2290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 46.945671][ T3506] #3: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 46.954956][ T3506] [ 46.954956][ T3506] stack backtrace: [ 46.960819][ T3506] CPU: 0 PID: 3506 Comm: syz-executor165 Not tainted 5.15.156-syzkaller #0 [ 46.969381][ T3506] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 46.979414][ T3506] Call Trace: [ 46.982764][ T3506] [ 46.985677][ T3506] dump_stack_lvl+0x1e3/0x2d0 [ 46.990340][ T3506] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 46.995967][ T3506] ? panic+0x860/0x860 [ 47.000022][ T3506] validate_chain+0x46d2/0x5930 [ 47.004865][ T3506] ? mark_lock+0x98/0x340 [ 47.009186][ T3506] ? reacquire_held_locks+0x660/0x660 [ 47.014539][ T3506] ? __lock_acquire+0x1295/0x1ff0 [ 47.019554][ T3506] ? mark_lock+0x98/0x340 [ 47.023877][ T3506] ? __lock_acquire+0x1295/0x1ff0 [ 47.028882][ T3506] ? mark_lock+0x98/0x340 [ 47.033190][ T3506] __lock_acquire+0x1295/0x1ff0 [ 47.038023][ T3506] lock_acquire+0x1db/0x4f0 [ 47.042503][ T3506] ? sock_hash_delete_elem+0x177/0x400 [ 47.047943][ T3506] ? read_lock_is_recursive+0x10/0x10 [ 47.053292][ T3506] ? sock_hash_delete_elem+0x177/0x400 [ 47.058727][ T3506] ? __bpf_trace_softirq+0x10/0x10 [ 47.063813][ T3506] ? group_send_sig_info+0x2b5/0x2d0 [ 47.069079][ T3506] ? lockdep_assert_task_sighand_held+0x280/0x280 [ 47.075479][ T3506] ? sock_hash_delete_elem+0x177/0x400 [ 47.080925][ T3506] _raw_spin_lock_bh+0x31/0x40 [ 47.085670][ T3506] ? sock_hash_delete_elem+0x177/0x400 [ 47.091108][ T3506] sock_hash_delete_elem+0x177/0x400 [ 47.096374][ T3506] ? sock_hash_lookup+0x660/0x660 [ 47.101380][ T3506] bpf_prog_174bfe9d52de9121+0x47/0x12c [ 47.106901][ T3506] bpf_trace_run2+0x19e/0x340 [ 47.111556][ T3506] ? bpf_trace_run1+0x2f0/0x2f0 [ 47.116383][ T3506] ? sock_map_unref+0x3ac/0x5d0 [ 47.121213][ T3506] ? do_raw_spin_lock+0x14a/0x370 [ 47.126216][ T3506] ? __bpf_trace_softirq+0x10/0x10 [ 47.131308][ T3506] ? sock_map_unref+0x3ac/0x5d0 [ 47.136139][ T3506] __bpf_trace_kfree+0x6e/0x90 [ 47.140881][ T3506] ? sock_map_unref+0x3ac/0x5d0 [ 47.145708][ T3506] kfree+0x22f/0x270 [ 47.149582][ T3506] ? sock_map_unref+0xcc/0x5d0 [ 47.154325][ T3506] sock_map_unref+0x3ac/0x5d0 [ 47.159074][ T3506] sock_hash_delete_elem+0x388/0x400 [ 47.164339][ T3506] ? sock_hash_lookup+0x660/0x660 [ 47.169344][ T3506] map_delete_elem+0x431/0x580 [ 47.174088][ T3506] __sys_bpf+0x311/0x670 [ 47.178309][ T3506] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 47.183667][ T3506] ? syscall_enter_from_user_mode+0x2e/0x240 [ 47.189628][ T3506] ? lockdep_hardirqs_on+0x94/0x130 [ 47.194808][ T3506] __x64_sys_bpf+0x78/0x90 [ 47.199203][ T3506] do_syscall_64+0x3b/0xb0 [ 47.203599][ T3506] ? clear_bhb_loop+0x15/0x70 [ 47.208257][ T3506] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 47.214131][ T3506] RIP: 0033:0x7f3f5c841e69 [ 47.218525][ 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 [ 47.238104][ T3506] RSP: 002b:00007ffd122fd8d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 executing program executing program executing program executing program executing program executing program executing program [ 47.246495][ T3506] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3f5c841e69 [ 47.254449][ T3506] RDX: 0000000000000020 RSI: 0000000020000080 RDI: 0000000000000003 [ 47.262401][ T3506] RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 [ 47.270356][ T3506] R10: 00000000000000a0 R11: 0000000000000246 R12: 0000000000000001 [ 47.278304][ T3506] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 47.286264][ T3506] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program