Warning: Permanently added '10.128.0.144' (ED25519) to the list of known hosts. executing program [ 51.141088][ T3542] [ 51.143449][ T3542] ============================================ [ 51.149576][ T3542] WARNING: possible recursive locking detected [ 51.155709][ T3542] 6.1.90-syzkaller #0 Not tainted [ 51.160714][ T3542] -------------------------------------------- [ 51.166845][ T3542] syz-executor212/3542 is trying to acquire lock: [ 51.173239][ T3542] ffff88807c559a38 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 51.182121][ T3542] [ 51.182121][ T3542] but task is already holding lock: [ 51.189498][ T3542] ffff88807c55a238 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 51.198385][ T3542] [ 51.198385][ T3542] other info that might help us debug this: [ 51.206436][ T3542] Possible unsafe locking scenario: [ 51.206436][ T3542] [ 51.213873][ T3542] CPU0 [ 51.217140][ T3542] ---- [ 51.220405][ T3542] lock(&trie->lock); [ 51.224464][ T3542] lock(&trie->lock); [ 51.228524][ T3542] [ 51.228524][ T3542] *** DEADLOCK *** [ 51.228524][ T3542] [ 51.236651][ T3542] May be due to missing lock nesting notation [ 51.236651][ T3542] [ 51.244974][ T3542] 3 locks held by syz-executor212/3542: [ 51.250520][ T3542] #0: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 51.260450][ T3542] #1: ffff88807c55a238 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 51.269780][ T3542] #2: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x110/0x410 [ 51.279171][ T3542] [ 51.279171][ T3542] stack backtrace: [ 51.285044][ T3542] CPU: 0 PID: 3542 Comm: syz-executor212 Not tainted 6.1.90-syzkaller #0 [ 51.293442][ T3542] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 51.303492][ T3542] Call Trace: [ 51.306763][ T3542] [ 51.309690][ T3542] dump_stack_lvl+0x1e3/0x2cb [ 51.314379][ T3542] ? nf_tcp_handle_invalid+0x642/0x642 [ 51.319921][ T3542] ? panic+0x764/0x764 [ 51.323985][ T3542] validate_chain+0x4711/0x5950 [ 51.328842][ T3542] ? reacquire_held_locks+0x660/0x660 [ 51.334209][ T3542] ? is_bpf_text_address+0x22/0x2a0 [ 51.339399][ T3542] ? __lock_acquire+0x1f80/0x1f80 [ 51.344417][ T3542] ? look_up_lock_class+0x77/0x140 [ 51.349539][ T3542] ? register_lock_class+0x100/0x990 [ 51.354831][ T3542] ? is_dynamic_key+0x260/0x260 [ 51.359680][ T3542] ? mark_lock+0x9a/0x340 [ 51.364013][ T3542] __lock_acquire+0x125b/0x1f80 [ 51.368866][ T3542] lock_acquire+0x1f8/0x5a0 [ 51.373387][ T3542] ? trie_delete_elem+0x90/0x690 [ 51.378320][ T3542] ? read_lock_is_recursive+0x10/0x10 [ 51.383684][ T3542] ? __lock_acquire+0x125b/0x1f80 [ 51.388708][ T3542] _raw_spin_lock_irqsave+0xd1/0x120 [ 51.393987][ T3542] ? trie_delete_elem+0x90/0x690 [ 51.398938][ T3542] ? _raw_spin_lock+0x40/0x40 [ 51.403619][ T3542] ? bpf_send_signal_common+0x341/0x420 [ 51.409164][ T3542] trie_delete_elem+0x90/0x690 [ 51.413930][ T3542] ? __cant_sleep+0x270/0x270 [ 51.418600][ T3542] ? do_raw_spin_lock+0x14a/0x370 [ 51.423621][ T3542] bpf_prog_029d1888f6cd2729+0x3f/0x43 [ 51.429075][ T3542] bpf_trace_run2+0x1fd/0x410 [ 51.433741][ T3542] ? bpf_trace_run2+0x110/0x410 [ 51.438579][ T3542] ? bpf_trace_run1+0x3d0/0x3d0 [ 51.443415][ T3542] ? trie_update_elem+0x268/0xc00 [ 51.448431][ T3542] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 51.453881][ T3542] ? _raw_spin_lock+0x40/0x40 [ 51.458550][ T3542] ? trie_update_elem+0x268/0xc00 [ 51.463568][ T3542] __bpf_trace_kfree+0x6e/0x90 [ 51.468322][ T3542] ? trie_update_elem+0x268/0xc00 [ 51.473426][ T3542] kfree+0xf6/0x190 [ 51.477224][ T3542] trie_update_elem+0x268/0xc00 [ 51.482073][ T3542] ? __lock_acquire+0x1f80/0x1f80 [ 51.487094][ T3542] bpf_map_update_value+0x5cf/0x6f0 [ 51.492285][ T3542] generic_map_update_batch+0x579/0x920 [ 51.497827][ T3542] ? rcu_read_unlock+0xa0/0xa0 [ 51.502590][ T3542] ? __fdget+0x14e/0x210 [ 51.506821][ T3542] ? rcu_read_unlock+0xa0/0xa0 [ 51.511573][ T3542] bpf_map_do_batch+0x4d0/0x620 [ 51.516418][ T3542] __sys_bpf+0x658/0x6c0 [ 51.520654][ T3542] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 51.526023][ T3542] ? print_irqtrace_events+0x210/0x210 [ 51.531473][ T3542] ? print_irqtrace_events+0x210/0x210 [ 51.536923][ T3542] ? syscall_enter_from_user_mode+0x2e/0x230 [ 51.542891][ T3542] ? lockdep_hardirqs_on+0x94/0x130 [ 51.548107][ T3542] __x64_sys_bpf+0x78/0x90 [ 51.552518][ T3542] do_syscall_64+0x3b/0xb0 [ 51.556928][ T3542] ? clear_bhb_loop+0x45/0xa0 [ 51.561597][ T3542] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 51.567483][ T3542] RIP: 0033:0x7f39a6d777e9 [ 51.571890][ T3542] 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.591487][ T354