Warning: Permanently added '10.128.0.56' (ED25519) to the list of known hosts. executing program [ 50.915685][ T3498] [ 50.918024][ T3498] ============================================ [ 50.924618][ T3498] WARNING: possible recursive locking detected [ 50.930788][ T3498] 5.15.153-syzkaller #0 Not tainted [ 50.938667][ T3498] -------------------------------------------- [ 50.945702][ T3498] syz-executor248/3498 is trying to acquire lock: [ 50.952561][ T3498] ffff888075d011b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 50.964202][ T3498] [ 50.964202][ T3498] but task is already holding lock: [ 50.972336][ T3498] ffff888075d015b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 50.981298][ T3498] [ 50.981298][ T3498] other info that might help us debug this: [ 50.989778][ T3498] Possible unsafe locking scenario: [ 50.989778][ T3498] [ 50.997511][ T3498] CPU0 [ 51.001454][ T3498] ---- [ 51.004932][ T3498] lock(&trie->lock); [ 51.009351][ T3498] lock(&trie->lock); [ 51.013860][ T3498] [ 51.013860][ T3498] *** DEADLOCK *** [ 51.013860][ T3498] [ 51.022226][ T3498] May be due to missing lock nesting notation [ 51.022226][ T3498] [ 51.031033][ T3498] 5 locks held by syz-executor248/3498: [ 51.036837][ T3498] #0: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.046343][ T3498] #1: ffff888075d015b8 (&trie->lock){....}-{2:2}, at: trie_update_elem+0xc5/0xc00 [ 51.055991][ T3498] #2: ffff8880b9a27e78 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x1b5/0x8a0 [ 51.065644][ T3498] #3: ffff8880b9a28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 51.075400][ T3498] #4: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.085383][ T3498] [ 51.085383][ T3498] stack backtrace: [ 51.091743][ T3498] CPU: 0 PID: 3498 Comm: syz-executor248 Not tainted 5.15.153-syzkaller #0 [ 51.100636][ T3498] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 51.110983][ T3498] Call Trace: [ 51.114953][ T3498] [ 51.118134][ T3498] dump_stack_lvl+0x1e3/0x2cb [ 51.122966][ T3498] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 51.128772][ T3498] ? panic+0x84d/0x84d [ 51.133120][ T3498] validate_chain+0x46d2/0x5930 [ 51.138415][ T3498] ? add_chain_block+0x850/0x850 [ 51.143366][ T3498] ? lockdep_unlock+0x166/0x300 [ 51.148533][ T3498] ? reacquire_held_locks+0x660/0x660 [ 51.154473][ T3498] ? lockdep_unlock+0x166/0x300 [ 51.160428][ T3498] ? lockdep_lock+0x2a0/0x2a0 [ 51.165650][ T3498] ? look_up_lock_class+0x77/0x120 [ 51.171107][ T3498] ? register_lock_class+0x100/0x9a0 [ 51.176735][ T3498] ? is_dynamic_key+0x1f0/0x1f0 [ 51.182083][ T3498] ? mark_lock+0x98/0x340 [ 51.186933][ T3498] __lock_acquire+0x1295/0x1ff0 [ 51.192471][ T3498] lock_acquire+0x1db/0x4f0 [ 51.197390][ T3498] ? trie_delete_elem+0x90/0x690 [ 51.202613][ T3498] ? mark_lock+0x98/0x340 [ 51.207288][ T3498] ? read_lock_is_recursive+0x10/0x10 [ 51.213216][ T3498] ? __lock_acquire+0x1295/0x1ff0 [ 51.218471][ T3498] _raw_spin_lock_irqsave+0xd1/0x120 [ 51.223862][ T3498] ? trie_delete_elem+0x90/0x690 [ 51.228980][ T3498] ? _raw_spin_lock+0x40/0x40 [ 51.234079][ T3498] ? read_lock_is_recursive+0x10/0x10 [ 51.239642][ T3498] trie_delete_elem+0x90/0x690 [ 51.244573][ T3498] ? __cant_sleep+0x270/0x270 [ 51.249319][ T3498] ? do_raw_spin_lock+0x14a/0x370 [ 51.254326][ T3498] ? __lock_acquire+0x1ff0/0x1ff0 [ 51.259451][ T3498] bpf_prog_2c29ac5cdc6b1842+0x3a/0x2a8 [ 51.265001][ T3498] bpf_trace_run3+0x1d1/0x380 [ 51.269889][ T3498] ? bpf_trace_run2+0x340/0x340 [ 51.274879][ T3498] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 51.280951][ T3498] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 51.286494][ T3498] ? _raw_spin_lock+0x40/0x40 [ 51.291407][ T3498] enqueue_timer+0x3ae/0x540 [ 51.296022][ T3498] __mod_timer+0xa60/0xeb0 [ 51.300646][ T3498] ? mod_timer_pending+0x20/0x20 [ 51.305898][ T3498] ? read_lock_is_recursive+0x10/0x10 [ 51.311456][ T3498] ? __queue_delayed_work+0x16b/0x210 [ 51.317037][ T3498] queue_delayed_work_on+0x156/0x250 [ 51.322938][ T3498] ? delayed_work_timer_fn+0x80/0x80 [ 51.328788][ T3498] ? __rwlock_init+0x140/0x140 [ 51.334255][ T3498] kvfree_call_rcu+0x50e/0x8a0 [ 51.339121][ T3498] ? call_rcu+0xa70/0xa70 [ 51.343672][ T3498] ? __kmalloc_node+0x199/0x390 [ 51.348609][ T3498] ? bpf_map_kmalloc_node+0xdb/0x160 [ 51.354134][ T3498] ? _raw_spin_lock+0x40/0x40 [ 51.359177][ T3498] ? longest_prefix_match+0x318/0x640 [ 51.364587][ T3498] trie_update_elem+0x808/0xc00 [ 51.369674][ T3498] bpf_map_update_value+0x5d7/0x6c0 [ 51.375298][ T3498] generic_map_update_batch+0x54d/0x8b0 [ 51.380963][ T3498] ? rcu_read_unlock+0x90/0x90 [ 51.385735][ T3498] ? __fdget+0x158/0x220 [ 51.390001][ T3498] ? rcu_read_unlock+0x90/0x90 [ 51.394924][ T3498] bpf_map_do_batch+0x4d0/0x620 [ 51.400056][ T3498] __sys_bpf+0x55c/0x670 [ 51.404476][ T3498] ? bpf_link_show_fdinfo+0x2d0/0x2d0 [ 51.410391][ T3498] ? syscall_enter_from_user_mode+0x2e/0x230 [ 51.416710][ T3498] ? lockdep_hardirqs_on+0x94/0x130 [ 51.422475][ T3498] __x64_sys_bpf+0x78/0x90 [ 51.427161][ T3498] do_syscall_64+0x3d/0xb0 [ 51.431842][ T3498] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 51.438177][ T3498] RIP: 0033:0x7fa5652577e9 [ 51.442853][ T3498] 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 [ 51.462898][ T3498] RSP: 002b:00007ffe375ff4e8 EFLAGS: 00