Warning: Permanently added '10.128.10.45' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 45.463537][ T3616] [ 45.465886][ T3616] ============================================ [ 45.472011][ T3616] WARNING: possible recursive locking detected [ 45.478137][ T3616] 5.15.157-syzkaller #0 Not tainted [ 45.483316][ T3616] -------------------------------------------- [ 45.489464][ T3616] syz-executor200/3616 is trying to acquire lock: [ 45.495854][ T3616] ffff8880776fcc68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 45.506190][ T3616] [ 45.506190][ T3616] but task is already holding lock: [ 45.513530][ T3616] ffff8880776fcc68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 45.523853][ T3616] [ 45.523853][ T3616] other info that might help us debug this: [ 45.531890][ T3616] Possible unsafe locking scenario: [ 45.531890][ T3616] [ 45.539315][ T3616] CPU0 [ 45.542573][ T3616] ---- [ 45.545830][ T3616] lock(&htab->buckets[i].lock); [ 45.550836][ T3616] lock(&htab->buckets[i].lock); [ 45.555847][ T3616] [ 45.555847][ T3616] *** DEADLOCK *** [ 45.555847][ T3616] [ 45.563970][ T3616] May be due to missing lock nesting notation [ 45.563970][ T3616] [ 45.572269][ T3616] 5 locks held by syz-executor200/3616: [ 45.577791][ T3616] #0: ffff888014f8f128 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x181/0x740 [ 45.587248][ T3616] #1: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 45.596525][ T3616] #2: ffff8880776fcc68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 45.607280][ T3616] #3: ffff888074419290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 45.616906][ T3616] #4: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 45.626189][ T3616] [ 45.626189][ T3616] stack backtrace: [ 45.632053][ T3616] CPU: 1 PID: 3616 Comm: syz-executor200 Not tainted 5.15.157-syzkaller #0 [ 45.640619][ T3616] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 45.650657][ T3616] Call Trace: [ 45.653934][ T3616] [ 45.656846][ T3616] dump_stack_lvl+0x1e3/0x2d0 [ 45.661505][ T3616] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 45.667118][ T3616] ? panic+0x860/0x860 [ 45.671193][ T3616] validate_chain+0x46d2/0x5930 [ 45.676027][ T3616] ? __lock_acquire+0x1295/0x1ff0 [ 45.681030][ T3616] ? reacquire_held_locks+0x660/0x660 [ 45.686382][ T3616] ? mark_lock+0x98/0x340 [ 45.690692][ T3616] ? reacquire_held_locks+0x660/0x660 [ 45.696043][ T3616] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 45.702000][ T3616] ? mark_lock+0x98/0x340 [ 45.706313][ T3616] __lock_acquire+0x1295/0x1ff0 [ 45.711153][ T3616] lock_acquire+0x1db/0x4f0 [ 45.715634][ T3616] ? sock_hash_delete_elem+0x177/0x400 [ 45.721096][ T3616] ? read_lock_is_recursive+0x10/0x10 [ 45.726465][ T3616] ? sock_hash_delete_elem+0x177/0x400 [ 45.731907][ T3616] ? __bpf_trace_softirq+0x10/0x10 [ 45.737000][ T3616] ? sock_hash_delete_elem+0x177/0x400 [ 45.742443][ T3616] _raw_spin_lock_bh+0x31/0x40 [ 45.747192][ T3616] ? sock_hash_delete_elem+0x177/0x400 [ 45.752630][ T3616] sock_hash_delete_elem+0x177/0x400 [ 45.757902][ T3616] ? sock_hash_lookup+0x660/0x660 [ 45.762908][ T3616] bpf_prog_2c29ac5cdc6b1842+0x3a/0x308 [ 45.768429][ T3616] bpf_trace_run4+0x1ea/0x390 [ 45.773086][ T3616] ? unwind_next_frame+0x1437/0x1fa0 [ 45.778353][ T3616] ? bpf_trace_run3+0x380/0x380 [ 45.783185][ T3616] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 45.788627][ T3616] __alloc_pages+0x6e0/0x700 [ 45.793195][ T3616] ? __rmqueue_pcplist+0x2030/0x2030 [ 45.798460][ T3616] ? wp_page_copy+0x24e/0x2070 [ 45.803210][ T3616] ? stack_trace_save+0x113/0x1c0 [ 45.808213][ T3616] ? alloc_pages+0x458/0x570 [ 45.812786][ T3616] stack_depot_save+0x319/0x440 [ 45.817617][ T3616] save_stack+0x104/0x1e0 [ 45.821923][ T3616] ? seqcount_lockdep_reader_access+0x137/0x1e0 [ 45.828142][ T3616] ? bad_range+0x77/0x2c0 [ 45.832450][ T3616] ? lockdep_hardirqs_on+0x94/0x130 [ 45.837637][ T3616] ? __reset_page_owner+0x180/0x180 [ 45.842820][ T3616] ? get_page_from_freelist+0x322a/0x33c0 [ 45.848544][ T3616] ? __alloc_pages+0x272/0x700 [ 45.853300][ T3616] ? stack_depot_save+0x319/0x440 [ 45.858301][ T3616] ? kasan_set_track+0x62/0x80 [ 45.863041][ T3616] ? kasan_set_free_info+0x1f/0x40 [ 45.868127][ T3616] ? ____kasan_slab_free+0xd8/0x120 [ 45.873304][ T3616] ? slab_free_freelist_hook+0xdd/0x160 [ 45.878828][ T3616] ? kfree+0xf1/0x270 [ 45.882788][ T3616] ? sock_map_unref+0x3ac/0x5d0 [ 45.887618][ T3616] ? sock_hash_delete_elem+0x388/0x400 [ 45.893076][ T3616] ? bpf_prog_2c29ac5cdc6b1842+0x3a/0x308 [ 45.898771][ T3616] ? bpf_trace_run4+0x1ea/0x390 [ 45.903600][ T3616] ? __bpf_trace_mm_page_alloc+0xba/0xe0 [ 45.909214][ T3616] ? __alloc_pages+0x6e0/0x700 [ 45.913957][ T3616] ? alloc_pages_vma+0x39a/0x800 [ 45.918875][ T3616] ? wp_page_copy+0x24e/0x2070 [ 45.923619][ T3616] ? print_irqtrace_events+0x210/0x210 [ 45.929058][ T3616] __set_page_owner+0x37/0x300 [ 45.933803][ T3616] ? post_alloc_hook+0x104/0x220 [ 45.938719][ T3616] get_page_from_freelist+0x322a/0x33c0 [ 45.944270][ T3616] ? unwind_next_frame+0x1437/0x1fa0 [ 45.949535][ T3616] ? __alloc_pages+0x700/0x700 [ 45.954281][ T3616] ? prepare_alloc_pages+0x1db/0x5b0 [ 45.959544][ T3616] __alloc_pages+0x272/0x700 [ 45.964111][ T3616] ? __rmqueue_pcplist+0x2030/0x2030 [ 45.969377][ T3616] ? stack_trace_save+0x113/0x1c0 [ 45.974386][ T3616] ? alloc_pages+0x458/0x570 [ 45.978970][ T3616] stack_depot_save+0x319/0x440 [ 45.983802][ T3616] ? kfree+0xf1/0x270 [ 45.987764][ T3616] kasan_set_track+0x62/0x80 [ 45.992333][ T3616] ? kasan_set_track+0x4b/0x80 [ 45.997077][ T3616] ? kasan_set_free_info+0x1f/0x40 [ 46.002164][ T3616] ? ____kasan_slab_free+0xd8/0x120 [ 46.007340][ T3616] ? slab_free_freelist_hook+0xdd/0x160 [ 46.012862][ T3616] ? kfree+0xf1/0x270 [ 46.016822][ T3616] ? sock_map_unref+0x3ac/0x5d0 [ 46.021650][ T3616] ? sock_hash_delete_elem+0x388/0x400 [ 46.027094][ T3616] ? bpf_prog_2c29ac5cdc6b1842+0x3a/0x308 [ 46.032795][ T3616] ? bpf_trace_run4+0x1ea/0x390 [ 46.037627][ T3616] ? __bpf_trace_mm_page_alloc+0xba/0xe0 [ 46.043268][ T3616] ? __alloc_pages+0x6e0/0x700 [ 46.048009][ T3616] ? alloc_pages_vma+0x39a/0x800 [ 46.052930][ T3616] ? wp_page_copy+0x24e/0x2070 [ 46.057682][ T3616] ? handle_mm_fault+0x2a3d/0x5950 [ 46.062782][ T3616] ? exc_page_fault+0x271/0x740 [ 46.067612][ T3616] ? asm_exc_page_fault+0x22/0x30 [ 46.072622][ T3616] kasan_set_free_info+0x1f/0x40 [ 46.077549][ T3616] ____kasan_slab_free+0xd8/0x120 [ 46.082558][ T3616] slab_free_freelist_hook+0xdd/0x160 [ 46.087916][ T3616] ? sock_map_unref+0x3ac/0x5d0 [ 46.092748][ T3616] kfree+0xf1/0x270 [ 46.096536][ T3616] sock_map_unref+0x3ac/0x5d0 [ 46.101194][ T3616] sock_hash_delete_elem+0x388/0x400 [ 46.106464][ T3616] ? sock_hash_lookup+0x660/0x660 [ 46.111476][ T3616] bpf_prog_2c29ac5cdc6b1842+0x3a/0x308 [ 46.117014][ T3616] bpf_trace_run4+0x1ea/0x390 [ 46.121683][ T3616] ? bpf_trace_run3+0x380/0x380 [ 46.126519][ T3616] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 46.131960][ T3616] __alloc_pages+0x6e0/0x700 [ 46.136529][ T3616] ? __rmqueue_pcplist+0x2030/0x2030 [ 46.141805][ T3616] ? mark_lock+0x98/0x340 [ 46.146118][ T3616] ? __lock_acquire+0x1295/0x1ff0 [ 46.151127][ T3616] alloc_pages_vma+0x39a/0x800 [ 46.155878][ T3616] wp_page_copy+0x24e/0x2070 [ 46.160476][ T3616] ? __lock_acquire+0x1ff0/0x1ff0 [ 46.165480][ T3616] ? insert_page_into_pte_locked+0x540/0x540 [ 46.171438][ T3616] ? do_raw_spin_unlock+0x137/0x8b0 [ 46.176617][ T3616] ? _raw_spin_unlock+0x24/0x40 [ 46.181452][ T3616] ? do_wp_page+0x6d0/0xaf0 [ 46.185946][ T3616] handle_mm_fault+0x2a3d/0x5950 [ 46.190870][ T3616] ? numa_migrate_prep+0x1a0/0x1a0 [ 46.195969][ T3616] ? vmacache_find+0x4f9/0x590 [ 46.200709][ T3616] ? vmacache_update+0x9f/0xf0 [ 46.205454][ T3616] exc_page_fault+0x271/0x740 [ 46.210115][ T3616] asm_exc_page_fault+0x22/0x30 [ 46.214947][ T3616] RIP: 0033:0x7f36bf10b2e0 [ 46.219342][ T3616] Code: 41 54 55 48 89 f5 53 89 fb 48 83 ec 18 48 83 3d 0d 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 00 3a 0a 00 0f 85 0f 02 00 00 4c 8d 25 f3 39 0a 00 4c [ 46.238928][ T3616] RSP: 002b:00007ffc9b4ec4a0 EFLAGS: 00010246 [ 46.244980][ T3616] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 46.252941][ T3616] RDX: 0000000000000001 RSI: 00007f36bf1ac120 RDI: 0000000000000000 [ 46.260926][ T3616] RBP: 00007f36bf1ac120 R08: 0000000000000006 R09: 0000000000000006 [ 46.268878][ T3616] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 46.276829][ T3616] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 46.284789][ T3616]