Warning: Permanently added '10.128.10.6' (ED25519) to the list of known hosts. executing program [ 50.883819][ T3540] [ 50.886270][ T3540] ============================================ [ 50.892398][ T3540] WARNING: possible recursive locking detected [ 50.898522][ T3540] 6.1.82-syzkaller #0 Not tainted [ 50.903540][ T3540] -------------------------------------------- [ 50.909667][ T3540] syz-executor173/3540 is trying to acquire lock: [ 50.916066][ T3540] ffff8880734f8238 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 50.924931][ T3540] [ 50.924931][ T3540] but task is already holding lock: [ 50.932298][ T3540] ffff8880734f8a38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 50.941147][ T3540] [ 50.941147][ T3540] other info that might help us debug this: [ 50.949183][ T3540] Possible unsafe locking scenario: [ 50.949183][ T3540] [ 50.956613][ T3540] CPU0 [ 50.959875][ T3540] ---- [ 50.963136][ T3540] lock(&trie->lock); [ 50.967189][ T3540] lock(&trie->lock); [ 50.971239][ T3540] [ 50.971239][ T3540] *** DEADLOCK *** [ 50.971239][ T3540] [ 50.979364][ T3540] May be due to missing lock nesting notation [ 50.979364][ T3540] [ 50.987670][ T3540] 3 locks held by syz-executor173/3540: [ 50.993197][ T3540] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 51.003108][ T3540] #1: ffff8880734f8a38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 51.012405][ T3540] #2: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 [ 51.021783][ T3540] [ 51.021783][ T3540] stack backtrace: [ 51.027653][ T3540] CPU: 0 PID: 3540 Comm: syz-executor173 Not tainted 6.1.82-syzkaller #0 [ 51.036049][ T3540] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 51.046089][ T3540] Call Trace: [ 51.049354][ T3540] [ 51.052282][ T3540] dump_stack_lvl+0x1e3/0x2cb [ 51.056983][ T3540] ? nf_tcp_handle_invalid+0x642/0x642 [ 51.062433][ T3540] ? panic+0x75d/0x75d [ 51.066499][ T3540] validate_chain+0x4711/0x5950 [ 51.071954][ T3540] ? reacquire_held_locks+0x660/0x660 [ 51.077322][ T3540] ? reacquire_held_locks+0x660/0x660 [ 51.082689][ T3540] ? __stack_depot_save+0x3f5/0x470 [ 51.087873][ T3540] ? __lock_acquire+0x1f80/0x1f80 [ 51.092886][ T3540] ? mark_lock+0x9a/0x340 [ 51.097205][ T3540] ? mark_lock+0x9a/0x340 [ 51.101524][ T3540] ? __lock_acquire+0x125b/0x1f80 [ 51.106542][ T3540] ? mark_lock+0x9a/0x340 [ 51.110866][ T3540] __lock_acquire+0x125b/0x1f80 [ 51.115723][ T3540] lock_acquire+0x1f8/0x5a0 [ 51.120213][ T3540] ? trie_delete_elem+0x90/0x690 [ 51.125142][ T3540] ? read_lock_is_recursive+0x10/0x10 [ 51.130594][ T3540] ? __lock_acquire+0x125b/0x1f80 [ 51.135704][ T3540] _raw_spin_lock_irqsave+0xd1/0x120 [ 51.140973][ T3540] ? trie_delete_elem+0x90/0x690 [ 51.145909][ T3540] ? _raw_spin_lock+0x40/0x40 [ 51.150574][ T3540] ? read_lock_is_recursive+0x10/0x10 [ 51.155937][ T3540] trie_delete_elem+0x90/0x690 [ 51.160691][ T3540] ? __cant_sleep+0x270/0x270 [ 51.165712][ T3540] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 51.171157][ T3540] ? bpf_trace_run4+0x16a/0x470 [ 51.175993][ T3540] bpf_trace_run4+0x253/0x470 [ 51.180654][ T3540] ? bpf_trace_run3+0x440/0x440 [ 51.185492][ T3540] ? __alloc_pages+0x770/0x770 [ 51.190245][ T3540] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 51.195696][ T3540] __alloc_pages+0x717/0x770 [ 51.200278][ T3540] ? zone_statistics+0x160/0x160 [ 51.205291][ T3540] ? __rwlock_init+0x140/0x140 [ 51.210043][ T3540] __kmalloc_large_node+0x91/0x1d0 [ 51.215143][ T3540] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 51.220591][ T3540] __kmalloc_node+0x111/0x230 [ 51.225428][ T3540] ? _raw_spin_lock+0x40/0x40 [ 51.230107][ T3540] bpf_map_kmalloc_node+0xce/0x1c0 [ 51.235209][ T3540] trie_update_elem+0x1cb/0xc00 [ 51.240049][ T3540] ? exc_page_fault+0x1c0/0x660 [ 51.244885][ T3540] ? asm_exc_page_fault+0x22/0x30 [ 51.249899][ T3540] bpf_map_update_value+0x5cf/0x6f0 [ 51.255086][ T3540] map_update_elem+0x503/0x680 [ 51.259839][ T3540] __sys_bpf+0x337/0x6c0 [ 51.264074][ T3540] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 51.269442][ T3540] ? print_irqtrace_events+0x210/0x210 [ 51.274894][ T3540] ? print_irqtrace_events+0x210/0x210 [ 51.280343][ T3540] ? syscall_enter_from_user_mode+0x2e/0x220 [ 51.286308][ T3540] ? lockdep_hardirqs_on+0x94/0x130 [ 51.291514][ T3540] __x64_sys_bpf+0x78/0x90 [ 51.295949][ T3540] do_syscall_64+0x3d/0xb0 [ 51.300369][ T3540] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 51.306253][ T3540] RIP: 0033:0x7f902f1a97a9 [ 51.310656][ 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 [ 51.330251][ T3540] RSP: 002b:00007fffbeae6a08 EFLAGS: 0000024