Warning: Permanently added '10.128.0.255' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.740229][ T3520] [ 42.742599][ T3520] ============================================ [ 42.748741][ T3520] WARNING: possible recursive locking detected [ 42.754867][ T3520] 5.15.160-syzkaller #0 Not tainted [ 42.760047][ T3520] -------------------------------------------- [ 42.766171][ T3520] syz-executor378/3520 is trying to acquire lock: [ 42.772556][ T3520] ffff88807673f068 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 42.783119][ T3520] [ 42.783119][ T3520] but task is already holding lock: [ 42.790457][ T3520] ffff88807673f068 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 42.800861][ T3520] [ 42.800861][ T3520] other info that might help us debug this: [ 42.808921][ T3520] Possible unsafe locking scenario: [ 42.808921][ T3520] [ 42.816351][ T3520] CPU0 [ 42.819617][ T3520] ---- [ 42.822879][ T3520] lock(&htab->buckets[i].lock); [ 42.827893][ T3520] lock(&htab->buckets[i].lock); [ 42.832895][ T3520] [ 42.832895][ T3520] *** DEADLOCK *** [ 42.832895][ T3520] [ 42.841014][ T3520] May be due to missing lock nesting notation [ 42.841014][ T3520] [ 42.849333][ T3520] 4 locks held by syz-executor378/3520: [ 42.854850][ T3520] #0: ffff888079461628 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x181/0x740 [ 42.864318][ T3520] #1: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.873619][ T3520] #2: ffff88807673f068 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 42.884373][ T3520] #3: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.893648][ T3520] [ 42.893648][ T3520] stack backtrace: [ 42.899518][ T3520] CPU: 1 PID: 3520 Comm: syz-executor378 Not tainted 5.15.160-syzkaller #0 [ 42.908078][ T3520] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 42.918114][ T3520] Call Trace: [ 42.921374][ T3520] [ 42.924283][ T3520] dump_stack_lvl+0x1e3/0x2d0 [ 42.928939][ T3520] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 42.934546][ T3520] ? panic+0x860/0x860 [ 42.938594][ T3520] validate_chain+0x46d2/0x5930 [ 42.943426][ T3520] ? __lock_acquire+0x1295/0x1ff0 [ 42.948428][ T3520] ? reacquire_held_locks+0x660/0x660 [ 42.953789][ T3520] ? mark_lock+0x98/0x340 [ 42.958096][ T3520] ? reacquire_held_locks+0x660/0x660 [ 42.963445][ T3520] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 42.969399][ T3520] ? mark_lock+0x98/0x340 [ 42.973706][ T3520] __lock_acquire+0x1295/0x1ff0 [ 42.978533][ T3520] lock_acquire+0x1db/0x4f0 [ 42.983009][ T3520] ? sock_hash_delete_elem+0x177/0x400 [ 42.988444][ T3520] ? read_lock_is_recursive+0x10/0x10 [ 42.993790][ T3520] ? sock_hash_delete_elem+0x177/0x400 [ 42.999223][ T3520] ? __bpf_trace_softirq+0x10/0x10 [ 43.004317][ T3520] ? sock_hash_delete_elem+0x177/0x400 [ 43.009756][ T3520] _raw_spin_lock_bh+0x31/0x40 [ 43.014508][ T3520] ? sock_hash_delete_elem+0x177/0x400 [ 43.019940][ T3520] sock_hash_delete_elem+0x177/0x400 [ 43.025200][ T3520] ? sock_hash_lookup+0x660/0x660 [ 43.030201][ T3520] bpf_prog_2c29ac5cdc6b1842+0x3a/0x690 [ 43.035721][ T3520] bpf_trace_run4+0x1ea/0x390 [ 43.040385][ T3520] ? unwind_next_frame+0x1437/0x1fa0 [ 43.045643][ T3520] ? bpf_trace_run3+0x380/0x380 [ 43.050468][ T3520] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.055924][ T3520] __alloc_pages+0x6e0/0x700 [ 43.060507][ T3520] ? __rmqueue_pcplist+0x2030/0x2030 [ 43.065765][ T3520] ? asm_exc_page_fault+0x22/0x30 [ 43.070764][ T3520] ? stack_trace_save+0x113/0x1c0 [ 43.075762][ T3520] ? alloc_pages+0x458/0x570 [ 43.080355][ T3520] stack_depot_save+0x319/0x440 [ 43.085200][ T3520] save_stack+0x104/0x1e0 [ 43.089514][ T3520] ? seqcount_lockdep_reader_access+0x137/0x1e0 [ 43.095730][ T3520] ? bad_range+0x77/0x2c0 [ 43.100033][ T3520] ? lockdep_hardirqs_on+0x94/0x130 [ 43.105207][ T3520] ? __reset_page_owner+0x180/0x180 [ 43.110385][ T3520] ? get_page_from_freelist+0x322a/0x33c0 [ 43.116081][ T3520] ? __alloc_pages+0x272/0x700 [ 43.120816][ T3520] ? stack_depot_save+0x319/0x440 [ 43.125813][ T3520] ? kasan_save_stack+0x4d/0x60 [ 43.130636][ T3520] ? kasan_record_aux_stack+0xba/0x100 [ 43.136067][ T3520] ? kvfree_call_rcu+0x118/0x8a0 [ 43.140976][ T3520] ? sock_hash_delete_elem+0x3b3/0x400 [ 43.146406][ T3520] ? bpf_prog_2c29ac5cdc6b1842+0x3a/0x690 [ 43.152094][ T3520] ? bpf_trace_run4+0x1ea/0x390 [ 43.156918][ T3520] ? __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.162526][ T3520] ? __alloc_pages+0x6e0/0x700 [ 43.167262][ T3520] ? alloc_pages_vma+0x39a/0x800 [ 43.172172][ T3520] ? wp_page_copy+0x24e/0x2070 [ 43.176927][ T3520] ? handle_mm_fault+0x2a3d/0x5950 [ 43.182010][ T3520] ? exc_page_fault+0x271/0x740 [ 43.186833][ T3520] ? asm_exc_page_fault+0x22/0x30 [ 43.191829][ T3520] ? print_irqtrace_events+0x210/0x210 [ 43.197262][ T3520] __set_page_owner+0x37/0x300 [ 43.201999][ T3520] ? post_alloc_hook+0x104/0x220 [ 43.206912][ T3520] get_page_from_freelist+0x322a/0x33c0 [ 43.212437][ T3520] ? unwind_next_frame+0x1437/0x1fa0 [ 43.217696][ T3520] ? __alloc_pages+0x700/0x700 [ 43.222433][ T3520] ? prepare_alloc_pages+0x1db/0x5b0 [ 43.227691][ T3520] __alloc_pages+0x272/0x700 [ 43.232255][ T3520] ? __rmqueue_pcplist+0x2030/0x2030 [ 43.237524][ T3520] ? stack_trace_save+0x113/0x1c0 [ 43.242525][ T3520] ? alloc_pages+0x458/0x570 [ 43.247118][ T3520] stack_depot_save+0x319/0x440 [ 43.251946][ T3520] kasan_save_stack+0x4d/0x60 [ 43.256599][ T3520] ? kasan_save_stack+0x36/0x60 [ 43.261423][ T3520] ? kasan_record_aux_stack+0xba/0x100 [ 43.266854][ T3520] ? kvfree_call_rcu+0x118/0x8a0 [ 43.271782][ T3520] ? sock_hash_delete_elem+0x3b3/0x400 [ 43.277214][ T3520] ? bpf_prog_2c29ac5cdc6b1842+0x3a/0x690 [ 43.282906][ T3520] ? bpf_trace_run4+0x1ea/0x390 [ 43.287742][ T3520] ? __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.293347][ T3520] ? __alloc_pages+0x6e0/0x700 [ 43.298084][ T3520] ? alloc_pages_vma+0x39a/0x800 [ 43.302995][ T3520] ? wp_page_copy+0x24e/0x2070 [ 43.307737][ T3520] ? handle_mm_fault+0x2a3d/0x5950 [ 43.312834][ T3520] ? exc_page_fault+0x271/0x740 [ 43.317656][ T3520] ? asm_exc_page_fault+0x22/0x30 [ 43.322679][ T3520] kasan_record_aux_stack+0xba/0x100 [ 43.327937][ T3520] kvfree_call_rcu+0x118/0x8a0 [ 43.332676][ T3520] ? rcu_force_quiescent_state+0x230/0x230 [ 43.338470][ T3520] ? call_rcu+0xa70/0xa70 [ 43.342774][ T3520] ? sk_psock_drop+0x2f1/0x500 [ 43.347531][ T3520] sock_hash_delete_elem+0x3b3/0x400 [ 43.352793][ T3520] ? sock_hash_lookup+0x660/0x660 [ 43.357805][ T3520] bpf_prog_2c29ac5cdc6b1842+0x3a/0x690 [ 43.363322][ T3520] bpf_trace_run4+0x1ea/0x390 [ 43.367977][ T3520] ? bpf_trace_run3+0x380/0x380 [ 43.372816][ T3520] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.378250][ T3520] __alloc_pages+0x6e0/0x700 [ 43.382816][ T3520] ? __rmqueue_pcplist+0x2030/0x2030 [ 43.388077][ T3520] ? mark_lock+0x98/0x340 [ 43.392428][ T3520] ? __lock_acquire+0x1295/0x1ff0 [ 43.397426][ T3520] alloc_pages_vma+0x39a/0x800 [ 43.402165][ T3520] wp_page_copy+0x24e/0x2070 [ 43.406735][ T3520] ? __lock_acquire+0x1ff0/0x1ff0 [ 43.411749][ T3520] ? insert_page_into_pte_locked+0x540/0x540 [ 43.417707][ T3520] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.422880][ T3520] ? _raw_spin_unlock+0x24/0x40 [ 43.427720][ T3520] ? do_wp_page+0x6d0/0xaf0 [ 43.432198][ T3520] handle_mm_fault+0x2a3d/0x5950 [ 43.437120][ T3520] ? numa_migrate_prep+0x1a0/0x1a0 [ 43.442210][ T3520] ? vmacache_find+0x23c/0x590 [ 43.446963][ T3520] exc_page_fault+0x271/0x740 [ 43.451617][ T3520] asm_exc_page_fault+0x22/0x30 [ 43.456466][ T3520] RIP: 0033:0x7fd768bdf2d0 [ 43.460855][ T3520] Code: 41 54 55 48 89 f5 53 89 fb 48 83 ec 18 48 83 3d 1d 0d 0a 00 00 89 54 24 0c 74 08 84 c9 0f 85 09 02 00 00 31 c0 ba 01 00 00 00 0f b1 15 10 3a 0a 00 0f 85 0f 02 00 00 4c 8d 25 03 3a 0a 00 4c [ 43.480554][ T3520] RSP: 002b:00007ffdd3223110 EFLAGS: 00010246 [ 43.486597][ T3520] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 43.494544][ T3520] RDX: 0000000000000001 RSI: 00007fd768c80120 RDI: 0000000000000000 [ 43.502494][ T3520] RBP: 00007fd768c80120 R08: 0000000000000006 R09: 0000000000000006 [ 43.510454][ T3520] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 43.518404][ T3520] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 43.526354][ T3520]