Warning: Permanently added '10.128.0.5' (ED25519) to the list of known hosts. executing program executing program [ 48.871732][ T3572] [ 48.874066][ T3572] ============================================ [ 48.880186][ T3572] WARNING: possible recursive locking detected [ 48.886333][ T3572] 5.15.167-syzkaller #0 Not tainted [ 48.891502][ T3572] -------------------------------------------- [ 48.897622][ T3572] syz-executor160/3572 is trying to acquire lock: [ 48.904004][ T3572] ffff888074a2cdb8 (&trie->lock){..-.}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 48.912871][ T3572] [ 48.912871][ T3572] but task is already holding lock: [ 48.920206][ T3572] ffff88807ac805b8 (&trie->lock){..-.}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 48.929047][ T3572] [ 48.929047][ T3572] other info that might help us debug this: [ 48.937074][ T3572] Possible unsafe locking scenario: [ 48.937074][ T3572] [ 48.944492][ T3572] CPU0 [ 48.947744][ T3572] ---- [ 48.950998][ T3572] lock(&trie->lock); [ 48.955040][ T3572] lock(&trie->lock); [ 48.959080][ T3572] [ 48.959080][ T3572] *** DEADLOCK *** [ 48.959080][ T3572] [ 48.967198][ T3572] May be due to missing lock nesting notation [ 48.967198][ T3572] [ 48.975489][ T3572] 3 locks held by syz-executor160/3572: [ 48.981002][ T3572] #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 48.990285][ T3572] #1: ffff88807ac805b8 (&trie->lock){..-.}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 48.999563][ T3572] #2: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 49.008847][ T3572] [ 49.008847][ T3572] stack backtrace: [ 49.014719][ T3572] CPU: 1 PID: 3572 Comm: syz-executor160 Not tainted 5.15.167-syzkaller #0 [ 49.023274][ T3572] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 49.033313][ T3572] Call Trace: [ 49.036568][ T3572] [ 49.039476][ T3572] dump_stack_lvl+0x1e3/0x2d0 [ 49.044131][ T3572] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 49.049737][ T3572] ? panic+0x860/0x860 [ 49.053786][ T3572] validate_chain+0x46d2/0x5930 [ 49.058622][ T3572] ? reacquire_held_locks+0x660/0x660 [ 49.063969][ T3572] ? is_bpf_text_address+0x24f/0x260 [ 49.069226][ T3572] ? stack_trace_save+0x1c0/0x1c0 [ 49.074248][ T3572] ? __kernel_text_address+0x94/0x100 [ 49.079596][ T3572] ? unwind_get_return_address+0x49/0x80 [ 49.085213][ T3572] ? stack_trace_save+0x113/0x1c0 [ 49.090213][ T3572] ? mark_lock+0x98/0x340 [ 49.094519][ T3572] __lock_acquire+0x1295/0x1ff0 [ 49.099352][ T3572] lock_acquire+0x1db/0x4f0 [ 49.103828][ T3572] ? trie_delete_elem+0x90/0x690 [ 49.108741][ T3572] ? mark_lock+0x98/0x340 [ 49.113044][ T3572] ? read_lock_is_recursive+0x10/0x10 [ 49.118388][ T3572] ? __lock_acquire+0x1295/0x1ff0 [ 49.123394][ T3572] _raw_spin_lock_irqsave+0xd1/0x120 [ 49.128665][ T3572] ? trie_delete_elem+0x90/0x690 [ 49.133584][ T3572] ? _raw_spin_lock+0x40/0x40 [ 49.138237][ T3572] ? read_lock_is_recursive+0x10/0x10 [ 49.143584][ T3572] trie_delete_elem+0x90/0x690 [ 49.148322][ T3572] ? __cant_sleep+0x270/0x270 [ 49.152980][ T3572] bpf_prog_8c8ab8634bca3061+0x3a/0x338 [ 49.158500][ T3572] bpf_trace_run4+0x1ea/0x390 [ 49.163153][ T3572] ? bpf_trace_run3+0x380/0x380 [ 49.167978][ T3572] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 49.173414][ T3572] __alloc_pages+0x6e0/0x700 [ 49.177985][ T3572] ? __rmqueue_pcplist+0x2030/0x2030 [ 49.183243][ T3572] ? do_raw_spin_lock+0x14a/0x370 [ 49.188242][ T3572] kmalloc_large_node+0x7c/0x180 [ 49.193158][ T3572] ? _raw_spin_lock_irqsave+0xac/0x120 [ 49.198592][ T3572] __kmalloc_node+0x22d/0x390 [ 49.203337][ T3572] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 49.208771][ T3572] ? _raw_spin_lock+0x40/0x40 [ 49.213425][ T3572] bpf_map_kmalloc_node+0xdb/0x160 [ 49.218513][ T3572] trie_update_elem+0x1cb/0xc00 [ 49.223348][ T3572] ? asm_exc_page_fault+0x22/0x30 [ 49.228350][ T3572] bpf_map_update_value+0x5d7/0x6c0 [ 49.233526][ T3572] map_update_elem+0x6a0/0x7c0 [ 49.238271][ T3572] __sys_bpf+0x2fd/0x670 [ 49.242491][ T3572] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 49.247844][ T3572] ? syscall_enter_from_user_mode+0x2e/0x240 [ 49.253799][ T3572] ? lockdep_hardirqs_on+0x94/0x130 [ 49.258973][ T3572] __x64_sys_bpf+0x78/0x90 [ 49.263371][ T3572] do_syscall_64+0x3b/0xb0 [ 49.267764][ T3572] ? clear_bhb_loop+0x15/0x70 [ 49.272416][ T3572] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 49.278286][ T3572] RIP: 0033:0x7f92eefa1da9 [ 49.282678][ T3572] 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 [ 49.302258][ T3572] RSP: 002b:00007ffe658fb2a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 49.310647][ T3572] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f92eefa1da9 executing program executing program executing program executing program executing program executing program [ 49.318593][ T3572] RDX: 0000000000000020 RSI: 0000000020000000 RDI: 0000000000000002 [ 49.326539][ T3572] RBP: 00000000000f4240 R08: 00000000000000a0 R09: 00000000000000a0 [ 49.334485][ T3572] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 49.342429][ T3572] R13: 00007ffe658fb4c8 R14: 00007ffe658fb2d0 R15: 00007ffe658fb2c0 [ 49.350379][ T3572] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program