Warning: Permanently added '10.128.1.118' (ED25519) to the list of known hosts. executing program [ 66.254383][ T3545] [ 66.257110][ T3545] ============================================ [ 66.263533][ T3545] WARNING: possible recursive locking detected [ 66.269778][ T3545] 6.1.83-syzkaller #0 Not tainted [ 66.274798][ T3545] -------------------------------------------- [ 66.281042][ T3545] syz-executor157/3545 is trying to acquire lock: [ 66.287452][ T3545] ffff88807a747a38 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 66.296637][ T3545] [ 66.296637][ T3545] but task is already holding lock: [ 66.304170][ T3545] ffff88807a747238 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 66.313240][ T3545] [ 66.313240][ T3545] other info that might help us debug this: [ 66.321388][ T3545] Possible unsafe locking scenario: [ 66.321388][ T3545] [ 66.329485][ T3545] CPU0 [ 66.333148][ T3545] ---- [ 66.336508][ T3545] lock(&trie->lock); [ 66.340786][ T3545] lock(&trie->lock); [ 66.345294][ T3545] [ 66.345294][ T3545] *** DEADLOCK *** [ 66.345294][ T3545] [ 66.354128][ T3545] May be due to missing lock nesting notation [ 66.354128][ T3545] [ 66.362551][ T3545] 5 locks held by syz-executor157/3545: [ 66.368197][ T3545] #0: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_map_update_value+0x207/0x6f0 [ 66.378248][ T3545] #1: ffff88807a747238 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 66.387951][ T3545] #2: ffff8880b9928118 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x1b2/0x8c0 [ 66.397305][ T3545] #3: ffff8880b9928358 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 66.406835][ T3545] #4: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run3+0x146/0x440 [ 66.416518][ T3545] [ 66.416518][ T3545] stack backtrace: [ 66.422757][ T3545] CPU: 1 PID: 3545 Comm: syz-executor157 Not tainted 6.1.83-syzkaller #0 [ 66.431639][ T3545] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 66.443823][ T3545] Call Trace: [ 66.447675][ T3545] [ 66.450830][ T3545] dump_stack_lvl+0x1e3/0x2cb [ 66.456888][ T3545] ? nf_tcp_handle_invalid+0x642/0x642 [ 66.463376][ T3545] ? panic+0x75d/0x75d [ 66.467580][ T3545] validate_chain+0x4711/0x5950 [ 66.472768][ T3545] ? lockdep_unlock+0x165/0x300 [ 66.478213][ T3545] ? reacquire_held_locks+0x660/0x660 [ 66.483832][ T3545] ? lockdep_unlock+0x165/0x300 [ 66.488979][ T3545] ? lockdep_lock+0x2a0/0x2a0 [ 66.493667][ T3545] ? unwind_next_frame+0x1a3f/0x2220 [ 66.498985][ T3545] ? validate_chain+0x13ce/0x5950 [ 66.504129][ T3545] ? look_up_lock_class+0x77/0x140 [ 66.509272][ T3545] ? register_lock_class+0x100/0x990 [ 66.514829][ T3545] ? is_dynamic_key+0x260/0x260 [ 66.519720][ T3545] ? mark_lock+0x9a/0x340 [ 66.524075][ T3545] __lock_acquire+0x125b/0x1f80 [ 66.528954][ T3545] lock_acquire+0x1f8/0x5a0 [ 66.533557][ T3545] ? trie_delete_elem+0x90/0x690 [ 66.538547][ T3545] ? read_lock_is_recursive+0x10/0x10 [ 66.543982][ T3545] ? __lock_acquire+0x125b/0x1f80 [ 66.549220][ T3545] _raw_spin_lock_irqsave+0xd1/0x120 [ 66.554695][ T3545] ? trie_delete_elem+0x90/0x690 [ 66.559660][ T3545] ? _raw_spin_lock+0x40/0x40 [ 66.564642][ T3545] ? read_lock_is_recursive+0x10/0x10 [ 66.570577][ T3545] trie_delete_elem+0x90/0x690 [ 66.575379][ T3545] ? __cant_sleep+0x270/0x270 [ 66.580293][ T3545] ? __lock_acquire+0x1f80/0x1f80 [ 66.585442][ T3545] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 66.590911][ T3545] bpf_trace_run3+0x231/0x440 [ 66.595597][ T3545] ? bpf_trace_run3+0x146/0x440 [ 66.600456][ T3545] ? bpf_trace_run2+0x410/0x410 [ 66.605354][ T3545] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 66.611482][ T3545] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 66.617587][ T3545] ? _raw_spin_lock+0x40/0x40 [ 66.622400][ T3545] enqueue_timer+0x440/0x600 [ 66.627026][ T3545] __mod_timer+0x92b/0xee0 [ 66.631559][ T3545] ? mod_timer_pending+0x20/0x20 [ 66.636631][ T3545] ? read_lock_is_recursive+0x10/0x10 [ 66.642117][ T3545] ? __queue_delayed_work+0x16b/0x210 [ 66.647581][ T3545] queue_delayed_work_on+0x156/0x250 [ 66.653049][ T3545] ? delayed_work_timer_fn+0x80/0x80 [ 66.658360][ T3545] ? llist_add_batch+0x1d0/0x1d0 [ 66.663404][ T3545] ? __phys_addr+0xb6/0x170 [ 66.667938][ T3545] kvfree_call_rcu+0x520/0x8c0 [ 66.672722][ T3545] ? rcu_leak_callback+0x10/0x10 [ 66.677692][ T3545] ? rcu_is_watching+0x11/0xb0 [ 66.682546][ T3545] ? bpf_map_kmalloc_node+0xce/0x1c0 [ 66.687926][ T3545] ? __kmalloc_node+0xe3/0x230 [ 66.692743][ T3545] ? longest_prefix_match+0x318/0x640 [ 66.698522][ T3545] trie_update_elem+0x808/0xc00 [ 66.703610][ T3545] bpf_map_update_value+0x5cf/0x6f0 [ 66.708833][ T3545] generic_map_update_batch+0x579/0x920 [ 66.714676][ T3545] ? rcu_read_unlock+0xa0/0xa0 [ 66.719470][ T3545] ? __fdget+0x14e/0x210 [ 66.723732][ T3545] ? rcu_read_unlock+0xa0/0xa0 [ 66.728601][ T3545] bpf_map_do_batch+0x4d0/0x620 [ 66.733655][ T3545] __sys_bpf+0x658/0x6c0 [ 66.738010][ T3545] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 66.743608][ T3545] ? print_irqtrace_events+0x210/0x210 [ 66.749595][ T3545] ? print_irqtrace_events+0x210/0x210 [ 66.755084][ T3545] ? syscall_enter_from_user_mode+0x2e/0x220 [ 66.761085][ T3545] ? lockdep_hardirqs_on+0x94/0x130 [ 66.766582][ T3545] __x64_sys_bpf+0x78/0x90 [ 66.771043][ T3545] do_syscall_64+0x3d/0xb0 [ 66.775478][ T3545] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 66.781386][ T3545] RIP: 0033:0x7f5187cd9eb9 [ 66.785818][ T3545] 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.805475][ T3545] RSP: 002b:00007fff1bd1ae48 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 66.814161][ T3545] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5187cd9eb9 [ 66.822330][ T3545] RDX: 0000000000000038 RSI: 0000000020000240 RDI: 000000000000001a [ 66.830859][ T3545] RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000006 [ 66.839632][ T3545] R10: 0000000000000006 R11: 0000000000000246 R12: 0000000000000000 [ 66.849112][ T3545] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001 executing program executing program [ 66.857383][ T3545] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program