Warning: Permanently added '10.128.0.28' (ED25519) to the list of known hosts. executing program [ 50.818741][ C0] [ 50.821103][ C0] ====================================================== [ 50.828634][ C0] WARNING: possible circular locking dependency detected [ 50.835809][ C0] 6.1.83-syzkaller #0 Not tainted [ 50.841261][ C0] ------------------------------------------------------ [ 50.848355][ C0] swapper/0/0 is trying to acquire lock: [ 50.854141][ C0] ffff8880b9828118 (krc.lock){..-.}-{2:2}, at: kvfree_call_rcu+0x1b2/0x8c0 [ 50.862934][ C0] [ 50.862934][ C0] but task is already holding lock: [ 50.870369][ C0] ffff88807bcf8a38 (&trie->lock){..-.}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 50.879238][ C0] [ 50.879238][ C0] which lock already depends on the new lock. [ 50.879238][ C0] [ 50.889709][ C0] [ 50.889709][ C0] the existing dependency chain (in reverse order) is: [ 50.898706][ C0] [ 50.898706][ C0] -> #2 (&trie->lock){..-.}-{2:2}: [ 50.906016][ C0] lock_acquire+0x1f8/0x5a0 [ 50.911123][ C0] _raw_spin_lock_irqsave+0xd1/0x120 [ 50.917021][ C0] trie_delete_elem+0x90/0x690 [ 50.922315][ C0] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 50.928352][ C0] bpf_trace_run3+0x231/0x440 [ 50.933798][ C0] enqueue_timer+0x440/0x600 [ 50.938896][ C0] __mod_timer+0x92b/0xee0 [ 50.943845][ C0] dsp_cmx_send+0x21bb/0x2240 [ 50.949035][ C0] call_timer_fn+0x1ad/0x6b0 [ 50.954132][ C0] __run_timers+0x67c/0x890 [ 50.959339][ C0] run_timer_softirq+0x63/0xf0 [ 50.964623][ C0] __do_softirq+0x2e9/0xa4c [ 50.969639][ C0] __irq_exit_rcu+0x155/0x240 [ 50.974917][ C0] irq_exit_rcu+0x5/0x20 [ 50.979682][ C0] sysvec_apic_timer_interrupt+0x91/0xb0 [ 50.985973][ C0] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 50.992753][ C0] acpi_idle_do_entry+0x10f/0x340 [ 50.998834][ C0] acpi_idle_enter+0x352/0x4f0 [ 51.004124][ C0] cpuidle_enter_state+0x516/0xf80 [ 51.010029][ C0] cpuidle_enter+0x59/0x90 [ 51.015068][ C0] do_idle+0x3ce/0x680 [ 51.019658][ C0] cpu_startup_entry+0x3d/0x60 [ 51.024962][ C0] rest_init+0x2da/0x300 [ 51.029848][ C0] start_kernel+0x0/0x53f [ 51.034974][ C0] start_kernel+0x496/0x53f [ 51.040090][ C0] secondary_startup_64_no_verify+0xcf/0xdb [ 51.046719][ C0] [ 51.046719][ C0] -> #1 (&base->lock){-.-.}-{2:2}: [ 51.054004][ C0] lock_acquire+0x1f8/0x5a0 [ 51.059024][ C0] _raw_spin_lock_irqsave+0xd1/0x120 [ 51.064818][ C0] lock_timer_base+0x120/0x260 [ 51.070179][ C0] __mod_timer+0x1cb/0xee0 [ 51.075276][ C0] queue_delayed_work_on+0x156/0x250 [ 51.081239][ C0] kvfree_call_rcu+0x520/0x8c0 [ 51.086598][ C0] rtnl_register_internal+0x489/0x580 [ 51.092502][ C0] rtnl_register+0x32/0x70 [ 51.097633][ C0] ip_rt_init+0x335/0x3c7 [ 51.102733][ C0] ip_init+0xa/0x14 [ 51.107226][ C0] inet_init+0x2ae/0x3c0 [ 51.112093][ C0] do_one_initcall+0x265/0x8f0 [ 51.117495][ C0] do_initcall_level+0x157/0x207 [ 51.122962][ C0] do_initcalls+0x49/0x86 [ 51.128608][ C0] kernel_init_freeable+0x45c/0x60f [ 51.134354][ C0] kernel_init+0x19/0x290 [ 51.139300][ C0] ret_from_fork+0x1f/0x30 [ 51.144231][ C0] [ 51.144231][ C0] -> #0 (krc.lock){..-.}-{2:2}: [ 51.151698][ C0] validate_chain+0x1661/0x5950 [ 51.157322][ C0] __lock_acquire+0x125b/0x1f80 [ 51.163940][ C0] lock_acquire+0x1f8/0x5a0 [ 51.169135][ C0] _raw_spin_lock+0x2a/0x40 [ 51.174858][ C0] kvfree_call_rcu+0x1b2/0x8c0 [ 51.180147][ C0] trie_delete_elem+0x520/0x690 [ 51.185606][ C0] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 51.192553][ C0] bpf_trace_run3+0x231/0x440 [ 51.198359][ C0] enqueue_timer+0x440/0x600 [ 51.203633][ C0] __mod_timer+0x92b/0xee0 [ 51.208554][ C0] dsp_cmx_send+0x21bb/0x2240 [ 51.213741][ C0] call_timer_fn+0x1ad/0x6b0 [ 51.218857][ C0] __run_timers+0x67c/0x890 [ 51.223885][ C0] run_timer_softirq+0x63/0xf0 [ 51.229333][ C0] __do_softirq+0x2e9/0xa4c [ 51.234434][ C0] __irq_exit_rcu+0x155/0x240 [ 51.240254][ C0] irq_exit_rcu+0x5/0x20 [ 51.245045][ C0] sysvec_apic_timer_interrupt+0x91/0xb0 [ 51.252334][ C0] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 51.258930][ C0] acpi_idle_do_entry+0x10f/0x340 [ 51.264508][ C0] acpi_idle_enter+0x352/0x4f0 [ 51.270385][ C0] cpuidle_enter_state+0x516/0xf80 [ 51.276016][ C0] cpuidle_enter+0x59/0x90 [ 51.280945][ C0] do_idle+0x3ce/0x680 [ 51.285527][ C0] cpu_startup_entry+0x3d/0x60 [ 51.290808][ C0] rest_init+0x2da/0x300 [ 51.295626][ C0] start_kernel+0x0/0x53f [ 51.300463][ C0] start_kernel+0x496/0x53f [ 51.305473][ C0] secondary_startup_64_no_verify+0xcf/0xdb [ 51.311901][ C0] [ 51.311901][ C0] other info that might help us debug this: [ 51.311901][ C0] [ 51.322201][ C0] Chain exists of: [ 51.322201][ C0] krc.lock --> &base->lock --> &trie->lock [ 51.322201][ C0] [ 51.334189][ C0] Possible unsafe locking scenario: [ 51.334189][ C0] [ 51.341710][ C0] CPU0 CPU1 [ 51.347060][ C0] ---- ---- [ 51.352492][ C0] lock(&trie->lock); [ 51.356546][ C0] lock(&base->lock); [ 51.363291][ C0] lock(&trie->lock); [ 51.370297][ C0] lock(krc.lock); [ 51.374464][ C0] [ 51.374464][ C0] *** DEADLOCK *** [ 51.374464][ C0] [ 51.382766][ C0] 5 locks held by swapper/0/0: [ 51.387689][ C0] #0: ffffc90000007bc0 ((&dsp_spl_tl)){+.-.}-{0:0}, at: call_timer_fn+0xc2/0x6b0 [ 51.397207][ C0] #1: ffffffff8e04b178 (dsp_lock){..-.}-{2:2}, at: dsp_cmx_send+0x22/0x2240 [ 51.406230][ C0] #2: ffff8880b9828358 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 51.415834][ C0] #3: ffffffff8d12a940 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run3+0x146/0x440 [ 51.425515][ C0] #4: ffff88807bcf8a38 (&trie->lock){..-.}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 51.435558][ C0] [ 51.435558][ C0] stack backtrace: [ 51.441620][ C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.83-syzkaller #0 [ 51.449644][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 51.459799][ C0] Call Trace: [ 51.463088][ C0] [ 51.465927][ C0] dump_stack_lvl+0x1e3/0x2cb [ 51.470710][ C0] ? nf_tcp_handle_invalid+0x642/0x642 [ 51.476262][ C0] ? print_circular_bug+0x12b/0x1a0 [ 51.481749][ C0] check_noncircular+0x2fa/0x3b0 [ 51.486708][ C0] ? add_chain_block+0x850/0x850 [ 51.491665][ C0] ? queued_spin_lock_slowpath+0x42/0x50 [ 51.497544][ C0] ? lockdep_lock+0x1a7/0x2a0 [ 51.502246][ C0] ? unwind_next_frame+0x111a/0x2220 [ 51.507799][ C0] ? _find_first_zero_bit+0xd0/0x100 [ 51.513370][ C0] validate_chain+0x1661/0x5950 [ 51.518316][ C0] ? print_irq_lock_scenario+0x180/0x180 [ 51.523948][ C0] ? reacquire_held_locks+0x660/0x660 [ 51.529328][ C0] ? queued_spin_lock_slowpath+0x42/0x50 [ 51.535592][ C0] ? lockdep_lock+0x1a7/0x2a0 [ 51.540777][ C0] ? lockdep_unlock+0x165/0x300 [ 51.546331][ C0] ? lockdep_lock+0x2a0/0x2a0 [ 51.551035][ C0] ? mark_lock+0x9a/0x340 [ 51.555558][ C0] __lock_acquire+0x125b/0x1f80 [ 51.560511][ C0] lock_acquire+0x1f8/0x5a0 [ 51.565208][ C0] ? kvfree_call_rcu+0x1b2/0x8c0 [ 51.570466][ C0] ? read_lock_is_recursive+0x10/0x10 [ 51.577253][ C0] ? do_raw_spin_unlock+0x137/0x8a0 [ 51.583023][ C0] ? __virt_addr_valid+0x17f/0x520 [ 51.588421][ C0] ? __virt_addr_valid+0x17f/0x520 [ 51.593721][ C0] ? __virt_addr_valid+0x44a/0x520 [ 51.598925][ C0] ? __phys_addr+0xb6/0x170 [ 51.603534][ C0] _raw_spin_lock+0x2a/0x40 [ 51.608143][ C0] ? kvfree_call_rcu+0x1b2/0x8c0 [ 51.613335][ C0] kvfree_call_rcu+0x1b2/0x8c0 [ 51.618284][ C0] ? rcu_leak_callback+0x10/0x10 [ 51.623224][ C0] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 51.628794][ C0] ? _raw_spin_lock+0x40/0x40 [ 51.633495][ C0] ? longest_prefix_match+0x318/0x640 [ 51.639133][ C0] trie_delete_elem+0x520/0x690 [ 51.646973][ C0] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 51.653422][ C0] bpf_trace_run3+0x231/0x440 [ 51.658317][ C0] ? bpf_trace_run3+0x146/0x440 [ 51.663273][ C0] ? bpf_trace_run2+0x410/0x410 [ 51.668307][ C0] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 51.674421][ C0] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 51.680071][ C0] ? _raw_spin_lock+0x40/0x40 [ 51.684827][ C0] enqueue_timer+0x440/0x600 [ 51.689494][ C0] __mod_timer+0x92b/0xee0 [ 51.694358][ C0] ? mod_timer_pending+0x20/0x20 [ 51.699748][ C0] ? _raw_read_unlock_irqrestore+0xd9/0x130 [ 51.705723][ C0] ? _raw_read_unlock+0x40/0x40 [ 51.710607][ C0] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 51.716058][ C0] ? _raw_spin_lock+0x40/0x40 [ 51.720734][ C0] ? ktime_get+0x242/0x270 [ 51.725164][ C0] dsp_cmx_send+0x21bb/0x2240 [ 51.729988][ C0] ? read_lock_is_recursive+0x10/0x10 [ 51.735556][ C0] ? detach_timer+0x26/0x380 [ 51.740171][ C0] ? __rwlock_init+0x140/0x140 [ 51.745388][ C0] call_timer_fn+0x1ad/0x6b0 [ 51.750525][ C0] ? dsp_cmx_receive+0x1370/0x1370 [ 51.756330][ C0] ? call_timer_fn+0xc2/0x6b0 [ 51.761188][ C0] ? __run_timers+0x890/0x890 [ 51.766644][ C0] ? do_raw_spin_unlock+0x137/0x8a0 [ 51.771890][ C0] ? _raw_spin_unlock_irq+0x1f/0x40 [ 51.777201][ C0] ? dsp_cmx_receive+0x1370/0x1370 [ 51.782564][ C0] ? lockdep_hardirqs_on+0x94/0x130 [ 51.787756][ C0] ? dsp_cmx_receive+0x1370/0x1370 [ 51.792902][ C0] __run_timers+0x67c/0x890 [ 51.797828][ C0] ? detach_timer+0x380/0x380 [ 51.802504][ C0] ? asm_sysvec_call_function_single+0x16/0x20 [ 51.808742][ C0] run_timer_softirq+0x63/0xf0 [ 51.813590][ C0] __do_softirq+0x2e9/0xa4c [ 51.818112][ C0] ? kvm_sched_clock_read+0x14/0x40 [ 51.823393][ C0] ? __irq_exit_rcu+0x155/0x240 [ 51.828402][ C0] ? __entry_text_end+0x1feabe/0x1feabe [ 51.833939][ C0] ? hrtimer_interrupt+0x76b/0x980 [ 51.839127][ C0] ? irqtime_account_irq+0xd0/0x1e0 [ 51.844405][ C0] __irq_exit_rcu+0x155/0x240 [ 51.849507][ C0] ? irq_exit_rcu+0x20/0x20 [ 51.854108][ C0] irq_exit_rcu+0x5/0x20 [ 51.858517][ C0] sysvec_apic_timer_interrupt+0x91/0xb0 [ 51.864427][ C0] [ 51.867358][ C0] [ 51.870279][ C0] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 51.876532][ C0] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 [ 51.882376][ C0] Code: 67 f6 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 f4 23 fd f6 0f 1f 44 00 00 e8 9a 63 f6 f6 0f 00 2d a3 23 b3 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 6b d9 4d f7 [ 51.902161][ C0] RSP: 0018:ffffffff8ce07b20 EFLAGS: 000002d3 [ 51.908227][ C0] RAX: ffffffff8a942156 RBX: 0000000000000000 RCX: ffffffff8cebd800 [ 51.916272][ C0] RDX: 0000000000000000 RSI: ffffffff8aebee40 RDI: ffffffff8b3d2b40 [ 51.924383][ C0] RBP: ffffffff8ce07bb0 R08: ffffffff8a942138 R09: fffffbfff19d7b01 [ 51.932355][ C0] R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff19c0f64 [ 51.940411][ C0] R13: ffff8881472a9804 R14: ffffffff8ce07b40 R15: dffffc0000000000 [ 51.948464][ C0] ? acpi_idle_do_entry+0xe8/0x340 [ 51.953584][ C0] ? acpi_idle_do_entry+0x106/0x340 [ 51.958771][ C0] ? acpi_idle_enter_bm+0x5e0/0x5e0 [ 51.963958][ C0] ? lockdep_hardirqs_on+0x94/0x130 [ 51.969409][ C0] ? __sched_clock_gtod_offset+0xe0/0xe0 [ 51.975035][ C0] acpi_idle_enter+0x352/0x4f0 [ 51.979806][ C0] cpuidle_enter_state+0x516/0xf80 [ 51.985186][ C0] ? cpuidle_enter_s2idle+0x6b0/0x6b0 [ 51.990550][ C0] ? menu_enable_device+0x380/0x380 [ 51.995828][ C0] cpuidle_enter+0x59/0x90 [ 52.000234][ C0] do_idle+0x3ce/0x680 [ 52.004589][ C0] ? idle_inject_timer_fn+0x60/0x60 [ 52.009797][ C0] ? asm_sysvec_call_function_single+0x16/0x20 [ 52.015972][ C0] ? memcpy_orig+0x90/0x10f [ 52.020483][ C0] ? schedule_idle+0x57/0x90 [ 52.025454][ C0] ? rest_init+0x31/0x300 [ 52.029802][ C0] cpu_startup_entry+0x3d/0x60 [ 52.034573][ C0] rest_init+0x2da/0x300 [ 52.038809][ C0] ? time_init+0x33/0x33 [ 52.043129][ C0] arch_call_rest_init+0xa/0xa [ 52.049204][ C0] start_kernel+0x496/0x53f [ 52.053708][ C0] secondary_startup_64_no_verify+0xcf/0xdb [ 52.059687][ C0]