Warning: Permanently added '10.128.1.240' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 56.655074][ T15] [ 56.657529][ T15] ====================================================== [ 56.664563][ T15] WARNING: possible circular locking dependency detected [ 56.671592][ T15] 5.15.167-syzkaller #0 Not tainted [ 56.676777][ T15] ------------------------------------------------------ [ 56.683783][ T15] rcu_preempt/15 is trying to acquire lock: [ 56.689693][ T15] ffff88807d53c5b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 56.698683][ T15] [ 56.698683][ T15] but task is already holding lock: [ 56.706036][ T15] ffff8880b9028098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 56.714948][ T15] [ 56.714948][ T15] which lock already depends on the new lock. [ 56.714948][ T15] [ 56.725521][ T15] [ 56.725521][ T15] the existing dependency chain (in reverse order) is: [ 56.734524][ T15] [ 56.734524][ T15] -> #2 (&base->lock){-.-.}-{2:2}: [ 56.741828][ T15] lock_acquire+0x1db/0x4f0 [ 56.746984][ T15] _raw_spin_lock_irqsave+0xd1/0x120 [ 56.752809][ T15] lock_timer_base+0x120/0x260 [ 56.758109][ T15] __mod_timer+0x1d6/0xeb0 [ 56.763061][ T15] queue_delayed_work_on+0x156/0x250 [ 56.768877][ T15] kvfree_call_rcu+0x50e/0x8a0 [ 56.774177][ T15] rtnl_register_internal+0x443/0x530 [ 56.780209][ T15] rtnl_register+0x32/0x70 [ 56.785172][ T15] ip_rt_init+0x2e6/0x390 [ 56.790023][ T15] ip_init+0xa/0x20 [ 56.794374][ T15] inet_init+0x27c/0x390 [ 56.799163][ T15] do_one_initcall+0x22b/0x7a0 [ 56.804452][ T15] do_initcall_level+0x157/0x210 [ 56.809923][ T15] do_initcalls+0x49/0x90 [ 56.814771][ T15] kernel_init_freeable+0x425/0x5c0 [ 56.820486][ T15] kernel_init+0x19/0x290 [ 56.825338][ T15] ret_from_fork+0x1f/0x30 [ 56.830278][ T15] [ 56.830278][ T15] -> #1 (krc.lock){....}-{2:2}: [ 56.837313][ T15] lock_acquire+0x1db/0x4f0 [ 56.842339][ T15] _raw_spin_lock+0x2a/0x40 [ 56.847402][ T15] kvfree_call_rcu+0x1b5/0x8a0 [ 56.852781][ T15] trie_update_elem+0x808/0xc00 [ 56.858239][ T15] bpf_map_update_value+0x5d7/0x6c0 [ 56.863955][ T15] generic_map_update_batch+0x54d/0x8b0 [ 56.870046][ T15] bpf_map_do_batch+0x4d0/0x620 [ 56.875412][ T15] __sys_bpf+0x55c/0x670 [ 56.880258][ T15] __x64_sys_bpf+0x78/0x90 [ 56.885191][ T15] do_syscall_64+0x3b/0xb0 [ 56.890122][ T15] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 56.896533][ T15] [ 56.896533][ T15] -> #0 (&trie->lock){....}-{2:2}: [ 56.903826][ T15] validate_chain+0x1649/0x5930 [ 56.909193][ T15] __lock_acquire+0x1295/0x1ff0 [ 56.914556][ T15] lock_acquire+0x1db/0x4f0 [ 56.919573][ T15] _raw_spin_lock_irqsave+0xd1/0x120 [ 56.925376][ T15] trie_delete_elem+0x90/0x690 [ 56.931200][ T15] bpf_prog_864189397d3d884b+0x45/0x3bc [ 56.937267][ T15] bpf_trace_run3+0x1d1/0x380 [ 56.942468][ T15] enqueue_timer+0x3ae/0x540 [ 56.948012][ T15] __mod_timer+0xa60/0xeb0 [ 56.953078][ T15] schedule_timeout+0x1b4/0x300 [ 56.958544][ T15] rcu_gp_fqs_loop+0x2bf/0x1080 [ 56.963999][ T15] rcu_gp_kthread+0xa4/0x360 [ 56.969110][ T15] kthread+0x3f6/0x4f0 [ 56.973695][ T15] ret_from_fork+0x1f/0x30 [ 56.978641][ T15] [ 56.978641][ T15] other info that might help us debug this: [ 56.978641][ T15] [ 56.988859][ T15] Chain exists of: [ 56.988859][ T15] &trie->lock --> krc.lock --> &base->lock [ 56.988859][ T15] [ 57.000586][ T15] Possible unsafe locking scenario: [ 57.000586][ T15] [ 57.008200][ T15] CPU0 CPU1 [ 57.013645][ T15] ---- ---- [ 57.019115][ T15] lock(&base->lock); [ 57.023271][ T15] lock(krc.lock); [ 57.030029][ T15] lock(&base->lock); [ 57.037014][ T15] lock(&trie->lock); [ 57.041106][ T15] [ 57.041106][ T15] *** DEADLOCK *** [ 57.041106][ T15] [ 57.049695][ T15] 2 locks held by rcu_preempt/15: [ 57.054717][ T15] #0: ffff8880b9028098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 57.064177][ T15] #1: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 57.073513][ T15] [ 57.073513][ T15] stack backtrace: [ 57.079679][ T15] CPU: 0 PID: 15 Comm: rcu_preempt Not tainted 5.15.167-syzkaller #0 [ 57.088703][ T15] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 57.098934][ T15] Call Trace: [ 57.102504][ T15] [ 57.105560][ T15] dump_stack_lvl+0x1e3/0x2d0 [ 57.110254][ T15] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 57.115917][ T15] ? print_circular_bug+0x12b/0x1a0 [ 57.121119][ T15] check_noncircular+0x2f8/0x3b0 [ 57.126095][ T15] ? add_chain_block+0x850/0x850 [ 57.131067][ T15] ? lockdep_lock+0x11f/0x2a0 [ 57.135751][ T15] ? validate_chain+0x112/0x5930 [ 57.140691][ T15] validate_chain+0x1649/0x5930 [ 57.145586][ T15] ? validate_chain+0x112/0x5930 [ 57.150727][ T15] ? reacquire_held_locks+0x660/0x660 [ 57.156189][ T15] ? validate_chain+0x112/0x5930 [ 57.161129][ T15] ? validate_chain+0x112/0x5930 [ 57.166072][ T15] ? mark_lock+0x98/0x340 [ 57.170405][ T15] __lock_acquire+0x1295/0x1ff0 [ 57.175281][ T15] lock_acquire+0x1db/0x4f0 [ 57.179786][ T15] ? trie_delete_elem+0x90/0x690 [ 57.184750][ T15] ? mark_lock+0x98/0x340 [ 57.189080][ T15] ? read_lock_is_recursive+0x10/0x10 [ 57.194484][ T15] ? __lock_acquire+0x1295/0x1ff0 [ 57.199607][ T15] _raw_spin_lock_irqsave+0xd1/0x120 [ 57.204911][ T15] ? trie_delete_elem+0x90/0x690 [ 57.209848][ T15] ? _raw_spin_lock+0x40/0x40 [ 57.214535][ T15] ? read_lock_is_recursive+0x10/0x10 [ 57.219911][ T15] trie_delete_elem+0x90/0x690 [ 57.224677][ T15] ? __cant_sleep+0x270/0x270 [ 57.229354][ T15] ? do_raw_spin_lock+0x14a/0x370 [ 57.234480][ T15] ? __lock_acquire+0x1ff0/0x1ff0 [ 57.239513][ T15] bpf_prog_864189397d3d884b+0x45/0x3bc [ 57.245060][ T15] bpf_trace_run3+0x1d1/0x380 [ 57.249741][ T15] ? bpf_trace_run2+0x340/0x340 [ 57.254603][ T15] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 57.260502][ T15] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 57.265996][ T15] ? _raw_spin_lock+0x40/0x40 [ 57.270676][ T15] ? __debug_object_init+0x258/0xd30 [ 57.276013][ T15] enqueue_timer+0x3ae/0x540 [ 57.280611][ T15] __mod_timer+0xa60/0xeb0 [ 57.285032][ T15] ? mod_timer_pending+0x20/0x20 [ 57.289972][ T15] ? lockdep_softirqs_off+0x420/0x420 [ 57.295430][ T15] ? do_raw_spin_unlock+0x137/0x8b0 [ 57.300632][ T15] schedule_timeout+0x1b4/0x300 [ 57.305487][ T15] ? console_conditional_schedule+0x40/0x40 [ 57.311411][ T15] ? update_process_times+0x200/0x200 [ 57.316792][ T15] ? prepare_to_swait_event+0x321/0x340 [ 57.322344][ T15] rcu_gp_fqs_loop+0x2bf/0x1080 [ 57.327200][ T15] ? _raw_spin_unlock_irq+0x1f/0x40 [ 57.332399][ T15] ? lockdep_hardirqs_on+0x94/0x130 [ 57.337604][ T15] ? rcu_gp_init+0xdae/0x1140 [ 57.342281][ T15] ? rcu_gp_init+0x1140/0x1140 [ 57.347047][ T15] ? finish_swait+0xc5/0x1d0 [ 57.351636][ T15] rcu_gp_kthread+0xa4/0x360 executing program executing program executing program [ 57.356225][ T15] ? _raw_spin_unlock+0x40/0x40 [ 57.361075][ T15] ? rcu_report_qs_rsp+0x1a0/0x1a0 [ 57.366187][ T15] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 57.372083][ T15] ? __kthread_parkme+0x15c/0x1c0 [ 57.377108][ T15] kthread+0x3f6/0x4f0 [ 57.381182][ T15] ? rcu_report_qs_rsp+0x1a0/0x1a0 [ 57.386291][ T15] ? kthread_blkcg+0xd0/0xd0 [ 57.390881][ T15] ret_from_fork+0x1f/0x30 [ 57.395313][ T15] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program