Warning: Permanently added '10.128.1.140' (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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 58.685416][ T15] [ 58.687822][ T15] ====================================================== [ 58.694858][ T15] WARNING: possible circular locking dependency detected [ 58.701872][ T15] 5.15.153-syzkaller #0 Not tainted [ 58.707061][ T15] ------------------------------------------------------ [ 58.714079][ T15] rcu_preempt/15 is trying to acquire lock: [ 58.719970][ T15] ffff8880b9a27e78 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x1b5/0x8a0 [ 58.728663][ T15] [ 58.728663][ T15] but task is already holding lock: [ 58.736035][ T15] ffff88801d96b5b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 58.744947][ T15] [ 58.744947][ T15] which lock already depends on the new lock. [ 58.744947][ T15] [ 58.755584][ T15] [ 58.755584][ T15] the existing dependency chain (in reverse order) is: [ 58.764604][ T15] [ 58.764604][ T15] -> #2 (&trie->lock){....}-{2:2}: [ 58.771912][ T15] lock_acquire+0x1db/0x4f0 [ 58.776953][ T15] _raw_spin_lock_irqsave+0xd1/0x120 [ 58.782762][ T15] trie_delete_elem+0x90/0x690 [ 58.788049][ T15] 0xffffffffa00104c2 [ 58.792551][ T15] bpf_trace_run3+0x1d1/0x380 [ 58.797747][ T15] enqueue_timer+0x3ae/0x540 [ 58.802885][ T15] __mod_timer+0xa60/0xeb0 [ 58.807838][ T15] schedule_timeout+0x1b4/0x300 [ 58.813212][ T15] rcu_gp_fqs_loop+0x2bf/0x1080 [ 58.818600][ T15] rcu_gp_kthread+0xa4/0x360 [ 58.823718][ T15] kthread+0x3f6/0x4f0 [ 58.828310][ T15] ret_from_fork+0x1f/0x30 [ 58.833250][ T15] [ 58.833250][ T15] -> #1 (&base->lock){-.-.}-{2:2}: [ 58.840568][ T15] lock_acquire+0x1db/0x4f0 [ 58.845608][ T15] _raw_spin_lock_irqsave+0xd1/0x120 [ 58.851688][ T15] lock_timer_base+0x120/0x260 [ 58.856991][ T15] __mod_timer+0x1d6/0xeb0 [ 58.861931][ T15] queue_delayed_work_on+0x156/0x250 [ 58.867737][ T15] kvfree_call_rcu+0x50e/0x8a0 [ 58.873023][ T15] rtnl_register_internal+0x443/0x530 [ 58.878928][ T15] rtnl_register+0x32/0x70 [ 58.883864][ T15] ip_rt_init+0x2e6/0x390 [ 58.888718][ T15] ip_init+0xa/0x14 [ 58.893044][ T15] inet_init+0x27c/0x38e [ 58.897812][ T15] do_one_initcall+0x22b/0x7a0 [ 58.903097][ T15] do_initcall_level+0x157/0x207 [ 58.908558][ T15] do_initcalls+0x49/0x86 [ 58.913409][ T15] kernel_init_freeable+0x425/0x5b5 [ 58.919133][ T15] kernel_init+0x19/0x290 [ 58.924004][ T15] ret_from_fork+0x1f/0x30 [ 58.928948][ T15] [ 58.928948][ T15] -> #0 (krc.lock){....}-{2:2}: [ 58.935989][ T15] validate_chain+0x1649/0x5930 [ 58.941405][ T15] __lock_acquire+0x1295/0x1ff0 [ 58.946779][ T15] lock_acquire+0x1db/0x4f0 [ 58.951815][ T15] _raw_spin_lock+0x2a/0x40 [ 58.956842][ T15] kvfree_call_rcu+0x1b5/0x8a0 [ 58.962131][ T15] trie_delete_elem+0x520/0x690 [ 58.967513][ T15] bpf_prog_2c29ac5cdc6b1842+0x3a/0x93c [ 58.973580][ T15] bpf_trace_run3+0x1d1/0x380 [ 58.978799][ T15] enqueue_timer+0x3ae/0x540 [ 58.983930][ T15] __mod_timer+0xa60/0xeb0 [ 58.988881][ T15] schedule_timeout+0x1b4/0x300 [ 58.994255][ T15] rcu_gp_fqs_loop+0x2bf/0x1080 [ 58.999633][ T15] rcu_gp_kthread+0xa4/0x360 [ 59.004752][ T15] kthread+0x3f6/0x4f0 [ 59.009345][ T15] ret_from_fork+0x1f/0x30 [ 59.014281][ T15] [ 59.014281][ T15] other info that might help us debug this: [ 59.014281][ T15] [ 59.024515][ T15] Chain exists of: [ 59.024515][ T15] krc.lock --> &base->lock --> &trie->lock [ 59.024515][ T15] [ 59.036292][ T15] Possible unsafe locking scenario: [ 59.036292][ T15] [ 59.043752][ T15] CPU0 CPU1 [ 59.049227][ T15] ---- ---- [ 59.054600][ T15] lock(&trie->lock); [ 59.058671][ T15] lock(&base->lock); [ 59.065255][ T15] lock(&trie->lock); [ 59.071857][ T15] lock(krc.lock); [ 59.075708][ T15] [ 59.075708][ T15] *** DEADLOCK *** [ 59.075708][ T15] [ 59.083847][ T15] 3 locks held by rcu_preempt/15: [ 59.088874][ T15] #0: ffff8880b9a28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 59.098415][ T15] #1: ffffffff8c91f720 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 59.107769][ T15] #2: ffff88801d96b5b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 59.117116][ T15] [ 59.117116][ T15] stack backtrace: [ 59.123030][ T15] CPU: 0 PID: 15 Comm: rcu_preempt Not tainted 5.15.153-syzkaller #0 [ 59.131124][ T15] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 59.141191][ T15] Call Trace: [ 59.144471][ T15] [ 59.147403][ T15] dump_stack_lvl+0x1e3/0x2cb [ 59.152133][ T15] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 59.157777][ T15] ? print_circular_bug+0x12b/0x1a0 [ 59.162981][ T15] check_noncircular+0x2f8/0x3b0 [ 59.167929][ T15] ? add_chain_block+0x850/0x850 [ 59.172867][ T15] ? lockdep_lock+0x11f/0x2a0 [ 59.177896][ T15] ? __lock_acquire+0x1295/0x1ff0 [ 59.182930][ T15] validate_chain+0x1649/0x5930 [ 59.187793][ T15] ? read_lock_is_recursive+0x10/0x10 [ 59.193173][ T15] ? stack_depot_save+0x3db/0x440 [ 59.198201][ T15] ? do_raw_spin_lock+0x14a/0x370 [ 59.203230][ T15] ? reacquire_held_locks+0x660/0x660 [ 59.208610][ T15] ? do_raw_spin_unlock+0x137/0x8b0 [ 59.213816][ T15] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 59.219719][ T15] ? _raw_spin_unlock+0x40/0x40 [ 59.224662][ T15] ? stack_trace_save+0x113/0x1c0 [ 59.229689][ T15] ? stack_trace_snprint+0xe0/0xe0 [ 59.234803][ T15] ? mark_lock+0x98/0x340 [ 59.239143][ T15] __lock_acquire+0x1295/0x1ff0 [ 59.244005][ T15] lock_acquire+0x1db/0x4f0 [ 59.248509][ T15] ? kvfree_call_rcu+0x1b5/0x8a0 [ 59.253451][ T15] ? read_lock_is_recursive+0x10/0x10 [ 59.258841][ T15] _raw_spin_lock+0x2a/0x40 [ 59.263346][ T15] ? kvfree_call_rcu+0x1b5/0x8a0 [ 59.268304][ T15] kvfree_call_rcu+0x1b5/0x8a0 [ 59.273075][ T15] ? call_rcu+0xa70/0xa70 [ 59.277408][ T15] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 59.282870][ T15] ? _raw_spin_lock+0x40/0x40 [ 59.287553][ T15] ? read_lock_is_recursive+0x10/0x10 [ 59.292931][ T15] ? longest_prefix_match+0x4a5/0x640 [ 59.298315][ T15] trie_delete_elem+0x520/0x690 [ 59.303173][ T15] bpf_prog_2c29ac5cdc6b1842+0x3a/0x93c [ 59.308719][ T15] bpf_trace_run3+0x1d1/0x380 [ 59.313397][ T15] ? bpf_trace_run2+0x340/0x340 [ 59.318249][ T15] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 59.324146][ T15] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 59.329612][ T15] ? _raw_spin_lock+0x40/0x40 [ 59.334291][ T15] ? __debug_object_init+0x258/0xd30 [ 59.339583][ T15] enqueue_timer+0x3ae/0x540 [ 59.344181][ T15] __mod_timer+0xa60/0xeb0 [ 59.348687][ T15] ? mod_timer_pending+0x20/0x20 [ 59.353629][ T15] ? lockdep_softirqs_off+0x420/0x420 [ 59.358999][ T15] ? do_raw_spin_unlock+0x137/0x8b0 [ 59.364200][ T15] schedule_timeout+0x1b4/0x300 [ 59.369049][ T15] ? console_conditional_schedule+0x40/0x40 [ 59.374947][ T15] ? update_process_times+0x200/0x200 [ 59.380344][ T15] ? prepare_to_swait_event+0x321/0x340 [ 59.385905][ T15] rcu_gp_fqs_loop+0x2bf/0x1080 [ 59.390777][ T15] ? _raw_spin_unlock_irq+0x1f/0x40 [ 59.396004][ T15] ? lockdep_hardirqs_on+0x94/0x130 [ 59.401208][ T15] ? rcu_gp_init+0xdae/0x1140 [ 59.405890][ T15] ? rcu_gp_init+0x1140/0x1140 [ 59.410677][ T15] ? finish_swait+0xc5/0x1d0 [ 59.415271][ T15] rcu_gp_kthread+0xa4/0x360 [ 59.419871][ T15] ? _raw_spin_unlock+0x40/0x40 [ 59.424725][ T15] ? rcu_report_qs_rsp+0x1a0/0x1a0 [ 59.429836][ T15] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 59.435733][ T15] ? __kthread_parkme+0x15c/0x1c0 [ 59.440759][ T15] kthread+0x3f6/0x4f0 [ 59.444845][ T15] ? rcu_report_qs_rsp+0x1a0/0x1a0 [ 59.449955][ T15] ? kthread_blkcg+0xd0/0xd0 [ 59.454548][ T15] ret_from_fork+0x1f/0x30 [ 59.458971][ T15]