Warning: Permanently added '10.128.0.244' (ED25519) to the list of known hosts. executing program [ 51.772902][ T3539] [ 51.775350][ T3539] ============================================ [ 51.781502][ T3539] WARNING: possible recursive locking detected [ 51.787644][ T3539] 6.1.82-syzkaller #0 Not tainted [ 51.792680][ T3539] -------------------------------------------- [ 51.798812][ T3539] syz-executor228/3539 is trying to acquire lock: [ 51.806561][ T3539] ffff88802337aa38 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 51.815474][ T3539] [ 51.815474][ T3539] but task is already holding lock: [ 51.822823][ T3539] ffff88802337b238 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 51.831688][ T3539] [ 51.831688][ T3539] other info that might help us debug this: [ 51.839728][ T3539] Possible unsafe locking scenario: [ 51.839728][ T3539] [ 51.847164][ T3539] CPU0 [ 51.850440][ T3539] ---- [ 51.853704][ T3539] lock(&trie->lock); [ 51.857762][ T3539] lock(&trie->lock); [ 51.861819][ T3539] [ 51.861819][ T3539] *** DEADLOCK *** [ 51.861819][ T3539] [ 51.869977][ T3539] May be due to missing lock nesting notation [ 51.869977][ T3539] [ 51.878283][ T3539] 3 locks held by syz-executor228/3539: [ 51.883826][ T3539] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 51.893760][ T3539] #1: ffff88802337b238 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 51.903111][ T3539] #2: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 [ 51.912508][ T3539] [ 51.912508][ T3539] stack backtrace: [ 51.918472][ T3539] CPU: 0 PID: 3539 Comm: syz-executor228 Not tainted 6.1.82-syzkaller #0 [ 51.926872][ T3539] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 51.937178][ T3539] Call Trace: [ 51.940449][ T3539] [ 51.943372][ T3539] dump_stack_lvl+0x1e3/0x2cb [ 51.948067][ T3539] ? nf_tcp_handle_invalid+0x642/0x642 [ 51.953522][ T3539] ? panic+0x75d/0x75d [ 51.957590][ T3539] validate_chain+0x4711/0x5950 [ 51.962443][ T3539] ? reacquire_held_locks+0x660/0x660 [ 51.967831][ T3539] ? reacquire_held_locks+0x660/0x660 [ 51.973201][ T3539] ? __stack_depot_save+0x3f5/0x470 [ 51.978390][ T3539] ? __lock_acquire+0x1f80/0x1f80 [ 51.983413][ T3539] ? mark_lock+0x9a/0x340 [ 51.987759][ T3539] ? mark_lock+0x9a/0x340 [ 51.992101][ T3539] ? __lock_acquire+0x125b/0x1f80 [ 51.997124][ T3539] ? mark_lock+0x9a/0x340 [ 52.001457][ T3539] __lock_acquire+0x125b/0x1f80 [ 52.006312][ T3539] lock_acquire+0x1f8/0x5a0 [ 52.010808][ T3539] ? trie_delete_elem+0x90/0x690 [ 52.015743][ T3539] ? read_lock_is_recursive+0x10/0x10 [ 52.021108][ T3539] ? __lock_acquire+0x125b/0x1f80 [ 52.026132][ T3539] _raw_spin_lock_irqsave+0xd1/0x120 [ 52.031408][ T3539] ? trie_delete_elem+0x90/0x690 [ 52.036341][ T3539] ? _raw_spin_lock+0x40/0x40 [ 52.041007][ T3539] ? read_lock_is_recursive+0x10/0x10 [ 52.046376][ T3539] trie_delete_elem+0x90/0x690 [ 52.051133][ T3539] ? __cant_sleep+0x270/0x270 [ 52.055799][ T3539] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 52.061244][ T3539] ? bpf_trace_run4+0x16a/0x470 [ 52.066089][ T3539] bpf_trace_run4+0x253/0x470 [ 52.070758][ T3539] ? bpf_trace_run3+0x440/0x440 [ 52.075604][ T3539] ? __alloc_pages+0x770/0x770 [ 52.080622][ T3539] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 52.086084][ T3539] __alloc_pages+0x717/0x770 [ 52.090674][ T3539] ? zone_statistics+0x160/0x160 [ 52.095604][ T3539] ? __rwlock_init+0x140/0x140 [ 52.100357][ T3539] __kmalloc_large_node+0x91/0x1d0 [ 52.105461][ T3539] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 52.110738][ T3539] __kmalloc_node+0x111/0x230 [ 52.115406][ T3539] ? _raw_spin_lock+0x40/0x40 [ 52.120080][ T3539] bpf_map_kmalloc_node+0xce/0x1c0 [ 52.125272][ T3539] trie_update_elem+0x1cb/0xc00 [ 52.130119][ T3539] ? exc_page_fault+0x1c0/0x660 [ 52.134962][ T3539] ? asm_exc_page_fault+0x22/0x30 [ 52.139982][ T3539] bpf_map_update_value+0x5cf/0x6f0 [ 52.145176][ T3539] map_update_elem+0x503/0x680 [ 52.149934][ T3539] __sys_bpf+0x337/0x6c0 [ 52.154171][ T3539] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 52.159623][ T3539] ? print_irqtrace_events+0x210/0x210 [ 52.165077][ T3539] ? print_irqtrace_events+0x210/0x210 [ 52.170530][ T3539] ? syscall_enter_from_user_mode+0x2e/0x220 [ 52.176501][ T3539] ? lockdep_hardirqs_on+0x94/0x130 [ 52.181691][ T3539] __x64_sys_bpf+0x78/0x90 [ 52.186103][ T3539] do_syscall_64+0x3d/0xb0 [ 52.190516][ T3539] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 52.196408][ T3539] RIP: 0033:0x7fa6ab1917a9 [ 52.200813][ T3539] 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.220409][ T3539] RSP: 002b:00007ffde7f61878 EFL