Warning: Permanently added '10.128.1.179' (ED25519) to the list of known hosts. executing program [ 52.558399][ T3544] [ 52.560751][ T3544] ============================================ [ 52.566897][ T3544] WARNING: possible recursive locking detected [ 52.573025][ T3544] 6.1.82-syzkaller #0 Not tainted [ 52.578049][ T3544] -------------------------------------------- [ 52.584180][ T3544] syz-executor989/3544 is trying to acquire lock: [ 52.590578][ T3544] ffff88807edf9238 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 52.599474][ T3544] [ 52.599474][ T3544] but task is already holding lock: [ 52.606823][ T3544] ffff88807edf9a38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 52.615686][ T3544] [ 52.615686][ T3544] other info that might help us debug this: [ 52.623727][ T3544] Possible unsafe locking scenario: [ 52.623727][ T3544] [ 52.631158][ T3544] CPU0 [ 52.634422][ T3544] ---- [ 52.637689][ T3544] lock(&trie->lock); [ 52.641754][ T3544] lock(&trie->lock); [ 52.645816][ T3544] [ 52.645816][ T3544] *** DEADLOCK *** [ 52.645816][ T3544] [ 52.653941][ T3544] May be due to missing lock nesting notation [ 52.653941][ T3544] [ 52.662242][ T3544] 5 locks held by syz-executor989/3544: [ 52.667773][ T3544] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 52.677706][ T3544] #1: ffff88807edf9a38 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 52.687023][ T3544] #2: ffff8880b9828118 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x1b2/0x8c0 [ 52.696090][ T3544] #3: ffff8880b9828358 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 52.705384][ T3544] #4: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run3+0x146/0x440 [ 52.714765][ T3544] [ 52.714765][ T3544] stack backtrace: [ 52.720655][ T3544] CPU: 0 PID: 3544 Comm: syz-executor989 Not tainted 6.1.82-syzkaller #0 [ 52.729052][ T3544] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 52.739094][ T3544] Call Trace: [ 52.742362][ T3544] [ 52.745282][ T3544] dump_stack_lvl+0x1e3/0x2cb [ 52.749968][ T3544] ? nf_tcp_handle_invalid+0x642/0x642 [ 52.755421][ T3544] ? panic+0x75d/0x75d [ 52.759490][ T3544] validate_chain+0x4711/0x5950 [ 52.764347][ T3544] ? lockdep_unlock+0x165/0x300 [ 52.769190][ T3544] ? reacquire_held_locks+0x660/0x660 [ 52.774559][ T3544] ? lockdep_unlock+0x165/0x300 [ 52.779403][ T3544] ? lockdep_lock+0x2a0/0x2a0 [ 52.784072][ T3544] ? unwind_next_frame+0x1a3f/0x2220 [ 52.789347][ T3544] ? validate_chain+0x13ce/0x5950 [ 52.794366][ T3544] ? look_up_lock_class+0x77/0x140 [ 52.799466][ T3544] ? register_lock_class+0x100/0x990 [ 52.804745][ T3544] ? is_dynamic_key+0x260/0x260 [ 52.809589][ T3544] ? mark_lock+0x9a/0x340 [ 52.813916][ T3544] __lock_acquire+0x125b/0x1f80 [ 52.818765][ T3544] lock_acquire+0x1f8/0x5a0 [ 52.823263][ T3544] ? trie_delete_elem+0x90/0x690 [ 52.828201][ T3544] ? read_lock_is_recursive+0x10/0x10 [ 52.833576][ T3544] ? __lock_acquire+0x125b/0x1f80 [ 52.838599][ T3544] _raw_spin_lock_irqsave+0xd1/0x120 [ 52.843887][ T3544] ? trie_delete_elem+0x90/0x690 [ 52.848818][ T3544] ? _raw_spin_lock+0x40/0x40 [ 52.853483][ T3544] ? read_lock_is_recursive+0x10/0x10 [ 52.858851][ T3544] trie_delete_elem+0x90/0x690 [ 52.863609][ T3544] ? __cant_sleep+0x270/0x270 [ 52.868276][ T3544] ? __lock_acquire+0x1f80/0x1f80 [ 52.873305][ T3544] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 52.878753][ T3544] bpf_trace_run3+0x231/0x440 [ 52.883420][ T3544] ? bpf_trace_run3+0x146/0x440 [ 52.888262][ T3544] ? bpf_trace_run2+0x410/0x410 [ 52.893119][ T3544] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 52.899003][ T3544] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 52.904449][ T3544] ? _raw_spin_lock+0x40/0x40 [ 52.909117][ T3544] enqueue_timer+0x440/0x600 [ 52.913700][ T3544] __mod_timer+0x92b/0xee0 [ 52.918115][ T3544] ? mod_timer_pending+0x20/0x20 [ 52.923052][ T3544] ? read_lock_is_recursive+0x10/0x10 [ 52.928422][ T3544] ? __queue_delayed_work+0x16b/0x210 [ 52.933791][ T3544] queue_delayed_work_on+0x156/0x250 [ 52.939155][ T3544] ? delayed_work_timer_fn+0x80/0x80 [ 52.944440][ T3544] ? llist_add_batch+0x1d0/0x1d0 [ 52.949368][ T3544] ? __phys_addr+0xb6/0x170 [ 52.953865][ T3544] kvfree_call_rcu+0x520/0x8c0 [ 52.958619][ T3544] ? rcu_leak_callback+0x10/0x10 [ 52.963545][ T3544] ? rcu_is_watching+0x11/0xb0 [ 52.968299][ T3544] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 52.973582][ T3544] ? __kmalloc_node+0xe3/0x230 [ 52.978353][ T3544] ? longest_prefix_match+0x2db/0x640 [ 52.983730][ T3544] trie_update_elem+0x808/0xc00 [ 52.988582][ T3544] bpf_map_update_value+0x5cf/0x6f0 [ 52.993783][ T3544] generic_map_update_batch+0x579/0x920 [ 52.999330][ T3544] ? rcu_read_unlock+0xa0/0xa0 [ 53.004087][ T3544] ? __fdget+0x14e/0x210 [ 53.008325][ T3544] ? rcu_read_unlock+0xa0/0xa0 [ 53.013110][ T3544] bpf_map_do_batch+0x4d0/0x620 [ 53.017968][ T3544] __sys_bpf+0x658/0x6c0 [ 53.022215][ T3544] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 53.027590][ T3544] ? print_irqtrace_events+0x210/0x210 [ 53.033052][ T3544] ? print_irqtrace_events+0x210/0x210 [ 53.038525][ T3544] ? syscall_enter_from_user_mode+0x2e/0x220 [ 53.044506][ T3544] ? lockdep_hardirqs_on+0x94/0x130 [ 53.049694][ T3544] __x64_sys_bpf+0x78/0x90 [ 53.054106][ T3544] do_syscall_64+0x3d/0xb0 [ 53.058521][ T3544] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 53.064431][ T3544] RIP: 0033:0x7fe1b81e1eb9 [ 53.068841][ T3544] 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 [ 53.088445][ T3544] RSP: 002b:00007ffcaeab2b98 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 53.096884][ T3544] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe1b81e1eb9 executing program executing program executing program [ 53.104852][ T3544] RDX: 0000000000000038 RSI: 0000000020000680 RDI: 000000000000001a [ 53.112812][ T3544] RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006 [ 53.120775][ T3544] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 53.128733][ T3544] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 [ 53.136698][ T3544] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program