Warning: Permanently added '10.128.1.34' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.024893][ T3516] [ 42.027232][ T3516] ============================================ [ 42.033358][ T3516] WARNING: possible recursive locking detected [ 42.039477][ T3516] 5.15.160-syzkaller #0 Not tainted [ 42.044642][ T3516] -------------------------------------------- [ 42.050758][ T3516] syz-executor310/3516 is trying to acquire lock: [ 42.057142][ T3516] ffff88807e4099b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 42.066007][ T3516] [ 42.066007][ T3516] but task is already holding lock: [ 42.073341][ T3516] ffff88807e4095b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 42.082203][ T3516] [ 42.082203][ T3516] other info that might help us debug this: [ 42.090241][ T3516] Possible unsafe locking scenario: [ 42.090241][ T3516] [ 42.097668][ T3516] CPU0 [ 42.100924][ T3516] ---- [ 42.104178][ T3516] lock(&trie->lock); [ 42.108223][ T3516] lock(&trie->lock); [ 42.112271][ T3516] [ 42.112271][ T3516] *** DEADLOCK *** [ 42.112271][ T3516] [ 42.120384][ T3516] May be due to missing lock nesting notation [ 42.120384][ T3516] [ 42.128675][ T3516] 3 locks held by syz-executor310/3516: [ 42.134191][ T3516] #0: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.143483][ T3516] #1: ffff88807e4095b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 42.152885][ T3516] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.162180][ T3516] [ 42.162180][ T3516] stack backtrace: [ 42.168047][ T3516] CPU: 0 PID: 3516 Comm: syz-executor310 Not tainted 5.15.160-syzkaller #0 [ 42.176606][ T3516] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 42.186644][ T3516] Call Trace: [ 42.189911][ T3516] [ 42.192822][ T3516] dump_stack_lvl+0x1e3/0x2d0 [ 42.197478][ T3516] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 42.203083][ T3516] ? panic+0x860/0x860 [ 42.207132][ T3516] validate_chain+0x46d2/0x5930 [ 42.211968][ T3516] ? validate_chain+0x112/0x5930 [ 42.216899][ T3516] ? unwind_next_frame+0x1437/0x1fa0 [ 42.222254][ T3516] ? deref_stack_reg+0xbe/0x110 [ 42.227086][ T3516] ? reacquire_held_locks+0x660/0x660 [ 42.232438][ T3516] ? is_bpf_text_address+0x24f/0x260 [ 42.237701][ T3516] ? stack_trace_save+0x1c0/0x1c0 [ 42.242701][ T3516] ? unwind_get_return_address+0x49/0x80 [ 42.248312][ T3516] ? mark_lock+0x98/0x340 [ 42.252616][ T3516] __lock_acquire+0x1295/0x1ff0 [ 42.257448][ T3516] lock_acquire+0x1db/0x4f0 [ 42.261925][ T3516] ? trie_delete_elem+0x90/0x690 [ 42.266839][ T3516] ? mark_lock+0x98/0x340 [ 42.271144][ T3516] ? read_lock_is_recursive+0x10/0x10 [ 42.276502][ T3516] ? __lock_acquire+0x1295/0x1ff0 [ 42.281525][ T3516] _raw_spin_lock_irqsave+0xd1/0x120 [ 42.286799][ T3516] ? trie_delete_elem+0x90/0x690 [ 42.291720][ T3516] ? _raw_spin_lock+0x40/0x40 [ 42.296376][ T3516] ? read_lock_is_recursive+0x10/0x10 [ 42.301732][ T3516] ? is_bpf_text_address+0x24f/0x260 [ 42.307008][ T3516] trie_delete_elem+0x90/0x690 [ 42.311756][ T3516] ? __cant_sleep+0x270/0x270 [ 42.316412][ T3516] bpf_prog_2c29ac5cdc6b1842+0x3a/0x94 [ 42.321847][ T3516] bpf_trace_run4+0x1ea/0x390 [ 42.326503][ T3516] ? bpf_trace_run3+0x380/0x380 [ 42.331342][ T3516] ? __alloc_pages+0x700/0x700 [ 42.336083][ T3516] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 42.341519][ T3516] __traceiter_mm_page_alloc+0x35/0x50 [ 42.346956][ T3516] __alloc_pages+0x6e0/0x700 [ 42.351522][ T3516] ? __rmqueue_pcplist+0x2030/0x2030 [ 42.356782][ T3516] ? __lock_acquire+0x1ff0/0x1ff0 [ 42.361781][ T3516] ? alloc_pages+0x458/0x570 [ 42.366347][ T3516] new_slab+0xbb/0x4b0 [ 42.370391][ T3516] ___slab_alloc+0x6f6/0xe10 [ 42.374956][ T3516] ? bpf_map_kmalloc_node+0xdb/0x160 [ 42.380221][ T3516] __kmalloc_node+0x1fa/0x390 [ 42.384875][ T3516] ? bpf_map_kmalloc_node+0xdb/0x160 [ 42.390134][ T3516] ? _raw_spin_lock+0x40/0x40 [ 42.394793][ T3516] bpf_map_kmalloc_node+0xdb/0x160 [ 42.399882][ T3516] trie_update_elem+0x857/0xc00 [ 42.404712][ T3516] ? migrate_enable+0x199/0x270 [ 42.409539][ T3516] bpf_map_update_value+0x5d7/0x6c0 [ 42.414714][ T3516] generic_map_update_batch+0x54d/0x8b0 [ 42.420237][ T3516] ? rcu_read_unlock+0x90/0x90 [ 42.424977][ T3516] ? __fdget+0x158/0x220 [ 42.429193][ T3516] ? rcu_read_unlock+0x90/0x90 [ 42.433932][ T3516] bpf_map_do_batch+0x4d0/0x620 [ 42.438757][ T3516] __sys_bpf+0x55c/0x670 [ 42.442975][ T3516] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 42.448329][ T3516] ? syscall_enter_from_user_mode+0x2e/0x240 [ 42.454283][ T3516] ? lockdep_hardirqs_on+0x94/0x130 [ 42.459459][ T3516] __x64_sys_bpf+0x78/0x90 [ 42.463852][ T3516] do_syscall_64+0x3b/0xb0 [ 42.468241][ T3516] ? clear_bhb_loop+0x15/0x70 [ 42.472893][ T3516] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 42.478760][ T3516] RIP: 0033:0x7f0c0d048fe9 [ 42.483153][ T3516] 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 [ 42.502730][ T3516] RSP: 002b:00007ffcfd92e008 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 42.511119][ T3516] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f0c0d048fe9 [ 42.519063][ T3516] RDX: 0000000000000038 RSI: 0000000020000240 RDI: 000000000000001a executing program executing program executing program executing program [ 42.527009][ T3516] RBP: 0000000000000000 R08: 00000000000000a0 R09: 00000000000000a0 [ 42.534955][ T3516] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 42.542898][ T3516] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 42.550846][ T3516] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program