Warning: Permanently added '10.128.1.130' (ED25519) to the list of known hosts. executing program [ 40.965834][ T3499] [ 40.968200][ T3499] ============================================ [ 40.974328][ T3499] WARNING: possible recursive locking detected [ 40.980462][ T3499] 5.15.152-syzkaller #0 Not tainted [ 40.985636][ T3499] -------------------------------------------- [ 40.991779][ T3499] syz-executor413/3499 is trying to acquire lock: [ 40.998174][ T3499] ffff88807a4d05b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 41.007042][ T3499] [ 41.007042][ T3499] but task is already holding lock: [ 41.014384][ T3499] ffff88807a4d09b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 41.023242][ T3499] [ 41.023242][ T3499] other info that might help us debug this: [ 41.031274][ T3499] Possible unsafe locking scenario: [ 41.031274][ T3499] [ 41.038714][ T3499] CPU0 [ 41.041978][ T3499] ---- [ 41.045251][ T3499] lock(&trie->lock); [ 41.049307][ T3499] lock(&trie->lock); [ 41.053362][ T3499] [ 41.053362][ T3499] *** DEADLOCK *** [ 41.053362][ T3499] [ 41.061595][ T3499] May be due to missing lock nesting notation [ 41.061595][ T3499] [ 41.069902][ T3499] 3 locks held by syz-executor413/3499: [ 41.075556][ T3499] #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 41.084936][ T3499] #1: ffff88807a4d09b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 41.094228][ T3499] #2: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 41.103518][ T3499] [ 41.103518][ T3499] stack backtrace: [ 41.109386][ T3499] CPU: 1 PID: 3499 Comm: syz-executor413 Not tainted 5.15.152-syzkaller #0 [ 41.117944][ T3499] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 41.128064][ T3499] Call Trace: [ 41.131325][ T3499] [ 41.134236][ T3499] dump_stack_lvl+0x1e3/0x2cb [ 41.138895][ T3499] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 41.144504][ T3499] ? panic+0x84d/0x84d [ 41.148664][ T3499] validate_chain+0x46d2/0x5930 [ 41.153497][ T3499] ? reacquire_held_locks+0x660/0x660 [ 41.158845][ T3499] ? stack_depot_save+0x3db/0x440 [ 41.163872][ T3499] ? do_raw_spin_lock+0x14a/0x370 [ 41.168893][ T3499] ? __lock_acquire+0x1ff0/0x1ff0 [ 41.173912][ T3499] ? do_raw_spin_unlock+0x137/0x8b0 [ 41.179094][ T3499] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 41.184980][ T3499] ? _raw_spin_unlock+0x40/0x40 [ 41.189821][ T3499] ? stack_trace_save+0x113/0x1c0 [ 41.194838][ T3499] ? mark_lock+0x98/0x340 [ 41.199150][ T3499] __lock_acquire+0x1295/0x1ff0 [ 41.204240][ T3499] lock_acquire+0x1db/0x4f0 [ 41.208726][ T3499] ? trie_delete_elem+0x90/0x690 [ 41.213648][ T3499] ? mark_lock+0x98/0x340 [ 41.217961][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 41.223307][ T3499] ? __lock_acquire+0x1295/0x1ff0 [ 41.228310][ T3499] _raw_spin_lock_irqsave+0xd1/0x120 [ 41.233572][ T3499] ? trie_delete_elem+0x90/0x690 [ 41.238485][ T3499] ? _raw_spin_lock+0x40/0x40 [ 41.243143][ T3499] ? read_lock_is_recursive+0x10/0x10 [ 41.248683][ T3499] trie_delete_elem+0x90/0x690 [ 41.253465][ T3499] ? __cant_sleep+0x270/0x270 [ 41.258132][ T3499] bpf_prog_2c29ac5cdc6b1842+0x3a/0x1e0 [ 41.263662][ T3499] bpf_trace_run4+0x1ea/0x390 [ 41.268330][ T3499] ? bpf_trace_run3+0x380/0x380 [ 41.273176][ T3499] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 41.278642][ T3499] __alloc_pages+0x6e0/0x700 [ 41.283213][ T3499] ? __rmqueue_pcplist+0x2030/0x2030 [ 41.288489][ T3499] ? do_raw_spin_lock+0x14a/0x370 [ 41.293491][ T3499] kmalloc_large_node+0x7c/0x180 [ 41.298406][ T3499] ? _raw_spin_lock_irqsave+0xac/0x120 [ 41.303840][ T3499] __kmalloc_node+0x22d/0x390 [ 41.308534][ T3499] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 41.313981][ T3499] ? _raw_spin_lock+0x40/0x40 [ 41.318636][ T3499] bpf_map_kmalloc_node+0xdb/0x160 [ 41.323728][ T3499] trie_update_elem+0x1cb/0xc00 [ 41.328560][ T3499] ? asm_exc_page_fault+0x22/0x30 [ 41.333565][ T3499] bpf_map_update_value+0x5d7/0x6c0 [ 41.338743][ T3499] map_update_elem+0x6a0/0x7c0 [ 41.343482][ T3499] __sys_bpf+0x2fd/0x670 [ 41.347746][ T3499] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 41.353097][ T3499] ? syscall_enter_from_user_mode+0x2e/0x230 [ 41.359078][ T3499] ? lockdep_hardirqs_on+0x94/0x130 [ 41.364260][ T3499] __x64_sys_bpf+0x78/0x90 [ 41.368662][ T3499] do_syscall_64+0x3d/0xb0 [ 41.373069][ T3499] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 41.378974][ T3499] RIP: 0033:0x7f2b599477a9 [ 41.383376][ 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.403048][ T3499] RSP: 002b:00007fff067aaf78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 41.411464][ T3499] RAX: ffffffffffffffda RBX: 00007fff067ab148 RCX: 00