Warning: Permanently added '10.128.1.91' (ED25519) to the list of known hosts. executing program [ 42.884581][ T3500] [ 42.886933][ T3500] ============================================ [ 42.893062][ T3500] WARNING: possible recursive locking detected [ 42.899186][ T3500] 5.15.152-syzkaller #0 Not tainted [ 42.904357][ T3500] -------------------------------------------- [ 42.910480][ T3500] syz-executor491/3500 is trying to acquire lock: [ 42.916866][ T3500] ffff8880246239b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 42.925731][ T3500] [ 42.925731][ T3500] but task is already holding lock: [ 42.933073][ T3500] ffff8880246231b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 42.941918][ T3500] [ 42.941918][ T3500] other info that might help us debug this: [ 42.949952][ T3500] Possible unsafe locking scenario: [ 42.949952][ T3500] [ 42.957376][ T3500] CPU0 [ 42.960632][ T3500] ---- [ 42.963889][ T3500] lock(&trie->lock); [ 42.967936][ T3500] lock(&trie->lock); [ 42.971995][ T3500] [ 42.971995][ T3500] *** DEADLOCK *** [ 42.971995][ T3500] [ 42.980113][ T3500] May be due to missing lock nesting notation [ 42.980113][ T3500] [ 42.988404][ T3500] 3 locks held by syz-executor491/3500: [ 42.993927][ T3500] #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 43.003210][ T3500] #1: ffff8880246231b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 43.012494][ T3500] #2: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 43.021919][ T3500] [ 43.021919][ T3500] stack backtrace: [ 43.027905][ T3500] CPU: 1 PID: 3500 Comm: syz-executor491 Not tainted 5.15.152-syzkaller #0 [ 43.036478][ T3500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 43.046518][ T3500] Call Trace: [ 43.049778][ T3500] [ 43.052731][ T3500] dump_stack_lvl+0x1e3/0x2cb [ 43.057395][ T3500] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 43.063013][ T3500] ? panic+0x84d/0x84d [ 43.067081][ T3500] validate_chain+0x46d2/0x5930 [ 43.071939][ T3500] ? reacquire_held_locks+0x660/0x660 [ 43.077318][ T3500] ? stack_depot_save+0x3db/0x440 [ 43.082350][ T3500] ? do_raw_spin_lock+0x14a/0x370 [ 43.087361][ T3500] ? __lock_acquire+0x1ff0/0x1ff0 [ 43.092371][ T3500] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.097552][ T3500] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 43.103429][ T3500] ? _raw_spin_unlock+0x40/0x40 [ 43.108277][ T3500] ? stack_trace_save+0x113/0x1c0 [ 43.113289][ T3500] ? mark_lock+0x98/0x340 [ 43.117604][ T3500] __lock_acquire+0x1295/0x1ff0 [ 43.122436][ T3500] lock_acquire+0x1db/0x4f0 [ 43.126917][ T3500] ? trie_delete_elem+0x90/0x690 [ 43.131832][ T3500] ? mark_lock+0x98/0x340 [ 43.136138][ T3500] ? read_lock_is_recursive+0x10/0x10 [ 43.141548][ T3500] ? __lock_acquire+0x1295/0x1ff0 [ 43.146569][ T3500] _raw_spin_lock_irqsave+0xd1/0x120 [ 43.151848][ T3500] ? trie_delete_elem+0x90/0x690 [ 43.156779][ T3500] ? _raw_spin_lock+0x40/0x40 [ 43.161446][ T3500] ? read_lock_is_recursive+0x10/0x10 [ 43.166809][ T3500] trie_delete_elem+0x90/0x690 [ 43.171579][ T3500] ? __cant_sleep+0x270/0x270 [ 43.176251][ T3500] bpf_prog_2c29ac5cdc6b1842+0x3a/0xd44 [ 43.181790][ T3500] bpf_trace_run4+0x1ea/0x390 [ 43.186461][ T3500] ? bpf_trace_run3+0x380/0x380 [ 43.191342][ T3500] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 43.196800][ T3500] __alloc_pages+0x6e0/0x700 [ 43.201372][ T3500] ? __rmqueue_pcplist+0x2030/0x2030 [ 43.206649][ T3500] ? do_raw_spin_lock+0x14a/0x370 [ 43.211664][ T3500] kmalloc_large_node+0x7c/0x180 [ 43.216604][ T3500] ? _raw_spin_lock_irqsave+0xac/0x120 [ 43.222051][ T3500] __kmalloc_node+0x22d/0x390 [ 43.226709][ T3500] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 43.232147][ T3500] ? _raw_spin_lock+0x40/0x40 [ 43.236804][ T3500] bpf_map_kmalloc_node+0xdb/0x160 [ 43.241900][ T3500] trie_update_elem+0x1cb/0xc00 [ 43.246734][ T3500] ? asm_exc_page_fault+0x22/0x30 [ 43.251744][ T3500] bpf_map_update_value+0x5d7/0x6c0 [ 43.256938][ T3500] map_update_elem+0x6a0/0x7c0 [ 43.261692][ T3500] __sys_bpf+0x2fd/0x670 [ 43.265916][ T3500] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 43.271376][ T3500] ? syscall_enter_from_user_mode+0x2e/0x230 [ 43.277352][ T3500] ? lockdep_hardirqs_on+0x94/0x130 [ 43.282539][ T3500] __x64_sys_bpf+0x78/0x90 [ 43.287026][ T3500] do_syscall_64+0x3d/0xb0 [ 43.291422][ T3500] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 43.297294][ T3500] RIP: 0033:0x7ff14f9827a9 [ 43.301706][ T3500] 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 [ 43.321293][ T3500] RSP: 002b:00007ffe37777b98 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 43.329686][ T3500] RAX: ffffffffffffffda RBX: 00007ffe37777d68 RCX: 00007ff14f