Warning: Permanently added '10.128.0.213' (ED25519) to the list of known hosts. executing program executing program [ 63.526727][ T3507] [ 63.531297][ T3507] ============================================ [ 63.539205][ T3507] WARNING: possible recursive locking detected [ 63.545938][ T3507] 5.15.156-syzkaller #0 Not tainted [ 63.554650][ T3507] -------------------------------------------- [ 63.563217][ T3507] syz-executor238/3507 is trying to acquire lock: [ 63.571350][ T3507] ffff888019f50db8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 63.582394][ T3507] [ 63.582394][ T3507] but task is already holding lock: [ 63.591314][ T3507] ffff8880770829b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 63.601221][ T3507] [ 63.601221][ T3507] other info that might help us debug this: [ 63.611277][ T3507] Possible unsafe locking scenario: [ 63.611277][ T3507] [ 63.620419][ T3507] CPU0 [ 63.624887][ T3507] ---- [ 63.629317][ T3507] lock(&trie->lock); [ 63.635961][ T3507] lock(&trie->lock); [ 63.642832][ T3507] [ 63.642832][ T3507] *** DEADLOCK *** [ 63.642832][ T3507] [ 63.653133][ T3507] May be due to missing lock nesting notation [ 63.653133][ T3507] [ 63.665990][ T3507] 3 locks held by syz-executor238/3507: [ 63.672462][ T3507] #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 63.682658][ T3507] #1: ffff8880770829b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 63.695786][ T3507] #2: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 63.709142][ T3507] [ 63.709142][ T3507] stack backtrace: [ 63.717306][ T3507] CPU: 1 PID: 3507 Comm: syz-executor238 Not tainted 5.15.156-syzkaller #0 [ 63.728496][ T3507] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 63.741017][ T3507] Call Trace: [ 63.745804][ T3507] [ 63.750682][ T3507] dump_stack_lvl+0x1e3/0x2d0 [ 63.756671][ T3507] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 63.767205][ T3507] ? panic+0x860/0x860 [ 63.775656][ T3507] validate_chain+0x46d2/0x5930 [ 63.785424][ T3507] ? reacquire_held_locks+0x660/0x660 [ 63.794767][ T3507] ? is_bpf_text_address+0x24f/0x260 [ 63.801508][ T3507] ? stack_trace_save+0x1c0/0x1c0 [ 63.808741][ T3507] ? __kernel_text_address+0x94/0x100 [ 63.816303][ T3507] ? unwind_get_return_address+0x49/0x80 [ 63.822701][ T3507] ? stack_trace_save+0x113/0x1c0 [ 63.829414][ T3507] ? mark_lock+0x98/0x340 [ 63.840404][ T3507] __lock_acquire+0x1295/0x1ff0 [ 63.845511][ T3507] lock_acquire+0x1db/0x4f0 [ 63.851057][ T3507] ? trie_delete_elem+0x90/0x690 [ 63.856667][ T3507] ? mark_lock+0x98/0x340 [ 63.862661][ T3507] ? read_lock_is_recursive+0x10/0x10 [ 63.868434][ T3507] ? __lock_acquire+0x1295/0x1ff0 [ 63.873704][ T3507] _raw_spin_lock_irqsave+0xd1/0x120 [ 63.881980][ T3507] ? trie_delete_elem+0x90/0x690 [ 63.890171][ T3507] ? _raw_spin_lock+0x40/0x40 [ 63.897479][ T3507] ? read_lock_is_recursive+0x10/0x10 [ 63.903885][ T3507] trie_delete_elem+0x90/0x690 [ 63.912404][ T3507] ? __cant_sleep+0x270/0x270 [ 63.920087][ T3507] bpf_prog_1db1603a7cfa36fb+0x3d/0x358 [ 63.926608][ T3507] bpf_trace_run4+0x1ea/0x390 [ 63.932128][ T3507] ? bpf_trace_run3+0x380/0x380 [ 63.938554][ T3507] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 63.944482][ T3507] __alloc_pages+0x6e0/0x700 [ 63.949690][ T3507] ? __rmqueue_pcplist+0x2030/0x2030 [ 63.955695][ T3507] ? do_raw_spin_lock+0x14a/0x370 [ 63.961053][ T3507] kmalloc_large_node+0x7c/0x180 [ 63.966022][ T3507] ? _raw_spin_lock_irqsave+0xac/0x120 [ 63.971722][ T3507] __kmalloc_node+0x22d/0x390 [ 63.976691][ T3507] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 63.982382][ T3507] ? _raw_spin_lock+0x40/0x40 [ 63.988013][ T3507] bpf_map_kmalloc_node+0xdb/0x160 [ 63.993732][ T3507] trie_update_elem+0x1cb/0xc00 [ 63.999368][ T3507] ? asm_exc_page_fault+0x22/0x30 [ 64.006009][ T3507] bpf_map_update_value+0x5d7/0x6c0 [ 64.012713][ T3507] map_update_elem+0x6a0/0x7c0 [ 64.017518][ T3507] __sys_bpf+0x2fd/0x670 [ 64.022121][ T3507] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 64.029078][ T3507] ? syscall_enter_from_user_mode+0x2e/0x240 [ 64.035224][ T3507] ? lockdep_hardirqs_on+0x94/0x130 [ 64.041427][ T3507] __x64_sys_bpf+0x78/0x90 [ 64.046417][ T3507] do_syscall_64+0x3b/0xb0 [ 64.051247][ T3507] ? clear_bhb_loop+0x15/0x70 [ 64.056956][ T3507] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 64.063542][ T3507] RIP: 0033:0x7fa1b590afa9 [ 64.068268][ T3507] 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 [ 64.090585][ T3507] RSP: 002b:00007ffe0c8bcee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 64.099392][ T3507] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa1b590afa9 [ 64.107584][ T3507] RDX: 0000000000000020 RSI: 0000000020000080 RDI: 0000000000000002 [ 64.116512][ T3507] RBP: 0000000000000000 R08: 00000000000000a0 R09: 00000000000000a0 executing program executing program executing program executing program executing program [ 64.125514][ T3507] R10: 00000000000000a0 R11: 0000000000000246 R12: 0000000000000000 [ 64.134478][ T3507] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 64.143250][ T3507] 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 executing program executing program executing program