Warning: Permanently added '10.128.0.166' (ED25519) to the list of known hosts. executing program executing program executing program executing program [ 51.843869][ T3504] [ 51.846211][ T3504] ============================================ [ 51.852348][ T3504] WARNING: possible recursive locking detected [ 51.858485][ T3504] 5.15.157-syzkaller #0 Not tainted [ 51.863674][ T3504] -------------------------------------------- [ 51.869805][ T3504] syz-executor864/3504 is trying to acquire lock: [ 51.876200][ T3504] ffff88807aa81668 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.886552][ T3504] [ 51.886552][ T3504] but task is already holding lock: [ 51.893900][ T3504] ffff88807aa81668 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.904332][ T3504] [ 51.904332][ T3504] other info that might help us debug this: [ 51.912384][ T3504] Possible unsafe locking scenario: [ 51.912384][ T3504] [ 51.919909][ T3504] CPU0 [ 51.923219][ T3504] ---- [ 51.926488][ T3504] lock(&htab->buckets[i].lock); [ 51.931502][ T3504] lock(&htab->buckets[i].lock); [ 51.936516][ T3504] [ 51.936516][ T3504] *** DEADLOCK *** [ 51.936516][ T3504] [ 51.945515][ T3504] May be due to missing lock nesting notation [ 51.945515][ T3504] [ 51.953820][ T3504] 4 locks held by syz-executor864/3504: [ 51.959369][ T3504] #0: ffff888072f61628 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x181/0x740 [ 51.969053][ T3504] #1: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.978369][ T3504] #2: ffff88807aa81668 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.989201][ T3504] #3: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.998522][ T3504] [ 51.998522][ T3504] stack backtrace: [ 52.004398][ T3504] CPU: 0 PID: 3504 Comm: syz-executor864 Not tainted 5.15.157-syzkaller #0 [ 52.012979][ T3504] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 52.023025][ T3504] Call Trace: [ 52.026297][ T3504] [ 52.029221][ T3504] dump_stack_lvl+0x1e3/0x2d0 [ 52.033901][ T3504] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 52.039535][ T3504] ? panic+0x860/0x860 [ 52.043607][ T3504] validate_chain+0x46d2/0x5930 [ 52.048455][ T3504] ? __lock_acquire+0x1295/0x1ff0 [ 52.053469][ T3504] ? reacquire_held_locks+0x660/0x660 [ 52.058863][ T3504] ? mark_lock+0x98/0x340 [ 52.063204][ T3504] ? reacquire_held_locks+0x660/0x660 [ 52.068657][ T3504] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 52.074631][ T3504] ? mark_lock+0x98/0x340 [ 52.078954][ T3504] __lock_acquire+0x1295/0x1ff0 [ 52.083814][ T3504] lock_acquire+0x1db/0x4f0 [ 52.088326][ T3504] ? sock_hash_delete_elem+0x177/0x400 [ 52.093795][ T3504] ? read_lock_is_recursive+0x10/0x10 [ 52.099162][ T3504] ? sock_hash_delete_elem+0x177/0x400 [ 52.104619][ T3504] ? __bpf_trace_softirq+0x10/0x10 [ 52.109747][ T3504] ? sock_hash_delete_elem+0x177/0x400 [ 52.115203][ T3504] _raw_spin_lock_bh+0x31/0x40 [ 52.119965][ T3504] ? sock_hash_delete_elem+0x177/0x400 [ 52.125441][ T3504] sock_hash_delete_elem+0x177/0x400 [ 52.130723][ T3504] ? sock_hash_lookup+0x660/0x660 [ 52.135745][ T3504] bpf_prog_a8aaa52f2e199321+0x42/0xa4c [ 52.141282][ T3504] bpf_trace_run4+0x1ea/0x390 [ 52.145980][ T3504] ? unwind_next_frame+0x1437/0x1fa0 [ 52.151441][ T3504] ? bpf_trace_run3+0x380/0x380 [ 52.156287][ T3504] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 52.161738][ T3504] __alloc_pages+0x6e0/0x700 [ 52.166320][ T3504] ? __rmqueue_pcplist+0x2030/0x2030 [ 52.171591][ T3504] ? asm_exc_page_fault+0x22/0x30 [ 52.176601][ T3504] ? stack_trace_save+0x113/0x1c0 [ 52.181615][ T3504] ? alloc_pages+0x458/0x570 [ 52.186208][ T3504] stack_depot_save+0x319/0x440 [ 52.191057][ T3504] save_stack+0x104/0x1e0 [ 52.195404][ T3504] ? seqcount_lockdep_reader_access+0x137/0x1e0 [ 52.201642][ T3504] ? bad_range+0x77/0x2c0 [ 52.205967][ T3504] ? lockdep_hardirqs_on+0x94/0x130 [ 52.211160][ T3504] ? __reset_page_owner+0x180/0x180 [ 52.216451][ T3504] ? get_page_from_freelist+0x322a/0x33c0 [ 52.222164][ T3504] ? __alloc_pages+0x272/0x700 [ 52.227045][ T3504] ? stack_depot_save+0x319/0x440 [ 52.232272][ T3504] ? kasan_save_stack+0x4d/0x60 [ 52.237120][ T3504] ? kasan_record_aux_stack+0xba/0x100 [ 52.242572][ T3504] ? kvfree_call_rcu+0x118/0x8a0 [ 52.247506][ T3504] ? sock_hash_delete_elem+0x3b3/0x400 [ 52.253057][ T3504] ? bpf_prog_a8aaa52f2e199321+0x42/0xa4c [ 52.258773][ T3504] ? bpf_trace_run4+0x1ea/0x390 [ 52.263620][ T3504] ? __bpf_trace_mm_page_alloc+0xba/0xe0 [ 52.269247][ T3504] ? __alloc_pages+0x6e0/0x700 [ 52.274092][ T3504] ? alloc_pages_vma+0x39a/0x800 [ 52.279036][ T3504] ? wp_page_copy+0x24e/0x2070 [ 52.283788][ T3504] ? handle_mm_fault+0x2a3d/0x5950 [ 52.288894][ T3504] ? exc_page_fault+0x271/0x740 [ 52.293751][ T3504] ? asm_exc_page_fault+0x22/0x30 [ 52.298773][ T3504] ? print_irqtrace_events+0x210/0x210 [ 52.304234][ T3504] __set_page_owner+0x37/0x300 [ 52.309009][ T3504] ? post_alloc_hook+0x104/0x220 [ 52.313945][ T3504] get_page_from_freelist+0x322a/0x33c0 [ 52.319590][ T3504] ? unwind_next_frame+0x1437/0x1fa0 [ 52.324889][ T3504] ? __alloc_pages+0x700/0x700 [ 52.329649][ T3504] ? prepare_alloc_pages+0x1db/0x5b0 [ 52.335018][ T3504] __alloc_pages+0x272/0x700 [ 52.339602][ T3504] ? __rmqueue_pcplist+0x2030/0x2030 [ 52.344881][ T3504] ? stack_trace_save+0x113/0x1c0 [ 52.349899][ T3504] ? alloc_pages+0x458/0x570 [ 52.354479][ T3504] stack_depot_save+0x319/0x440 [ 52.359347][ T3504] kasan_save_stack+0x4d/0x60 [ 52.364020][ T3504] ? kasan_save_stack+0x36/0x60 [ 52.368865][ T3504] ? kasan_record_aux_stack+0xba/0x100 [ 52.374322][ T3504] ? kvfree_call_rcu+0x118/0x8a0 [ 52.379274][ T3504] ? sock_hash_delete_elem+0x3b3/0x400 [ 52.384723][ T3504] ? bpf_prog_a8aaa52f2e199321+0x42/0xa4c [ 52.390430][ T3504] ? bpf_trace_run4+0x1ea/0x390 [ 52.395269][ T3504] ? __bpf_trace_mm_page_alloc+0xba/0xe0 [ 52.400892][ T3504] ? __alloc_pages+0x6e0/0x700 [ 52.405763][ T3504] ? alloc_pages_vma+0x39a/0x800 [ 52.410692][ T3504] ? wp_page_copy+0x24e/0x2070 [ 52.415448][ T3504] ? handle_mm_fault+0x2a3d/0x5950 [ 52.420550][ T3504] ? exc_page_fault+0x271/0x740 [ 52.425389][ T3504] ? asm_exc_page_fault+0x22/0x30 [ 52.430416][ T3504] kasan_record_aux_stack+0xba/0x100 [ 52.435705][ T3504] kvfree_call_rcu+0x118/0x8a0 [ 52.440459][ T3504] ? rcu_force_quiescent_state+0x230/0x230 [ 52.446374][ T3504] ? call_rcu+0xa70/0xa70 [ 52.450714][ T3504] sock_hash_delete_elem+0x3b3/0x400 [ 52.456003][ T3504] ? sock_hash_lookup+0x660/0x660 [ 52.461044][ T3504] bpf_prog_a8aaa52f2e199321+0x42/0xa4c [ 52.466581][ T3504] bpf_trace_run4+0x1ea/0x390 [ 52.471271][ T3504] ? bpf_trace_run3+0x380/0x380 [ 52.476117][ T3504] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 52.481571][ T3504] __alloc_pages+0x6e0/0x700 [ 52.486182][ T3504] ? __rmqueue_pcplist+0x2030/0x2030 [ 52.491567][ T3504] ? mark_lock+0x98/0x340 [ 52.495887][ T3504] ? __lock_acquire+0x1295/0x1ff0 [ 52.500901][ T3504] alloc_pages_vma+0x39a/0x800 [ 52.505663][ T3504] wp_page_copy+0x24e/0x2070 [ 52.510248][ T3504] ? __lock_acquire+0x1ff0/0x1ff0 [ 52.515261][ T3504] ? insert_page_into_pte_locked+0x540/0x540 [ 52.521247][ T3504] ? do_raw_spin_unlock+0x137/0x8b0 [ 52.526438][ T3504] ? _raw_spin_unlock+0x24/0x40 [ 52.531282][ T3504] ? do_wp_page+0x6d0/0xaf0 [ 52.535778][ T3504] handle_mm_fault+0x2a3d/0x5950 [ 52.540719][ T3504] ? numa_migrate_prep+0x1a0/0x1a0 [ 52.545834][ T3504] ? vmacache_find+0x23c/0x590 [ 52.550603][ T3504] exc_page_fault+0x271/0x740 [ 52.555276][ T3504] asm_exc_page_fault+0x22/0x30 [ 52.560122][ T3504] RIP: 0033:0x7ffae9f33060 [ 52.564535][ T3504] Code: 41 54 55 48 89 f5 53 89 fb 48 83 ec 18 48 83 3d 8d 0f 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 80 3c 0a 00 0f 85 0f 02 00 00 4c 8d 25 73 3c 0a 00 4c [ 52.584145][ T3504] RSP: 002b:00007ffe54b946a0 EFLAGS: 00010246 [ 52.590200][ T3504] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 52.598156][ T3504] RDX: 0000000000000001 RSI: 00007ffae9fd4120 RDI: 0000000000000000 [ 52.606127][ T3504] RBP: 00007ffae9fd4120 R08: 0000000000000006 R09: 0000000000000006 [ 52.614085][ T3504] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 52.622061][ T3504] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 52.630032][ T3504]