Warning: Permanently added '10.128.0.197' (ED25519) to the list of known hosts. executing program [ 72.243424][ T3542] [ 72.245811][ T3542] ============================================ [ 72.251981][ T3542] WARNING: possible recursive locking detected [ 72.258222][ T3542] 6.1.82-syzkaller #0 Not tainted [ 72.263333][ T3542] -------------------------------------------- [ 72.269599][ T3542] syz-executor368/3542 is trying to acquire lock: [ 72.276135][ T3542] ffff88807be9a238 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 72.285178][ T3542] [ 72.285178][ T3542] but task is already holding lock: [ 72.292551][ T3542] ffff888079d29238 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 72.301751][ T3542] [ 72.301751][ T3542] other info that might help us debug this: [ 72.310159][ T3542] Possible unsafe locking scenario: [ 72.310159][ T3542] [ 72.318051][ T3542] CPU0 [ 72.321471][ T3542] ---- [ 72.325051][ T3542] lock(&trie->lock); [ 72.329184][ T3542] lock(&trie->lock); [ 72.333513][ T3542] [ 72.333513][ T3542] *** DEADLOCK *** [ 72.333513][ T3542] [ 72.342119][ T3542] May be due to missing lock nesting notation [ 72.342119][ T3542] [ 72.350541][ T3542] 3 locks held by syz-executor368/3542: [ 72.356627][ T3542] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 72.366784][ T3542] #1: ffff888079d29238 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 72.376222][ T3542] #2: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 [ 72.385652][ T3542] [ 72.385652][ T3542] stack backtrace: [ 72.391905][ T3542] CPU: 0 PID: 3542 Comm: syz-executor368 Not tainted 6.1.82-syzkaller #0 [ 72.401187][ T3542] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 72.412522][ T3542] Call Trace: [ 72.415869][ T3542] [ 72.418834][ T3542] dump_stack_lvl+0x1e3/0x2cb [ 72.423576][ T3542] ? nf_tcp_handle_invalid+0x642/0x642 [ 72.429088][ T3542] ? panic+0x75d/0x75d [ 72.433203][ T3542] validate_chain+0x4711/0x5950 [ 72.438309][ T3542] ? reacquire_held_locks+0x660/0x660 [ 72.443743][ T3542] ? reacquire_held_locks+0x660/0x660 [ 72.449524][ T3542] ? __stack_depot_save+0x3f5/0x470 [ 72.455832][ T3542] ? __lock_acquire+0x1f80/0x1f80 [ 72.461313][ T3542] ? mark_lock+0x9a/0x340 [ 72.466065][ T3542] ? mark_lock+0x9a/0x340 [ 72.471467][ T3542] ? __lock_acquire+0x125b/0x1f80 [ 72.476743][ T3542] ? mark_lock+0x9a/0x340 [ 72.481810][ T3542] __lock_acquire+0x125b/0x1f80 [ 72.486981][ T3542] lock_acquire+0x1f8/0x5a0 [ 72.491547][ T3542] ? trie_delete_elem+0x90/0x690 [ 72.497297][ T3542] ? read_lock_is_recursive+0x10/0x10 [ 72.502743][ T3542] ? __lock_acquire+0x125b/0x1f80 [ 72.507820][ T3542] _raw_spin_lock_irqsave+0xd1/0x120 [ 72.513221][ T3542] ? trie_delete_elem+0x90/0x690 [ 72.519206][ T3542] ? _raw_spin_lock+0x40/0x40 [ 72.524463][ T3542] ? read_lock_is_recursive+0x10/0x10 [ 72.530594][ T3542] trie_delete_elem+0x90/0x690 [ 72.535573][ T3542] ? __cant_sleep+0x270/0x270 [ 72.540508][ T3542] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 72.547660][ T3542] ? bpf_trace_run4+0x16a/0x470 [ 72.553073][ T3542] bpf_trace_run4+0x253/0x470 [ 72.558805][ T3542] ? bpf_trace_run3+0x440/0x440 [ 72.564709][ T3542] ? __alloc_pages+0x770/0x770 [ 72.572199][ T3542] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 72.578272][ T3542] __alloc_pages+0x717/0x770 [ 72.583158][ T3542] ? zone_statistics+0x160/0x160 [ 72.588866][ T3542] ? __rwlock_init+0x140/0x140 [ 72.594103][ T3542] __kmalloc_large_node+0x91/0x1d0 [ 72.599893][ T3542] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 72.605437][ T3542] __kmalloc_node+0x111/0x230 [ 72.610406][ T3542] ? _raw_spin_lock+0x40/0x40 [ 72.615312][ T3542] bpf_map_kmalloc_node+0xce/0x1c0 [ 72.621193][ T3542] trie_update_elem+0x1cb/0xc00 [ 72.626300][ T3542] ? exc_page_fault+0x1c0/0x660 [ 72.631619][ T3542] ? asm_exc_page_fault+0x22/0x30 [ 72.638910][ T3542] bpf_map_update_value+0x5cf/0x6f0 [ 72.645277][ T3542] map_update_elem+0x503/0x680 [ 72.650638][ T3542] __sys_bpf+0x337/0x6c0 [ 72.655126][ T3542] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 72.660697][ T3542] ? print_irqtrace_events+0x210/0x210 [ 72.666194][ T3542] ? print_irqtrace_events+0x210/0x210 [ 72.671704][ T3542] ? syscall_enter_from_user_mode+0x2e/0x220 [ 72.677903][ T3542] ? lockdep_hardirqs_on+0x94/0x130 [ 72.683586][ T3542] __x64_sys_bpf+0x78/0x90 [ 72.688131][ T3542] do_syscall_64+0x3d/0xb0 [ 72.692602][ T3542] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 72.698535][ T3542] RIP: 0033:0x7faa63c107a9 [ 72.703162][ 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 [ 72.724093][ T3542] RSP: 002b:00007fff782321d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 72.732627][ T3542] RAX: ffffffffffffffda RBX: 00007fff782323a8 RCX: 00007faa63c107a9 [ 72.740639][ T3542] RDX: 0000000000000020 RSI: 00000000200