Warning: Permanently added '10.128.10.18' (ED25519) to the list of known hosts. executing program [ 68.123547][ T4164] [ 68.127879][ T4164] ============================================ [ 68.134881][ T4164] WARNING: possible recursive locking detected [ 68.144354][ T4164] 5.15.180-syzkaller #0 Not tainted [ 68.150402][ T4164] -------------------------------------------- [ 68.156768][ T4164] syz-executor342/4164 is trying to acquire lock: [ 68.163778][ T4164] ffff8880176501b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 68.174592][ T4164] [ 68.174592][ T4164] but task is already holding lock: [ 68.185536][ T4164] ffff88807dd8bdb8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xcf/0xca0 [ 68.195262][ T4164] [ 68.195262][ T4164] other info that might help us debug this: [ 68.203408][ T4164] Possible unsafe locking scenario: [ 68.203408][ T4164] [ 68.210974][ T4164] CPU0 [ 68.214273][ T4164] ---- [ 68.217563][ T4164] lock(&trie->lock); [ 68.221747][ T4164] lock(&trie->lock); [ 68.226003][ T4164] [ 68.226003][ T4164] *** DEADLOCK *** [ 68.226003][ T4164] [ 68.234633][ T4164] May be due to missing lock nesting notation [ 68.234633][ T4164] [ 68.244090][ T4164] 3 locks held by syz-executor342/4164: [ 68.250418][ T4164] #0: ffffffff8cb1f560 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 68.260127][ T4164] #1: ffff88807dd8bdb8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xcf/0xca0 [ 68.270990][ T4164] #2: ffffffff8cb1f560 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 68.281845][ T4164] [ 68.281845][ T4164] stack backtrace: [ 68.288793][ T4164] CPU: 1 PID: 4164 Comm: syz-executor342 Not tainted 5.15.180-syzkaller #0 [ 68.298769][ T4164] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 68.310712][ T4164] Call Trace: [ 68.314156][ T4164] [ 68.317657][ T4164] dump_stack_lvl+0x1e3/0x2d0 [ 68.323809][ T4164] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 68.329765][ T4164] ? panic+0x860/0x860 [ 68.334106][ T4164] validate_chain+0x46d2/0x5930 [ 68.339685][ T4164] ? reacquire_held_locks+0x660/0x660 [ 68.345583][ T4164] ? stack_depot_save+0x3db/0x440 [ 68.351484][ T4164] ? do_raw_spin_lock+0x14a/0x370 [ 68.358564][ T4164] ? __lock_acquire+0x1ff0/0x1ff0 [ 68.364718][ T4164] ? look_up_lock_class+0x77/0x120 [ 68.370253][ T4164] ? register_lock_class+0x100/0x9a0 [ 68.377558][ T4164] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 68.386695][ T4164] ? is_dynamic_key+0x1f0/0x1f0 [ 68.392011][ T4164] ? stack_trace_save+0x113/0x1c0 [ 68.398524][ T4164] ? mark_lock+0x98/0x340 [ 68.404579][ T4164] __lock_acquire+0x1295/0x1ff0 [ 68.410989][ T4164] lock_acquire+0x1db/0x4f0 [ 68.416202][ T4164] ? trie_delete_elem+0x90/0x690 [ 68.424240][ T4164] ? mark_lock+0x98/0x340 [ 68.428847][ T4164] ? read_lock_is_recursive+0x10/0x10 [ 68.436572][ T4164] ? __lock_acquire+0x1295/0x1ff0 [ 68.444616][ T4164] _raw_spin_lock_irqsave+0xd1/0x120 [ 68.450448][ T4164] ? trie_delete_elem+0x90/0x690 [ 68.461093][ T4164] ? _raw_spin_lock+0x40/0x40 [ 68.466139][ T4164] ? read_lock_is_recursive+0x10/0x10 [ 68.472180][ T4164] ? arch_stack_walk+0xf3/0x140 [ 68.482667][ T4164] trie_delete_elem+0x90/0x690 [ 68.487923][ T4164] ? __cant_sleep+0x270/0x270 [ 68.494532][ T4164] bpf_prog_d46ba5bef82912c0+0x3d/0xd0 [ 68.501951][ T4164] bpf_trace_run4+0x1ea/0x390 [ 68.507440][ T4164] ? bpf_trace_run3+0x380/0x380 [ 68.516660][ T4164] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 68.526420][ T4164] __alloc_pages+0x6e0/0x700 [ 68.531280][ T4164] ? __rmqueue_pcplist+0x23a0/0x23a0 [ 68.537225][ T4164] ? __lock_acquire+0x1ff0/0x1ff0 [ 68.542465][ T4164] ? alloc_pages+0x458/0x570 [ 68.547813][ T4164] new_slab+0xbb/0x4b0 [ 68.552557][ T4164] ___slab_alloc+0x6f6/0xe10 [ 68.562959][ T4164] ? bpf_map_kmalloc_node+0xdb/0x160 [ 68.568720][ T4164] __kmalloc_node+0x1fa/0x390 [ 68.574462][ T4164] ? bpf_map_kmalloc_node+0xdb/0x160 [ 68.582657][ T4164] ? _raw_spin_lock+0x40/0x40 [ 68.587961][ T4164] bpf_map_kmalloc_node+0xdb/0x160 [ 68.593261][ T4164] trie_update_elem+0x1d7/0xca0 [ 68.598343][ T4164] ? migrate_enable+0x199/0x270 [ 68.604324][ T4164] bpf_map_update_value+0x5d7/0x6c0 [ 68.610240][ T4164] generic_map_update_batch+0x54d/0x8b0 [ 68.616807][ T4164] ? rcu_read_unlock+0x90/0x90 [ 68.628916][ T4164] ? __fdget+0x158/0x220 [ 68.634289][ T4164] ? rcu_read_unlock+0x90/0x90 [ 68.640962][ T4164] bpf_map_do_batch+0x4d0/0x620 [ 68.646594][ T4164] __sys_bpf+0x55c/0x670 [ 68.650915][ T4164] ? bpf_link_show_fdinfo+0x300/0x300 [ 68.659776][ T4164] ? syscall_enter_from_user_mode+0x2e/0x240 [ 68.671581][ T4164] ? lockdep_hardirqs_on+0x94/0x130 [ 68.682659][ T4164] __x64_sys_bpf+0x78/0x90 [ 68.687663][ T4164] do_syscall_64+0x3b/0xb0 [ 68.692631][ T4164] ? clear_bhb_loop+0x15/0x70 [ 68.698007][ T4164] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 68.707792][ T4164] RIP: 0033:0x7fc4c3e04fb9 [ 68.718436][ T4164] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 [ 68.747990][ T4164] RSP: 002b:00007ffe7a6ea938 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 68.756704][ T4164] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc4c3e04fb9 [ 68.765303][ T4164] RDX: 0000000000000038 RSI: 0000200000000000 RDI: 000000000000001a [ 68.774112][ T4164] RBP: 0000000000000000 R08: 00000000000000a0 R09: 00000000000000a0 [ 68.783135][ T4164] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 68.791618][ T4164] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 68.800112][ T4164] [ 68.810257][ T4164] ODEBUG: Out of memory. ODEBUG disabled 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