Warning: Permanently added '10.128.1.39' (ED25519) to the list of known hosts. executing program [ 51.656686][ T3540] [ 51.659145][ T3540] ============================================ [ 51.665278][ T3540] WARNING: possible recursive locking detected [ 51.671410][ T3540] 6.1.82-syzkaller #0 Not tainted [ 51.676426][ T3540] -------------------------------------------- [ 51.682580][ T3540] syz-executor146/3540 is trying to acquire lock: [ 51.688990][ T3540] ffff88807c4fe238 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 51.697862][ T3540] [ 51.697862][ T3540] but task is already holding lock: [ 51.705203][ T3540] ffff88807e66aa38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 51.714058][ T3540] [ 51.714058][ T3540] other info that might help us debug this: [ 51.722119][ T3540] Possible unsafe locking scenario: [ 51.722119][ T3540] [ 51.729562][ T3540] CPU0 [ 51.732825][ T3540] ---- [ 51.736104][ T3540] lock(&trie->lock); [ 51.740173][ T3540] lock(&trie->lock); [ 51.744231][ T3540] [ 51.744231][ T3540] *** DEADLOCK *** [ 51.744231][ T3540] [ 51.752708][ T3540] May be due to missing lock nesting notation [ 51.752708][ T3540] [ 51.761020][ T3540] 3 locks held by syz-executor146/3540: [ 51.766549][ T3540] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 51.776467][ T3540] #1: ffff88807e66aa38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 51.785760][ T3540] #2: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 [ 51.795149][ T3540] [ 51.795149][ T3540] stack backtrace: [ 51.801018][ T3540] CPU: 1 PID: 3540 Comm: syz-executor146 Not tainted 6.1.82-syzkaller #0 [ 51.809410][ T3540] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 51.819449][ T3540] Call Trace: [ 51.822712][ T3540] [ 51.825629][ T3540] dump_stack_lvl+0x1e3/0x2cb [ 51.830314][ T3540] ? nf_tcp_handle_invalid+0x642/0x642 [ 51.835873][ T3540] ? panic+0x75d/0x75d [ 51.839943][ T3540] validate_chain+0x4711/0x5950 [ 51.844782][ T3540] ? reacquire_held_locks+0x660/0x660 [ 51.850156][ T3540] ? reacquire_held_locks+0x660/0x660 [ 51.855561][ T3540] ? __stack_depot_save+0x3f5/0x470 [ 51.860754][ T3540] ? __lock_acquire+0x1f80/0x1f80 [ 51.865797][ T3540] ? mark_lock+0x9a/0x340 [ 51.870150][ T3540] ? mark_lock+0x9a/0x340 [ 51.874485][ T3540] ? __lock_acquire+0x125b/0x1f80 [ 51.879518][ T3540] ? mark_lock+0x9a/0x340 [ 51.883858][ T3540] __lock_acquire+0x125b/0x1f80 [ 51.888715][ T3540] lock_acquire+0x1f8/0x5a0 [ 51.893206][ T3540] ? trie_delete_elem+0x90/0x690 [ 51.898161][ T3540] ? read_lock_is_recursive+0x10/0x10 [ 51.903620][ T3540] ? __lock_acquire+0x125b/0x1f80 [ 51.908644][ T3540] _raw_spin_lock_irqsave+0xd1/0x120 [ 51.913919][ T3540] ? trie_delete_elem+0x90/0x690 [ 51.918851][ T3540] ? _raw_spin_lock+0x40/0x40 [ 51.923520][ T3540] ? read_lock_is_recursive+0x10/0x10 [ 51.928882][ T3540] trie_delete_elem+0x90/0x690 [ 51.933639][ T3540] ? __cant_sleep+0x270/0x270 [ 51.938319][ T3540] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 51.943793][ T3540] ? bpf_trace_run4+0x16a/0x470 [ 51.948628][ T3540] bpf_trace_run4+0x253/0x470 [ 51.953301][ T3540] ? bpf_trace_run3+0x440/0x440 [ 51.958140][ T3540] ? __alloc_pages+0x770/0x770 [ 51.962886][ T3540] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 51.968521][ T3540] __alloc_pages+0x717/0x770 [ 51.973199][ T3540] ? zone_statistics+0x160/0x160 [ 51.978127][ T3540] ? __rwlock_init+0x140/0x140 [ 51.982904][ T3540] __kmalloc_large_node+0x91/0x1d0 [ 51.988031][ T3540] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 51.993321][ T3540] __kmalloc_node+0x111/0x230 [ 51.998119][ T3540] ? _raw_spin_lock+0x40/0x40 [ 52.002890][ T3540] bpf_map_kmalloc_node+0xce/0x1c0 [ 52.008016][ T3540] trie_update_elem+0x1cb/0xc00 [ 52.012856][ T3540] ? exc_page_fault+0x1c0/0x660 [ 52.017786][ T3540] ? asm_exc_page_fault+0x22/0x30 [ 52.022859][ T3540] bpf_map_update_value+0x5cf/0x6f0 [ 52.028061][ T3540] map_update_elem+0x503/0x680 [ 52.032819][ T3540] __sys_bpf+0x337/0x6c0 [ 52.037053][ T3540] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 52.042415][ T3540] ? print_irqtrace_events+0x210/0x210 [ 52.047859][ T3540] ? print_irqtrace_events+0x210/0x210 [ 52.053303][ T3540] ? syscall_enter_from_user_mode+0x2e/0x220 [ 52.059326][ T3540] ? lockdep_hardirqs_on+0x94/0x130 [ 52.064509][ T3540] __x64_sys_bpf+0x78/0x90 [ 52.068935][ T3540] do_syscall_64+0x3d/0xb0 [ 52.073351][ T3540] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 52.079236][ T3540] RIP: 0033:0x7f8271a687a9 [ 52.083822][ T3540] 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 [ 52.103517][ T3540] RSP: 002b:00007ffdfbceaea8 EFLAGS: 000