Warning: Permanently added '10.128.1.190' (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 [ 42.432250][ T381] [ 42.434597][ T381] ====================================================== [ 42.441591][ T381] WARNING: possible circular locking dependency detected [ 42.448583][ T381] 5.15.161-syzkaller #0 Not tainted [ 42.453748][ T381] ------------------------------------------------------ [ 42.460733][ T381] kworker/u4:3/381 is trying to acquire lock: [ 42.466770][ T381] ffff8880b9a27e78 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x1b5/0x8a0 [ 42.475466][ T381] [ 42.475466][ T381] but task is already holding lock: [ 42.482804][ T381] ffff888019fab5b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 42.491742][ T381] [ 42.491742][ T381] which lock already depends on the new lock. [ 42.491742][ T381] [ 42.502126][ T381] [ 42.502126][ T381] the existing dependency chain (in reverse order) is: [ 42.511119][ T381] [ 42.511119][ T381] -> #2 (&trie->lock){....}-{2:2}: [ 42.518391][ T381] lock_acquire+0x1db/0x4f0 [ 42.523395][ T381] _raw_spin_lock_irqsave+0xd1/0x120 [ 42.529203][ T381] trie_delete_elem+0x90/0x690 [ 42.534466][ T381] bpf_prog_2c29ac5cdc6b1842+0x3a/0xda0 [ 42.540505][ T381] bpf_trace_run3+0x1d1/0x380 [ 42.545674][ T381] enqueue_timer+0x3ae/0x540 [ 42.550850][ T381] __mod_timer+0xa60/0xeb0 [ 42.555761][ T381] queue_delayed_work_on+0x156/0x250 [ 42.561540][ T381] wb_wakeup_delayed+0xbc/0x100 [ 42.566887][ T381] wb_workfn+0x1009/0x1130 [ 42.571807][ T381] process_one_work+0x8a1/0x10c0 [ 42.577242][ T381] worker_thread+0xaca/0x1280 [ 42.582509][ T381] kthread+0x3f6/0x4f0 [ 42.587072][ T381] ret_from_fork+0x1f/0x30 [ 42.591984][ T381] [ 42.591984][ T381] -> #1 (&base->lock){-.-.}-{2:2}: [ 42.599427][ T381] lock_acquire+0x1db/0x4f0 [ 42.604434][ T381] _raw_spin_lock_irqsave+0xd1/0x120 [ 42.610250][ T381] lock_timer_base+0x120/0x260 [ 42.615511][ T381] __mod_timer+0x1d6/0xeb0 [ 42.620860][ T381] queue_delayed_work_on+0x156/0x250 [ 42.626641][ T381] kvfree_call_rcu+0x50e/0x8a0 [ 42.631901][ T381] rtnl_register_internal+0x443/0x530 [ 42.637773][ T381] rtnl_register+0x32/0x70 [ 42.642685][ T381] ip_rt_init+0x2e6/0x390 [ 42.647513][ T381] ip_init+0xa/0x20 [ 42.651816][ T381] inet_init+0x27c/0x390 [ 42.656553][ T381] do_one_initcall+0x22b/0x7a0 [ 42.661814][ T381] do_initcall_level+0x157/0x210 [ 42.667252][ T381] do_initcalls+0x49/0x90 [ 42.672077][ T381] kernel_init_freeable+0x425/0x5c0 [ 42.677873][ T381] kernel_init+0x19/0x290 [ 42.682710][ T381] ret_from_fork+0x1f/0x30 [ 42.688755][ T381] [ 42.688755][ T381] -> #0 (krc.lock){....}-{2:2}: [ 42.695775][ T381] validate_chain+0x1649/0x5930 [ 42.701124][ T381] __lock_acquire+0x1295/0x1ff0 [ 42.706557][ T381] lock_acquire+0x1db/0x4f0 [ 42.711554][ T381] _raw_spin_lock+0x2a/0x40 [ 42.716646][ T381] kvfree_call_rcu+0x1b5/0x8a0 [ 42.721906][ T381] trie_delete_elem+0x520/0x690 [ 42.727257][ T381] bpf_prog_2c29ac5cdc6b1842+0x3a/0xda0 [ 42.733573][ T381] bpf_trace_run3+0x1d1/0x380 [ 42.738745][ T381] enqueue_timer+0x3ae/0x540 [ 42.744890][ T381] __mod_timer+0xa60/0xeb0 [ 42.750279][ T381] queue_delayed_work_on+0x156/0x250 [ 42.756086][ T381] wb_wakeup_delayed+0xbc/0x100 [ 42.761451][ T381] wb_workfn+0x1009/0x1130 [ 42.766460][ T381] process_one_work+0x8a1/0x10c0 [ 42.771896][ T381] worker_thread+0xaca/0x1280 [ 42.777072][ T381] kthread+0x3f6/0x4f0 [ 42.781637][ T381] ret_from_fork+0x1f/0x30 [ 42.786551][ T381] [ 42.786551][ T381] other info that might help us debug this: [ 42.786551][ T381] [ 42.796837][ T381] Chain exists of: [ 42.796837][ T381] krc.lock --> &base->lock --> &trie->lock [ 42.796837][ T381] [ 42.808556][ T381] Possible unsafe locking scenario: [ 42.808556][ T381] [ 42.816001][ T381] CPU0 CPU1 [ 42.821355][ T381] ---- ---- [ 42.826703][ T381] lock(&trie->lock); [ 42.830753][ T381] lock(&base->lock); [ 42.837402][ T381] lock(&trie->lock); [ 42.843966][ T381] lock(krc.lock); [ 42.847750][ T381] [ 42.847750][ T381] *** DEADLOCK *** [ 42.847750][ T381] [ 42.855865][ T381] 6 locks held by kworker/u4:3/381: [ 42.861127][ T381] #0: ffff88814478d138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 42.871810][ T381] #1: ffffc90003017d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 42.883630][ T381] #2: ffff88801e4b8388 (&wb->work_lock){..-.}-{2:2}, at: wb_wakeup_delayed+0x56/0x100 [ 42.893282][ T381] #3: ffff8880b9a28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 42.902581][ T381] #4: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.911866][ T381] #5: ffff888019fab5b8 (&trie->lock){....}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 42.921237][ T381] [ 42.921237][ T381] stack backtrace: [ 42.927137][ T381] CPU: 0 PID: 381 Comm: kworker/u4:3 Not tainted 5.15.161-syzkaller #0 [ 42.935362][ T381] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 42.946261][ T381] Workqueue: writeback wb_workfn (flush-8:0) [ 42.952233][ T381] Call Trace: [ 42.955489][ T381] [ 42.958398][ T381] dump_stack_lvl+0x1e3/0x2d0 [ 42.963065][ T381] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 42.968677][ T381] ? print_circular_bug+0x12b/0x1a0 [ 42.973854][ T381] check_noncircular+0x2f8/0x3b0 [ 42.978773][ T381] ? add_chain_block+0x850/0x850 [ 42.983686][ T381] ? lockdep_lock+0x11f/0x2a0 [ 42.988339][ T381] ? __lock_acquire+0x1295/0x1ff0 [ 42.993344][ T381] validate_chain+0x1649/0x5930 [ 42.998177][ T381] ? read_lock_is_recursive+0x10/0x10 [ 43.003524][ T381] ? stack_depot_save+0x3db/0x440 [ 43.008523][ T381] ? do_raw_spin_lock+0x14a/0x370 [ 43.013521][ T381] ? reacquire_held_locks+0x660/0x660 [ 43.018872][ T381] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.024046][ T381] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 43.029919][ T381] ? _raw_spin_unlock+0x40/0x40 [ 43.034747][ T381] ? stack_trace_save+0x113/0x1c0 [ 43.039924][ T381] ? stack_trace_snprint+0xe0/0xe0 [ 43.045879][ T381] ? mark_lock+0x98/0x340 [ 43.050185][ T381] __lock_acquire+0x1295/0x1ff0 [ 43.055014][ T381] lock_acquire+0x1db/0x4f0 [ 43.059492][ T381] ? kvfree_call_rcu+0x1b5/0x8a0 [ 43.064410][ T381] ? read_lock_is_recursive+0x10/0x10 [ 43.069764][ T381] _raw_spin_lock+0x2a/0x40 [ 43.074256][ T381] ? kvfree_call_rcu+0x1b5/0x8a0 [ 43.079168][ T381] kvfree_call_rcu+0x1b5/0x8a0 [ 43.083918][ T381] ? call_rcu+0xa70/0xa70 [ 43.088224][ T381] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 43.093662][ T381] ? _raw_spin_lock+0x40/0x40 [ 43.098315][ T381] ? read_lock_is_recursive+0x10/0x10 [ 43.103666][ T381] ? longest_prefix_match+0x49b/0x640 [ 43.109020][ T381] trie_delete_elem+0x520/0x690 [ 43.113852][ T381] bpf_prog_2c29ac5cdc6b1842+0x3a/0xda0 [ 43.119374][ T381] bpf_trace_run3+0x1d1/0x380 [ 43.124032][ T381] ? bpf_trace_run2+0x340/0x340 [ 43.128857][ T381] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 43.134728][ T381] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 43.140166][ T381] ? _raw_spin_lock+0x40/0x40 [ 43.144821][ T381] ? __lock_acquire+0x1295/0x1ff0 [ 43.150953][ T381] enqueue_timer+0x3ae/0x540 [ 43.155693][ T381] __mod_timer+0xa60/0xeb0 [ 43.160088][ T381] ? mod_timer_pending+0x20/0x20 [ 43.165000][ T381] ? do_raw_spin_lock+0x14a/0x370 [ 43.170002][ T381] ? __rwlock_init+0x140/0x140 [ 43.174740][ T381] ? __queue_delayed_work+0x16b/0x210 [ 43.180177][ T381] queue_delayed_work_on+0x156/0x250 [ 43.185438][ T381] ? delayed_work_timer_fn+0x80/0x80 [ 43.190696][ T381] ? _raw_spin_lock_irq+0xdb/0x110 [ 43.195784][ T381] ? _raw_spin_lock_irqsave+0x120/0x120 [ 43.201313][ T381] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.206493][ T381] wb_wakeup_delayed+0xbc/0x100 [ 43.211323][ T381] wb_workfn+0x1009/0x1130 [ 43.215725][ T381] ? mark_lock+0x98/0x340 [ 43.220035][ T381] ? inode_wait_for_writeback+0x280/0x280 [ 43.225732][ T381] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 43.231691][ T381] ? print_irqtrace_events+0x210/0x210 [ 43.237123][ T381] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 43.242994][ T381] ? do_raw_spin_unlock+0x137/0x8b0 [ 43.248169][ T381] process_one_work+0x8a1/0x10c0 [ 43.253105][ T381] ? worker_detach_from_pool+0x260/0x260 [ 43.258715][ T381] ? _raw_spin_lock_irqsave+0x120/0x120 [ 43.264241][ T381] ? kthread_data+0x4e/0xc0 [ 43.268729][ T381] ? wq_worker_running+0x97/0x170 [ 43.273726][ T381] worker_thread+0xaca/0x1280 [ 43.278386][ T381] kthread+0x3f6/0x4f0 [ 43.282431][ T381] ? rcu_lock_release+0x20/0x20 [ 43.287445][ T381] ? kthread_blkcg+0xd0/0xd0 [ 43.292012][ T381] ret_from_fork+0x1f/0x30 [ 43.296409][ T381]