Warning: Permanently added '10.128.0.42' (ED25519) to the list of known hosts. executing program [ 65.524931][ T3544] [ 65.527302][ T3544] ============================================ [ 65.533443][ T3544] WARNING: possible recursive locking detected [ 65.539580][ T3544] 6.1.82-syzkaller #0 Not tainted [ 65.544677][ T3544] -------------------------------------------- [ 65.550816][ T3544] syz-executor173/3544 is trying to acquire lock: [ 65.557232][ T3544] ffff88807c84fa38 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 65.566226][ T3544] [ 65.566226][ T3544] but task is already holding lock: [ 65.573599][ T3544] ffff8880787eca38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 65.582515][ T3544] [ 65.582515][ T3544] other info that might help us debug this: [ 65.590572][ T3544] Possible unsafe locking scenario: [ 65.590572][ T3544] [ 65.598124][ T3544] CPU0 [ 65.601394][ T3544] ---- [ 65.604670][ T3544] lock(&trie->lock); [ 65.608822][ T3544] lock(&trie->lock); [ 65.612887][ T3544] [ 65.612887][ T3544] *** DEADLOCK *** [ 65.612887][ T3544] [ 65.621023][ T3544] May be due to missing lock nesting notation [ 65.621023][ T3544] [ 65.629341][ T3544] 3 locks held by syz-executor173/3544: [ 65.634887][ T3544] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 65.644826][ T3544] #1: ffff8880787eca38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 65.654164][ T3544] #2: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run4+0x16a/0x470 [ 65.663577][ T3544] [ 65.663577][ T3544] stack backtrace: [ 65.669455][ T3544] CPU: 1 PID: 3544 Comm: syz-executor173 Not tainted 6.1.82-syzkaller #0 [ 65.677862][ T3544] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 65.687931][ T3544] Call Trace: [ 65.691222][ T3544] [ 65.694146][ T3544] dump_stack_lvl+0x1e3/0x2cb [ 65.698856][ T3544] ? nf_tcp_handle_invalid+0x642/0x642 [ 65.704320][ T3544] ? panic+0x75d/0x75d [ 65.708415][ T3544] validate_chain+0x4711/0x5950 [ 65.713293][ T3544] ? reacquire_held_locks+0x660/0x660 [ 65.718692][ T3544] ? reacquire_held_locks+0x660/0x660 [ 65.724070][ T3544] ? __stack_depot_save+0x3f5/0x470 [ 65.729266][ T3544] ? __lock_acquire+0x1f80/0x1f80 [ 65.734308][ T3544] ? mark_lock+0x9a/0x340 [ 65.738646][ T3544] ? mark_lock+0x9a/0x340 [ 65.742981][ T3544] ? __lock_acquire+0x125b/0x1f80 [ 65.748022][ T3544] ? mark_lock+0x9a/0x340 [ 65.752443][ T3544] __lock_acquire+0x125b/0x1f80 [ 65.757319][ T3544] lock_acquire+0x1f8/0x5a0 [ 65.761850][ T3544] ? trie_delete_elem+0x90/0x690 [ 65.766810][ T3544] ? read_lock_is_recursive+0x10/0x10 [ 65.772186][ T3544] ? __lock_acquire+0x125b/0x1f80 [ 65.777234][ T3544] _raw_spin_lock_irqsave+0xd1/0x120 [ 65.782521][ T3544] ? trie_delete_elem+0x90/0x690 [ 65.787487][ T3544] ? _raw_spin_lock+0x40/0x40 [ 65.792164][ T3544] ? read_lock_is_recursive+0x10/0x10 [ 65.797544][ T3544] trie_delete_elem+0x90/0x690 [ 65.802323][ T3544] ? __cant_sleep+0x270/0x270 [ 65.806998][ T3544] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 65.812450][ T3544] ? bpf_trace_run4+0x16a/0x470 [ 65.817292][ T3544] bpf_trace_run4+0x253/0x470 [ 65.821999][ T3544] ? bpf_trace_run3+0x440/0x440 [ 65.826849][ T3544] ? __alloc_pages+0x770/0x770 [ 65.831711][ T3544] __bpf_trace_mm_page_alloc+0xba/0xe0 [ 65.837186][ T3544] __alloc_pages+0x717/0x770 [ 65.841896][ T3544] ? zone_statistics+0x160/0x160 [ 65.846841][ T3544] ? __rwlock_init+0x140/0x140 [ 65.851602][ T3544] __kmalloc_large_node+0x91/0x1d0 [ 65.856714][ T3544] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 65.862029][ T3544] __kmalloc_node+0x111/0x230 [ 65.866705][ T3544] ? _raw_spin_lock+0x40/0x40 [ 65.871380][ T3544] bpf_map_kmalloc_node+0xce/0x1c0 [ 65.876597][ T3544] trie_update_elem+0x1cb/0xc00 [ 65.881473][ T3544] ? exc_page_fault+0x1c0/0x660 [ 65.886319][ T3544] ? asm_exc_page_fault+0x22/0x30 [ 65.891345][ T3544] bpf_map_update_value+0x5cf/0x6f0 [ 65.896556][ T3544] map_update_elem+0x503/0x680 [ 65.901327][ T3544] __sys_bpf+0x337/0x6c0 [ 65.905573][ T3544] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 65.910968][ T3544] ? print_irqtrace_events+0x210/0x210 [ 65.916521][ T3544] ? print_irqtrace_events+0x210/0x210 [ 65.921989][ T3544] ? syscall_enter_from_user_mode+0x2e/0x220 [ 65.928395][ T3544] ? lockdep_hardirqs_on+0x94/0x130 [ 65.933620][ T3544] __x64_sys_bpf+0x78/0x90 [ 65.938038][ T3544] do_syscall_64+0x3d/0xb0 [ 65.942455][ T3544] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 65.948343][ T3544] RIP: 0033:0x7fd91e7a47a9 [ 65.952748][ T3544] 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 [ 65.972368][ T3544] RSP: 002b:00007ffe57b67fa8 EFLA