Warning: Permanently added '10.128.0.5' (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 syzkaller login: [ 66.337772][ T3552] [ 66.340140][ T3552] ============================================ [ 66.346287][ T3552] WARNING: possible recursive locking detected [ 66.352419][ T3552] 6.1.84-syzkaller #0 Not tainted [ 66.357420][ T3552] -------------------------------------------- [ 66.363554][ T3552] syz-executor156/3552 is trying to acquire lock: [ 66.369946][ T3552] ffff88807de46238 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 66.378816][ T3552] [ 66.378816][ T3552] but task is already holding lock: [ 66.386160][ T3552] ffff88807d0d7a38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 66.395024][ T3552] [ 66.395024][ T3552] other info that might help us debug this: [ 66.403074][ T3552] Possible unsafe locking scenario: [ 66.403074][ T3552] [ 66.410508][ T3552] CPU0 [ 66.413770][ T3552] ---- [ 66.417032][ T3552] lock(&trie->lock); [ 66.421088][ T3552] lock(&trie->lock); [ 66.425144][ T3552] [ 66.425144][ T3552] *** DEADLOCK *** [ 66.425144][ T3552] [ 66.433272][ T3552] May be due to missing lock nesting notation [ 66.433272][ T3552] [ 66.441575][ T3552] 3 locks held by syz-executor156/3552: [ 66.447100][ T3552] #0: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 66.457014][ T3552] #1: ffff88807d0d7a38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 66.466324][ T3552] #2: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 [ 66.475710][ T3552] [ 66.475710][ T3552] stack backtrace: [ 66.481583][ T3552] CPU: 1 PID: 3552 Comm: syz-executor156 Not tainted 6.1.84-syzkaller #0 [ 66.489982][ T3552] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 66.500022][ T3552] Call Trace: [ 66.503289][ T3552] [ 66.506206][ T3552] dump_stack_lvl+0x1e3/0x2cb [ 66.510888][ T3552] ? nf_tcp_handle_invalid+0x642/0x642 [ 66.516337][ T3552] ? panic+0x75d/0x75d [ 66.520399][ T3552] validate_chain+0x4711/0x5950 [ 66.525254][ T3552] ? reacquire_held_locks+0x660/0x660 [ 66.530627][ T3552] ? reacquire_held_locks+0x660/0x660 [ 66.535992][ T3552] ? 0xffffffffa0001a34 [ 66.540135][ T3552] ? is_bpf_text_address+0x22/0x2a0 [ 66.545321][ T3552] ? is_bpf_text_address+0x289/0x2a0 [ 66.550597][ T3552] ? is_bpf_text_address+0x22/0x2a0 [ 66.555797][ T3552] ? stack_trace_save+0x1c0/0x1c0 [ 66.560830][ T3552] ? kernel_text_address+0x9f/0xd0 [ 66.565947][ T3552] ? __kernel_text_address+0x9/0x40 [ 66.571143][ T3552] ? mark_lock+0x9a/0x340 [ 66.575589][ T3552] ? mark_lock+0x9a/0x340 [ 66.579908][ T3552] ? mark_lock+0x9a/0x340 [ 66.584229][ T3552] __lock_acquire+0x125b/0x1f80 [ 66.589080][ T3552] lock_acquire+0x1f8/0x5a0 [ 66.593574][ T3552] ? trie_delete_elem+0x90/0x690 [ 66.598507][ T3552] ? read_lock_is_recursive+0x10/0x10 [ 66.603871][ T3552] ? __lock_acquire+0x125b/0x1f80 [ 66.608895][ T3552] _raw_spin_lock_irqsave+0xd1/0x120 [ 66.614173][ T3552] ? trie_delete_elem+0x90/0x690 [ 66.619104][ T3552] ? _raw_spin_lock+0x40/0x40 [ 66.623774][ T3552] ? read_lock_is_recursive+0x10/0x10 [ 66.629142][ T3552] trie_delete_elem+0x90/0x690 [ 66.633904][ T3552] ? __cant_sleep+0x270/0x270 [ 66.638578][ T3552] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 66.644029][ T3552] ? bpf_trace_run4+0x16a/0x470 [ 66.648868][ T3552] bpf_trace_run4+0x253/0x470 [ 66.653536][ T3552] ? bpf_trace_run3+0x440/0x440 [ 66.658380][ T3552] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 66.663835][ T3552] __traceiter_mm_page_alloc+0x35/0x50 [ 66.669286][ T3552] __alloc_pages+0x717/0x770 [ 66.673867][ T3552] ? zone_statistics+0x160/0x160 [ 66.678799][ T3552] ? __rwlock_init+0x140/0x140 [ 66.683560][ T3552] __kmalloc_large_node+0x91/0x1d0 [ 66.688663][ T3552] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 66.693940][ T3552] __kmalloc_node+0x111/0x230 [ 66.698602][ T3552] ? _raw_spin_lock+0x40/0x40 [ 66.703268][ T3552] bpf_map_kmalloc_node+0xce/0x1c0 [ 66.708370][ T3552] trie_update_elem+0x1cb/0xc00 [ 66.713216][ T3552] ? exc_page_fault+0x1c0/0x660 [ 66.718057][ T3552] ? asm_exc_page_fault+0x22/0x30 [ 66.723074][ T3552] bpf_map_update_value+0x5cf/0x6f0 [ 66.728263][ T3552] map_update_elem+0x503/0x680 [ 66.733018][ T3552] __sys_bpf+0x337/0x6c0 [ 66.737255][ T3552] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 66.743406][ T3552] ? print_irqtrace_events+0x210/0x210 [ 66.748863][ T3552] ? syscall_enter_from_user_mode+0x2e/0x230 [ 66.754839][ T3552] ? lockdep_hardirqs_on+0x94/0x130 [ 66.760032][ T3552] __x64_sys_bpf+0x78/0x90 [ 66.764446][ T3552] do_syscall_64+0x3d/0xb0 [ 66.768854][ T3552] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 66.774737][ T3552] RIP: 0033:0x7fca15685ea9 [ 66.779144][ T3552] 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 [ 66.798741][ T3552] RSP: 002b:00007ffe95587ac8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 66.807148][ T3552] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fca15685ea9 [ 66.815110][ T3552] RDX: 0000000000000020 RSI: 0000000020000080 RDI: 0000000000000002 [ 66.823069][ T3552] RBP: 0000000000000000 R08: 00000000000000a0 R09: 00000000000000a0 [ 66.831027][ T3552] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 executing program executing program executing program executing program executing program [ 66.838983][ T3552] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 66.846950][ T3552] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program