Warning: Permanently added '10.128.1.134' (ED25519) to the list of known hosts. executing program [ 50.648176][ T3498] [ 50.650534][ T3498] ============================================ [ 50.656677][ T3498] WARNING: possible recursive locking detected [ 50.662812][ T3498] 5.15.152-syzkaller #0 Not tainted [ 50.668082][ T3498] -------------------------------------------- [ 50.674215][ T3498] syz-executor349/3498 is trying to acquire lock: [ 50.680629][ T3498] ffff88801f9c11b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 50.690155][ T3498] [ 50.690155][ T3498] but task is already holding lock: [ 50.697514][ T3498] ffff88801f9c15b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 50.706411][ T3498] [ 50.706411][ T3498] other info that might help us debug this: [ 50.714547][ T3498] Possible unsafe locking scenario: [ 50.714547][ T3498] [ 50.722526][ T3498] CPU0 [ 50.725798][ T3498] ---- [ 50.729065][ T3498] lock(&trie->lock); [ 50.733119][ T3498] lock(&trie->lock); [ 50.737173][ T3498] [ 50.737173][ T3498] *** DEADLOCK *** [ 50.737173][ T3498] [ 50.745321][ T3498] May be due to missing lock nesting notation [ 50.745321][ T3498] [ 50.753622][ T3498] 3 locks held by syz-executor349/3498: [ 50.759149][ T3498] #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.768554][ T3498] #1: ffff88801f9c15b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 50.777873][ T3498] #2: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.787169][ T3498] [ 50.787169][ T3498] stack backtrace: [ 50.793069][ T3498] CPU: 1 PID: 3498 Comm: syz-executor349 Not tainted 5.15.152-syzkaller #0 [ 50.801642][ T3498] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 50.811685][ T3498] Call Trace: [ 50.814973][ T3498] [ 50.817894][ T3498] dump_stack_lvl+0x1e3/0x2cb [ 50.822631][ T3498] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 50.828271][ T3498] ? panic+0x84d/0x84d [ 50.832337][ T3498] validate_chain+0x46d2/0x5930 [ 50.837190][ T3498] ? reacquire_held_locks+0x660/0x660 [ 50.842570][ T3498] ? stack_depot_save+0x3db/0x440 [ 50.847598][ T3498] ? do_raw_spin_lock+0x14a/0x370 [ 50.852621][ T3498] ? __lock_acquire+0x1ff0/0x1ff0 [ 50.857634][ T3498] ? do_raw_spin_unlock+0x137/0x8b0 [ 50.862826][ T3498] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 50.868708][ T3498] ? _raw_spin_unlock+0x40/0x40 [ 50.873545][ T3498] ? stack_trace_save+0x113/0x1c0 [ 50.878576][ T3498] ? mark_lock+0x98/0x340 [ 50.882910][ T3498] __lock_acquire+0x1295/0x1ff0 [ 50.887758][ T3498] lock_acquire+0x1db/0x4f0 [ 50.892249][ T3498] ? trie_delete_elem+0x90/0x690 [ 50.897179][ T3498] ? mark_lock+0x98/0x340 [ 50.901496][ T3498] ? read_lock_is_recursive+0x10/0x10 [ 50.906943][ T3498] ? __lock_acquire+0x1295/0x1ff0 [ 50.911963][ T3498] _raw_spin_lock_irqsave+0xd1/0x120 [ 50.917239][ T3498] ? trie_delete_elem+0x90/0x690 [ 50.922183][ T3498] ? _raw_spin_lock+0x40/0x40 [ 50.926847][ T3498] ? read_lock_is_recursive+0x10/0x10 [ 50.932209][ T3498] trie_delete_elem+0x90/0x690 [ 50.936963][ T3498] ? __cant_sleep+0x270/0x270 [ 50.941652][ T3498] bpf_prog_2c29ac5cdc6b1842+0x3a/0x748 [ 50.947187][ T3498] bpf_trace_run4+0x1ea/0x390 [ 50.951858][ T3498] ? bpf_trace_run3+0x380/0x380 [ 50.956702][ T3498] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 50.962156][ T3498] __alloc_pages+0x6e0/0x700 [ 50.966736][ T3498] ? __rmqueue_pcplist+0x2030/0x2030 [ 50.972013][ T3498] ? do_raw_spin_lock+0x14a/0x370 [ 50.977028][ T3498] kmalloc_large_node+0x7c/0x180 [ 50.981953][ T3498] ? _raw_spin_lock_irqsave+0xac/0x120 [ 50.987924][ T3498] __kmalloc_node+0x22d/0x390 [ 50.992678][ T3498] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 50.998140][ T3498] ? _raw_spin_lock+0x40/0x40 [ 51.002823][ T3498] bpf_map_kmalloc_node+0xdb/0x160 [ 51.007928][ T3498] trie_update_elem+0x1cb/0xc00 [ 51.012899][ T3498] ? asm_exc_page_fault+0x22/0x30 [ 51.017933][ T3498] bpf_map_update_value+0x5d7/0x6c0 [ 51.023125][ T3498] map_update_elem+0x6a0/0x7c0 [ 51.027883][ T3498] __sys_bpf+0x2fd/0x670 [ 51.032114][ T3498] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 51.037481][ T3498] ? syscall_enter_from_user_mode+0x2e/0x230 [ 51.043450][ T3498] ? lockdep_hardirqs_on+0x94/0x130 [ 51.048638][ T3498] __x64_sys_bpf+0x78/0x90 [ 51.053044][ T3498] do_syscall_64+0x3d/0xb0 [ 51.057452][ T3498] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 51.063383][ T3498] RIP: 0033:0x7f2199ff27a9 [ 51.067805][ T3498] 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 [ 51.087675][ T3498] RSP: 002b:00007ffcd1e75b48 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 51.096077][ T3498] RAX: ffffffffffffffda