Warning: Permanently added '10.128.0.162' (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 [ 42.823122][ T3523] [ 42.825462][ T3523] ============================================ [ 42.831582][ T3523] WARNING: possible recursive locking detected [ 42.837733][ T3523] 5.15.160-syzkaller #0 Not tainted [ 42.842907][ T3523] -------------------------------------------- [ 42.849033][ T3523] syz-executor269/3523 is trying to acquire lock: [ 42.855416][ T3523] ffff88807ebad1c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.864715][ T3523] [ 42.864715][ T3523] but task is already holding lock: [ 42.872069][ T3523] ffff88807ebad1c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.881344][ T3523] [ 42.881344][ T3523] other info that might help us debug this: [ 42.889376][ T3523] Possible unsafe locking scenario: [ 42.889376][ T3523] [ 42.896799][ T3523] CPU0 [ 42.900055][ T3523] ---- [ 42.903316][ T3523] lock(&stab->lock); [ 42.907367][ T3523] lock(&stab->lock); [ 42.911406][ T3523] [ 42.911406][ T3523] *** DEADLOCK *** [ 42.911406][ T3523] [ 42.919518][ T3523] May be due to missing lock nesting notation [ 42.919518][ T3523] [ 42.927808][ T3523] 5 locks held by syz-executor269/3523: [ 42.933346][ T3523] #0: ffff888075f5dc28 (&mm->mmap_lock){++++}-{3:3}, at: exc_page_fault+0x181/0x740 [ 42.942828][ T3523] #1: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.952199][ T3523] #2: ffff88807ebad1c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.961923][ T3523] #3: ffff888079b3a290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 42.971574][ T3523] #4: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.981115][ T3523] [ 42.981115][ T3523] stack backtrace: [ 42.986985][ T3523] CPU: 0 PID: 3523 Comm: syz-executor269 Not tainted 5.15.160-syzkaller #0 [ 42.995560][ T3523] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 43.005597][ T3523] Call Trace: [ 43.008857][ T3523] [ 43.011766][ T3523] dump_stack_lvl+0x1e3/0x2d0 [ 43.016436][ T3523] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 43.022043][ T3523] ? panic+0x860/0x860 [ 43.026134][ T3523] validate_chain+0x46d2/0x5930 [ 43.030971][ T3523] ? __lock_acquire+0x1295/0x1ff0 [ 43.035980][ T3523] ? reacquire_held_locks+0x660/0x660 [ 43.041343][ T3523] ? mark_lock+0x98/0x340 [ 43.045648][ T3523] ? reacquire_held_locks+0x660/0x660 [ 43.050992][ T3523] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 43.056949][ T3523] ? mark_lock+0x98/0x340 [ 43.061262][ T3523] __lock_acquire+0x1295/0x1ff0 [ 43.066103][ T3523] lock_acquire+0x1db/0x4f0 [ 43.070583][ T3523] ? sock_map_delete_elem+0x161/0x230 [ 43.075958][ T3523] ? read_lock_is_recursive+0x10/0x10 [ 43.081307][ T3523] ? sock_map_delete_elem+0x161/0x230 [ 43.086657][ T3523] ? __bpf_trace_softirq+0x10/0x10 [ 43.091745][ T3523] ? sock_map_delete_elem+0x161/0x230 [ 43.097180][ T3523] _raw_spin_lock_bh+0x31/0x40 [ 43.101926][ T3523] ? sock_map_delete_elem+0x161/0x230 [ 43.107289][ T3523] sock_map_delete_elem+0x161/0x230 [ 43.112472][ T3523] ? sock_map_update_elem+0x380/0x380 [ 43.117821][ T3523] bpf_prog_8a405b5ced52e191+0x42/0x32c [ 43.123341][ T3523] bpf_trace_run4+0x1ea/0x390 [ 43.127994][ T3523] ? unwind_next_frame+0x1437/0x1fa0 [ 43.133258][ T3523] ? bpf_trace_run3+0x380/0x380 [ 43.138093][ T3523] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.143539][ T3523] __alloc_pages+0x6e0/0x700 [ 43.148108][ T3523] ? __rmqueue_pcplist+0x2030/0x2030 [ 43.153373][ T3523] ? wp_page_copy+0x24e/0x2070 [ 43.158170][ T3523] ? stack_trace_save+0x113/0x1c0 [ 43.163178][ T3523] ? alloc_pages+0x458/0x570 [ 43.167766][ T3523] stack_depot_save+0x319/0x440 [ 43.172623][ T3523] save_stack+0x104/0x1e0 [ 43.176928][ T3523] ? seqcount_lockdep_reader_access+0x137/0x1e0 [ 43.183144][ T3523] ? bad_range+0x77/0x2c0 [ 43.187453][ T3523] ? lockdep_hardirqs_on+0x94/0x130 [ 43.192631][ T3523] ? __reset_page_owner+0x180/0x180 [ 43.197807][ T3523] ? get_page_from_freelist+0x322a/0x33c0 [ 43.203503][ T3523] ? __alloc_pages+0x272/0x700 [ 43.208248][ T3523] ? stack_depot_save+0x319/0x440 [ 43.213256][ T3523] ? kasan_set_track+0x62/0x80 [ 43.218002][ T3523] ? kasan_set_free_info+0x1f/0x40 [ 43.223101][ T3523] ? ____kasan_slab_free+0xd8/0x120 [ 43.228281][ T3523] ? slab_free_freelist_hook+0xdd/0x160 [ 43.233825][ T3523] ? kfree+0xf1/0x270 [ 43.237795][ T3523] ? sock_map_unref+0x3ac/0x5d0 [ 43.242641][ T3523] ? sock_map_delete_elem+0x191/0x230 [ 43.248054][ T3523] ? bpf_prog_8a405b5ced52e191+0x42/0x32c [ 43.253747][ T3523] ? bpf_trace_run4+0x1ea/0x390 [ 43.258574][ T3523] ? __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.264188][ T3523] ? __alloc_pages+0x6e0/0x700 [ 43.268936][ T3523] ? alloc_pages_vma+0x39a/0x800 [ 43.273876][ T3523] ? wp_page_copy+0x24e/0x2070 [ 43.278639][ T3523] ? print_irqtrace_events+0x210/0x210 [ 43.284092][ T3523] __set_page_owner+0x37/0x300 [ 43.288833][ T3523] ? post_alloc_hook+0x104/0x220 [ 43.293746][ T3523] get_page_from_freelist+0x322a/0x33c0 [ 43.299276][ T3523] ? unwind_next_frame+0x1437/0x1fa0 [ 43.304537][ T3523] ? __alloc_pages+0x700/0x700 [ 43.309290][ T3523] ? prepare_alloc_pages+0x1db/0x5b0 [ 43.314553][ T3523] __alloc_pages+0x272/0x700 [ 43.319135][ T3523] ? __rmqueue_pcplist+0x2030/0x2030 [ 43.324397][ T3523] ? stack_trace_save+0x113/0x1c0 [ 43.329412][ T3523] ? alloc_pages+0x458/0x570 [ 43.333979][ T3523] stack_depot_save+0x319/0x440 [ 43.338808][ T3523] ? kfree+0xf1/0x270 [ 43.342790][ T3523] kasan_set_track+0x62/0x80 [ 43.347367][ T3523] ? kasan_set_track+0x4b/0x80 [ 43.352105][ T3523] ? kasan_set_free_info+0x1f/0x40 [ 43.357191][ T3523] ? ____kasan_slab_free+0xd8/0x120 [ 43.362362][ T3523] ? slab_free_freelist_hook+0xdd/0x160 [ 43.367885][ T3523] ? kfree+0xf1/0x270 [ 43.371847][ T3523] ? sock_map_unref+0x3ac/0x5d0 [ 43.376682][ T3523] ? sock_map_delete_elem+0x191/0x230 [ 43.382052][ T3523] ? bpf_prog_8a405b5ced52e191+0x42/0x32c [ 43.387754][ T3523] ? bpf_trace_run4+0x1ea/0x390 [ 43.392601][ T3523] ? __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.398208][ T3523] ? __alloc_pages+0x6e0/0x700 [ 43.402953][ T3523] ? alloc_pages_vma+0x39a/0x800 [ 43.407868][ T3523] ? wp_page_copy+0x24e/0x2070 [ 43.412606][ T3523] ? handle_mm_fault+0x2a3d/0x5950 [ 43.417691][ T3523] ? exc_page_fault+0x271/0x740 [ 43.422520][ T3523] ? asm_exc_page_fault+0x22/0x30 [ 43.427532][ T3523] kasan_set_free_info+0x1f/0x40 [ 43.432464][ T3523] ____kasan_slab_free+0xd8/0x120 [ 43.437482][ T3523] slab_free_freelist_hook+0xdd/0x160 [ 43.442833][ T3523] ? sock_map_unref+0x3ac/0x5d0 [ 43.447750][ T3523] kfree+0xf1/0x270 [ 43.451535][ T3523] sock_map_unref+0x3ac/0x5d0 [ 43.456190][ T3523] sock_map_delete_elem+0x191/0x230 [ 43.461366][ T3523] ? sock_map_update_elem+0x380/0x380 [ 43.466717][ T3523] bpf_prog_8a405b5ced52e191+0x42/0x32c [ 43.472340][ T3523] bpf_trace_run4+0x1ea/0x390 [ 43.476999][ T3523] ? bpf_trace_run3+0x380/0x380 [ 43.481835][ T3523] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.487269][ T3523] __alloc_pages+0x6e0/0x700 [ 43.491853][ T3523] ? __rmqueue_pcplist+0x2030/0x2030 [ 43.497115][ T3523] ? mark_lock+0x98/0x340 [ 43.501419][ T3523] ? __lock_acquire+0x1295/0x1ff0 [ 43.506441][ T3523] alloc_pages_vma+0x39a/0x800 [ 43.511187][ T3523] wp_page_copy+0x24e/0x2070 [ 43.515774][ T3523] ? __lock_acquire+0x1ff0/0x1ff0 [ 43.520777][ T3523] ? insert_page_into_pte_locked+0x540/0x540 [ 43.526739][ T3523] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.531916][ T3523] ? _raw_spin_unlock+0x24/0x40 [ 43.536754][ T3523] ? do_wp_page+0x6d0/0xaf0 [ 43.541233][ T3523] handle_mm_fault+0x2a3d/0x5950 [ 43.546148][ T3523] ? numa_migrate_prep+0x1a0/0x1a0 [ 43.551243][ T3523] ? vmacache_find+0x23c/0x590 [ 43.555982][ T3523] exc_page_fault+0x271/0x740 [ 43.560636][ T3523] asm_exc_page_fault+0x22/0x30 [ 43.565461][ T3523] RIP: 0033:0x7f223e206160 [ 43.569852][ T3523] Code: 41 54 55 48 89 f5 53 89 fb 48 83 ec 18 48 83 3d 8d 0e 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 3b 0a 00 0f 85 0f 02 00 00 4c 8d 25 73 3b 0a 00 4c [ 43.589433][ T3523] RSP: 002b:00007fff7a6a0310 EFLAGS: 00010246 [ 43.595476][ T3523] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000001 [ 43.603423][ T3523] RDX: 0000000000000001 RSI: 00007f223e2a7120 RDI: 0000000000000000 [ 43.611366][ T3523] RBP: 00007f223e2a7120 R08: 0000000000000006 R09: 0000000000000006 [ 43.619311][ T3523] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 43.627255][ T3523] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 43.635205][ T3523]