Warning: Permanently added '10.128.1.21' (ED25519) to the list of known hosts. executing program [ 40.814373][ T3499] [ 40.816721][ T3499] ============================================ [ 40.822846][ T3499] WARNING: possible recursive locking detected [ 40.828978][ T3499] 5.15.152-syzkaller #0 Not tainted [ 40.834143][ T3499] -------------------------------------------- [ 40.840260][ T3499] syz-executor248/3499 is trying to acquire lock: [ 40.846644][ T3499] ffff88801de8a5b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 40.855498][ T3499] [ 40.855498][ T3499] but task is already holding lock: [ 40.862833][ T3499] ffff88801de8adb8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 40.871671][ T3499] [ 40.871671][ T3499] other info that might help us debug this: [ 40.879719][ T3499] Possible unsafe locking scenario: [ 40.879719][ T3499] [ 40.887140][ T3499] CPU0 [ 40.890392][ T3499] ---- [ 40.893645][ T3499] lock(&trie->lock); [ 40.897687][ T3499] lock(&trie->lock); [ 40.901721][ T3499] [ 40.901721][ T3499] *** DEADLOCK *** [ 40.901721][ T3499] [ 40.909834][ T3499] May be due to missing lock nesting notation [ 40.909834][ T3499] [ 40.918121][ T3499] 3 locks held by syz-executor248/3499: [ 40.923636][ T3499] #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 40.932911][ T3499] #1: ffff88801de8adb8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 40.942186][ T3499] #2: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 40.951464][ T3499] [ 40.951464][ T3499] stack backtrace: [ 40.957328][ T3499] CPU: 1 PID: 3499 Comm: syz-executor248 Not tainted 5.15.152-syzkaller #0 [ 40.965884][ T3499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 40.975915][ T3499] Call Trace: [ 40.979175][ T3499] [ 40.982083][ T3499] dump_stack_lvl+0x1e3/0x2cb [ 40.986749][ T3499] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 40.992354][ T3499] ? panic+0x84d/0x84d [ 40.996413][ T3499] validate_chain+0x46d2/0x5930 [ 41.001240][ T3499] ? reacquire_held_locks+0x660/0x660 [ 41.006590][ T3499] ? stack_depot_save+0x3db/0x440 [ 41.011603][ T3499] ? do_raw_spin_lock+0x14a/0x370 [ 41.016619][ T3499] ? __lock_acquire+0x1ff0/0x1ff0 [ 41.021640][ T3499] ? do_raw_spin_unlock+0x137/0x8b0 [ 41.026825][ T3499] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 41.032697][ T3499] ? _raw_spin_unlock+0x40/0x40 [ 41.037529][ T3499] ? stack_trace_save+0x113/0x1c0 [ 41.042790][ T3499] ? mark_lock+0x98/0x340 [ 41.047095][ T3499] __lock_acquire+0x1295/0x1ff0 [ 41.051923][ T3499] lock_acquire+0x1db/0x4f0 [ 41.056402][ T3499] ? trie_delete_elem+0x90/0x690 [ 41.061320][ T3499] ? mark_lock+0x98/0x340 [ 41.065627][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 41.070975][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 41.075979][ T3499] _raw_spin_lock_irqsave+0xd1/0x120 [ 41.081238][ T3499] ? trie_delete_elem+0x90/0x690 [ 41.086147][ T3499] ? _raw_spin_lock+0x40/0x40 [ 41.090794][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 41.096138][ T3499] trie_delete_elem+0x90/0x690 [ 41.100877][ T3499] ? __cant_sleep+0x270/0x270 [ 41.105529][ T3499] bpf_prog_2c29ac5cdc6b1842+0x3a/0x19c [ 41.111045][ T3499] bpf_trace_run4+0x1ea/0x390 [ 41.115694][ T3499] ? bpf_trace_run3+0x380/0x380 [ 41.120522][ T3499] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 41.125958][ T3499] __alloc_pages+0x6e0/0x700 [ 41.130521][ T3499] ? __rmqueue_pcplist+0x2030/0x2030 [ 41.135786][ T3499] ? do_raw_spin_lock+0x14a/0x370 [ 41.140794][ T3499] kmalloc_large_node+0x7c/0x180 [ 41.145704][ T3499] ? _raw_spin_lock_irqsave+0xac/0x120 [ 41.151137][ T3499] __kmalloc_node+0x22d/0x390 [ 41.155788][ T3499] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 41.161220][ T3499] ? _raw_spin_lock+0x40/0x40 [ 41.165890][ T3499] bpf_map_kmalloc_node+0xdb/0x160 [ 41.170976][ T3499] trie_update_elem+0x1cb/0xc00 [ 41.175802][ T3499] ? asm_exc_page_fault+0x22/0x30 [ 41.180800][ T3499] bpf_map_update_value+0x5d7/0x6c0 [ 41.185970][ T3499] map_update_elem+0x6a0/0x7c0 [ 41.190714][ T3499] __sys_bpf+0x2fd/0x670 [ 41.194948][ T3499] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 41.200301][ T3499] ? syscall_enter_from_user_mode+0x2e/0x230 [ 41.206258][ T3499] ? lockdep_hardirqs_on+0x94/0x130 [ 41.211435][ T3499] __x64_sys_bpf+0x78/0x90 [ 41.215840][ T3499] do_syscall_64+0x3d/0xb0 [ 41.220249][ T3499] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 41.226127][ T3499] RIP: 0033:0x7f4d725537a9 [ 41.230625][ 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 [ 41.250215][ T3499] RSP: 002b:00007ffeff8c2818 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 41.258612][ T3499] RAX: ffffffffffffffda RBX: 00007ffeff8c29e8 RCX: 00007f4d725537a9