Warning: Permanently added '10.128.1.119' (ED25519) to the list of known hosts. executing program syzkaller login: [ 50.075934][ T3499] [ 50.078283][ T3499] ============================================ [ 50.084408][ T3499] WARNING: possible recursive locking detected [ 50.090530][ T3499] 5.15.152-syzkaller #0 Not tainted [ 50.095699][ T3499] -------------------------------------------- [ 50.101825][ T3499] syz-executor212/3499 is trying to acquire lock: [ 50.108219][ T3499] ffff88807d8b2db8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 50.117081][ T3499] [ 50.117081][ T3499] but task is already holding lock: [ 50.124433][ T3499] ffff88807d8b29b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 50.133280][ T3499] [ 50.133280][ T3499] other info that might help us debug this: [ 50.141312][ T3499] Possible unsafe locking scenario: [ 50.141312][ T3499] [ 50.148735][ T3499] CPU0 [ 50.151992][ T3499] ---- [ 50.155247][ T3499] lock(&trie->lock); [ 50.159298][ T3499] lock(&trie->lock); [ 50.163950][ T3499] [ 50.163950][ T3499] *** DEADLOCK *** [ 50.163950][ T3499] [ 50.172067][ T3499] May be due to missing lock nesting notation [ 50.172067][ T3499] [ 50.180366][ T3499] 3 locks held by syz-executor212/3499: [ 50.185901][ T3499] #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.195186][ T3499] #1: ffff88807d8b29b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 50.204468][ T3499] #2: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.213747][ T3499] [ 50.213747][ T3499] stack backtrace: [ 50.219613][ T3499] CPU: 0 PID: 3499 Comm: syz-executor212 Not tainted 5.15.152-syzkaller #0 [ 50.228182][ T3499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 50.238232][ T3499] Call Trace: [ 50.241522][ T3499] [ 50.244463][ T3499] dump_stack_lvl+0x1e3/0x2cb [ 50.249124][ T3499] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 50.254736][ T3499] ? panic+0x84d/0x84d [ 50.258787][ T3499] validate_chain+0x46d2/0x5930 [ 50.263629][ T3499] ? reacquire_held_locks+0x660/0x660 [ 50.269002][ T3499] ? stack_depot_save+0x3db/0x440 [ 50.274005][ T3499] ? do_raw_spin_lock+0x14a/0x370 [ 50.279016][ T3499] ? __lock_acquire+0x1ff0/0x1ff0 [ 50.284035][ T3499] ? do_raw_spin_unlock+0x137/0x8b0 [ 50.289228][ T3499] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 50.295188][ T3499] ? _raw_spin_unlock+0x40/0x40 [ 50.300024][ T3499] ? stack_trace_save+0x113/0x1c0 [ 50.305029][ T3499] ? mark_lock+0x98/0x340 [ 50.309336][ T3499] __lock_acquire+0x1295/0x1ff0 [ 50.314170][ T3499] lock_acquire+0x1db/0x4f0 [ 50.318650][ T3499] ? trie_delete_elem+0x90/0x690 [ 50.323599][ T3499] ? mark_lock+0x98/0x340 [ 50.327913][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 50.333264][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 50.338271][ T3499] _raw_spin_lock_irqsave+0xd1/0x120 [ 50.343537][ T3499] ? trie_delete_elem+0x90/0x690 [ 50.348556][ T3499] ? _raw_spin_lock+0x40/0x40 [ 50.353211][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 50.358563][ T3499] trie_delete_elem+0x90/0x690 [ 50.363305][ T3499] ? __cant_sleep+0x270/0x270 [ 50.367966][ T3499] bpf_prog_2c29ac5cdc6b1842+0x3a/0x8d0 [ 50.373518][ T3499] bpf_trace_run4+0x1ea/0x390 [ 50.378177][ T3499] ? bpf_trace_run3+0x380/0x380 [ 50.383009][ T3499] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 50.388448][ T3499] __alloc_pages+0x6e0/0x700 [ 50.393018][ T3499] ? __rmqueue_pcplist+0x2030/0x2030 [ 50.398283][ T3499] ? do_raw_spin_lock+0x14a/0x370 [ 50.403288][ T3499] kmalloc_large_node+0x7c/0x180 [ 50.408205][ T3499] ? _raw_spin_lock_irqsave+0xac/0x120 [ 50.413643][ T3499] __kmalloc_node+0x22d/0x390 [ 50.418299][ T3499] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 50.423739][ T3499] ? _raw_spin_lock+0x40/0x40 [ 50.428394][ T3499] bpf_map_kmalloc_node+0xdb/0x160 [ 50.433598][ T3499] trie_update_elem+0x1cb/0xc00 [ 50.438431][ T3499] ? asm_exc_page_fault+0x22/0x30 [ 50.443438][ T3499] bpf_map_update_value+0x5d7/0x6c0 [ 50.448618][ T3499] map_update_elem+0x6a0/0x7c0 [ 50.453364][ T3499] __sys_bpf+0x2fd/0x670 [ 50.457588][ T3499] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 50.462946][ T3499] ? syscall_enter_from_user_mode+0x2e/0x230 [ 50.468904][ T3499] ? lockdep_hardirqs_on+0x94/0x130 [ 50.474079][ T3499] __x64_sys_bpf+0x78/0x90 [ 50.478491][ T3499] do_syscall_64+0x3d/0xb0 [ 50.482888][ T3499] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 50.488760][ T3499] RIP: 0033:0x7f995bd0f7a9 [ 50.493154][ T3499] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 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 [ 50.512735][ T3499] RSP: 002b:00007ffed5258398 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 50.521127][ T3499] RAX: ffffffffffffffda RBX: 00007ffed5258568 RCX: 00007f