Warning: Permanently added '10.128.0.133' (ED25519) to the list of known hosts. executing program [ 56.648974][ C1] [ 56.651353][ C1] ====================================================== [ 56.658364][ C1] WARNING: possible circular locking dependency detected [ 56.665388][ C1] 6.1.92-syzkaller #0 Not tainted [ 56.670403][ C1] ------------------------------------------------------ [ 56.677430][ C1] swapper/1/0 is trying to acquire lock: [ 56.683056][ C1] ffff8880b9928118 (krc.lock){..-.}-{2:2}, at: kvfree_call_rcu+0x1b2/0x8c0 [ 56.691722][ C1] [ 56.691722][ C1] but task is already holding lock: [ 56.699084][ C1] ffff888021c83a38 (&trie->lock){..-.}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 56.707978][ C1] [ 56.707978][ C1] which lock already depends on the new lock. [ 56.707978][ C1] [ 56.718384][ C1] [ 56.718384][ C1] the existing dependency chain (in reverse order) is: [ 56.727395][ C1] [ 56.727395][ C1] -> #2 (&trie->lock){..-.}-{2:2}: [ 56.734691][ C1] lock_acquire+0x1f8/0x5a0 [ 56.739721][ C1] _raw_spin_lock_irqsave+0xd1/0x120 [ 56.745540][ C1] trie_delete_elem+0x90/0x690 [ 56.750840][ C1] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 56.756827][ C1] bpf_trace_run3+0x231/0x440 [ 56.762026][ C1] enqueue_timer+0x440/0x600 [ 56.767160][ C1] __mod_timer+0x92b/0xee0 [ 56.772096][ C1] dsp_cmx_send+0x21bb/0x2240 [ 56.777399][ C1] call_timer_fn+0x1ad/0x6b0 [ 56.782527][ C1] __run_timers+0x67c/0x890 [ 56.787552][ C1] run_timer_softirq+0x63/0xf0 [ 56.792842][ C1] __do_softirq+0x2e9/0xa4c [ 56.797881][ C1] __irq_exit_rcu+0x155/0x240 [ 56.803089][ C1] irq_exit_rcu+0x5/0x20 [ 56.807881][ C1] sysvec_apic_timer_interrupt+0x91/0xb0 [ 56.814037][ C1] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 56.820547][ C1] acpi_idle_do_entry+0x10f/0x340 [ 56.826090][ C1] acpi_idle_enter+0x352/0x4f0 [ 56.831401][ C1] cpuidle_enter_state+0x516/0xf80 [ 56.837048][ C1] cpuidle_enter+0x59/0x90 [ 56.842004][ C1] do_idle+0x3ce/0x680 [ 56.846634][ C1] cpu_startup_entry+0x3d/0x60 [ 56.851928][ C1] start_secondary+0xe4/0xf0 [ 56.857046][ C1] secondary_startup_64_no_verify+0xcf/0xdb [ 56.863471][ C1] [ 56.863471][ C1] -> #1 (&base->lock){-.-.}-{2:2}: [ 56.870776][ C1] lock_acquire+0x1f8/0x5a0 [ 56.875807][ C1] _raw_spin_lock_irqsave+0xd1/0x120 [ 56.881616][ C1] lock_timer_base+0x120/0x260 [ 56.887166][ C1] __mod_timer+0x1cb/0xee0 [ 56.892133][ C1] queue_delayed_work_on+0x156/0x250 [ 56.897944][ C1] kvfree_call_rcu+0x520/0x8c0 [ 56.903231][ C1] rtnl_register_internal+0x489/0x580 [ 56.909127][ C1] rtnl_register+0x32/0x70 [ 56.914152][ C1] ip_rt_init+0x335/0x3c7 [ 56.918998][ C1] ip_init+0xa/0x14 [ 56.923323][ C1] inet_init+0x2ae/0x3c0 [ 56.928086][ C1] do_one_initcall+0x265/0x8f0 [ 56.933373][ C1] do_initcall_level+0x157/0x207 [ 56.938833][ C1] do_initcalls+0x49/0x86 [ 56.943686][ C1] kernel_init_freeable+0x45c/0x60f [ 56.949449][ C1] kernel_init+0x19/0x290 [ 56.954300][ C1] ret_from_fork+0x1f/0x30 [ 56.959238][ C1] [ 56.959238][ C1] -> #0 (krc.lock){..-.}-{2:2}: [ 56.966279][ C1] validate_chain+0x1661/0x5950 [ 56.971740][ C1] __lock_acquire+0x125b/0x1f80 [ 56.977113][ C1] lock_acquire+0x1f8/0x5a0 [ 56.982145][ C1] _raw_spin_lock+0x2a/0x40 [ 56.987170][ C1] kvfree_call_rcu+0x1b2/0x8c0 [ 56.992459][ C1] trie_delete_elem+0x520/0x690 [ 56.997843][ C1] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 57.003821][ C1] bpf_trace_run3+0x231/0x440 [ 57.009016][ C1] enqueue_timer+0x440/0x600 [ 57.014147][ C1] __mod_timer+0x92b/0xee0 [ 57.019080][ C1] dsp_cmx_send+0x21bb/0x2240 [ 57.024280][ C1] call_timer_fn+0x1ad/0x6b0 [ 57.029426][ C1] __run_timers+0x67c/0x890 [ 57.034454][ C1] run_timer_softirq+0x63/0xf0 [ 57.039737][ C1] __do_softirq+0x2e9/0xa4c [ 57.044766][ C1] __irq_exit_rcu+0x155/0x240 [ 57.049982][ C1] irq_exit_rcu+0x5/0x20 [ 57.054764][ C1] sysvec_apic_timer_interrupt+0x91/0xb0 [ 57.060918][ C1] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 57.067531][ C1] acpi_idle_do_entry+0x10f/0x340 [ 57.073075][ C1] acpi_idle_enter+0x352/0x4f0 [ 57.078358][ C1] cpuidle_enter_state+0x516/0xf80 [ 57.083991][ C1] cpuidle_enter+0x59/0x90 [ 57.088952][ C1] do_idle+0x3ce/0x680 [ 57.093564][ C1] cpu_startup_entry+0x3d/0x60 [ 57.098852][ C1] start_secondary+0xe4/0xf0 [ 57.104049][ C1] secondary_startup_64_no_verify+0xcf/0xdb [ 57.110466][ C1] [ 57.110466][ C1] other info that might help us debug this: [ 57.110466][ C1] [ 57.120705][ C1] Chain exists of: [ 57.120705][ C1] krc.lock --> &base->lock --> &trie->lock [ 57.120705][ C1] [ 57.132439][ C1] Possible unsafe locking scenario: [ 57.132439][ C1] [ 57.139881][ C1] CPU0 CPU1 [ 57.145327][ C1] ---- ---- [ 57.150682][ C1] lock(&trie->lock); [ 57.154769][ C1] lock(&base->lock); [ 57.161359][ C1] lock(&trie->lock); [ 57.168030][ C1] lock(krc.lock); [ 57.171835][ C1] [ 57.171835][ C1] *** DEADLOCK *** [ 57.171835][ C1] [ 57.179993][ C1] 5 locks held by swapper/1/0: [ 57.184746][ C1] #0: ffffc900001e0bc0 ((&dsp_spl_tl)){+.-.}-{0:0}, at: call_timer_fn+0xc2/0x6b0 [ 57.194061][ C1] #1: ffffffff8e04cab8 (dsp_lock){..-.}-{2:2}, at: dsp_cmx_send+0x22/0x2240 [ 57.202860][ C1] #2: ffff8880b9928358 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 57.212175][ C1] #3: ffffffff8d12ac80 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run3+0x146/0x440 [ 57.221574][ C1] #4: ffff888021c83a38 (&trie->lock){..-.}-{2:2}, at: trie_delete_elem+0x90/0x690 [ 57.230892][ C1] [ 57.230892][ C1] stack backtrace: [ 57.236786][ C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.1.92-syzkaller #0 [ 57.244413][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 57.254474][ C1] Call Trace: [ 57.257751][ C1] [ 57.260599][ C1] dump_stack_lvl+0x1e3/0x2cb [ 57.265285][ C1] ? nf_tcp_handle_invalid+0x642/0x642 [ 57.270753][ C1] ? print_circular_bug+0x12b/0x1a0 [ 57.275953][ C1] check_noncircular+0x2fa/0x3b0 [ 57.280890][ C1] ? deref_stack_reg+0x17c/0x210 [ 57.285832][ C1] ? add_chain_block+0x850/0x850 [ 57.290778][ C1] ? lockdep_lock+0x11f/0x2a0 [ 57.295463][ C1] ? unwind_next_frame+0x111a/0x2220 [ 57.300757][ C1] ? _find_first_zero_bit+0xd0/0x100 [ 57.306049][ C1] validate_chain+0x1661/0x5950 [ 57.310910][ C1] ? print_irq_lock_scenario+0x180/0x180 [ 57.316562][ C1] ? reacquire_held_locks+0x660/0x660 [ 57.321948][ C1] ? queued_spin_lock_slowpath+0x42/0x50 [ 57.327588][ C1] ? lockdep_lock+0x1a7/0x2a0 [ 57.332271][ C1] ? lockdep_unlock+0x165/0x300 [ 57.337128][ C1] ? lockdep_lock+0x2a0/0x2a0 [ 57.341814][ C1] ? mark_lock+0x9a/0x340 [ 57.346152][ C1] __lock_acquire+0x125b/0x1f80 [ 57.351016][ C1] lock_acquire+0x1f8/0x5a0 [ 57.355526][ C1] ? kvfree_call_rcu+0x1b2/0x8c0 [ 57.360464][ C1] ? read_lock_is_recursive+0x10/0x10 [ 57.365847][ C1] ? __phys_addr+0xb6/0x170 [ 57.370356][ C1] _raw_spin_lock+0x2a/0x40 [ 57.374861][ C1] ? kvfree_call_rcu+0x1b2/0x8c0 [ 57.379795][ C1] kvfree_call_rcu+0x1b2/0x8c0 [ 57.384564][ C1] ? rcu_leak_callback+0x10/0x10 [ 57.389496][ C1] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 57.394960][ C1] ? _raw_spin_lock+0x40/0x40 [ 57.399639][ C1] ? longest_prefix_match+0x49b/0x640 [ 57.405023][ C1] trie_delete_elem+0x520/0x690 [ 57.409886][ C1] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 57.415346][ C1] bpf_trace_run3+0x231/0x440 [ 57.420022][ C1] ? bpf_trace_run3+0x146/0x440 [ 57.424871][ C1] ? bpf_trace_run2+0x410/0x410 [ 57.429810][ C1] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 57.435708][ C1] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 57.441191][ C1] ? _raw_spin_lock+0x40/0x40 [ 57.445872][ C1] enqueue_timer+0x440/0x600 [ 57.450469][ C1] __mod_timer+0x92b/0xee0 [ 57.454889][ C1] ? mod_timer_pending+0x20/0x20 [ 57.459827][ C1] ? _raw_read_unlock_irqrestore+0xd9/0x130 [ 57.465744][ C1] ? _raw_read_unlock+0x40/0x40 [ 57.470593][ C1] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 57.476052][ C1] ? _raw_spin_lock+0x40/0x40 [ 57.480729][ C1] ? ktime_get+0x242/0x270 [ 57.485147][ C1] dsp_cmx_send+0x21bb/0x2240 [ 57.489828][ C1] ? read_lock_is_recursive+0x10/0x10 [ 57.495204][ C1] ? detach_timer+0x26/0x380 [ 57.499794][ C1] ? __rwlock_init+0x140/0x140 [ 57.504563][ C1] call_timer_fn+0x1ad/0x6b0 [ 57.509153][ C1] ? dsp_cmx_receive+0x1370/0x1370 [ 57.514267][ C1] ? call_timer_fn+0xc2/0x6b0 [ 57.518942][ C1] ? __run_timers+0x890/0x890 [ 57.523618][ C1] ? do_raw_spin_unlock+0x137/0x8a0 [ 57.528813][ C1] ? _raw_spin_unlock_irq+0x1f/0x40 [ 57.534011][ C1] ? dsp_cmx_receive+0x1370/0x1370 [ 57.539151][ C1] ? lockdep_hardirqs_on+0x94/0x130 [ 57.544353][ C1] ? dsp_cmx_receive+0x1370/0x1370 [ 57.549466][ C1] __run_timers+0x67c/0x890 [ 57.553971][ C1] ? detach_timer+0x380/0x380 [ 57.558649][ C1] ? print_irqtrace_events+0x210/0x210 [ 57.564110][ C1] ? seqcount_lockdep_reader_access+0x1bd/0x220 [ 57.570356][ C1] run_timer_softirq+0x63/0xf0 [ 57.575118][ C1] __do_softirq+0x2e9/0xa4c [ 57.579653][ C1] ? kvm_sched_clock_read+0x14/0x40 [ 57.584859][ C1] ? __irq_exit_rcu+0x155/0x240 [ 57.589721][ C1] ? __entry_text_end+0x1fea01/0x1fea01 [ 57.595272][ C1] ? hrtimer_interrupt+0x76b/0x980 [ 57.600390][ C1] ? irqtime_account_irq+0xd0/0x1e0 [ 57.605587][ C1] __irq_exit_rcu+0x155/0x240 [ 57.610357][ C1] ? irq_exit_rcu+0x20/0x20 [ 57.614869][ C1] irq_exit_rcu+0x5/0x20 [ 57.619126][ C1] sysvec_apic_timer_interrupt+0x91/0xb0 [ 57.624761][ C1] [ 57.627688][ C1] [ 57.630616][ C1] asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 57.636600][ C1] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 [ 57.642581][ C1] Code: 4f f5 f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 d4 0d fc f6 0f 1f 44 00 00 e8 7a 4b f5 f6 0f 00 2d 03 1f b2 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 5b cb 4c f7 [ 57.662186][ C1] RSP: 0018:ffffc90000177b80 EFLAGS: 000002d3 [ 57.668249][ C1] RAX: ffffffff8a9541d6 RBX: 0000000000000000 RCX: ffff888012739dc0 [ 57.676242][ C1] RDX: 0000000000000000 RSI: ffffffff8aec01c0 RDI: ffffffff8b3d45e0 [ 57.684226][ C1] RBP: ffffc90000177c10 R08: ffffffff8a9541b8 R09: ffffed10024e73b9 [ 57.692209][ C1] R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002ef70 [ 57.700186][ C1] R13: ffff888147e9a804 R14: ffffc90000177ba0 R15: dffffc0000000000 [ 57.708169][ C1] ? acpi_idle_do_entry+0xe8/0x340 [ 57.713288][ C1] ? acpi_idle_do_entry+0x106/0x340 [ 57.718496][ C1] ? acpi_idle_enter_bm+0x5e0/0x5e0 [ 57.723698][ C1] ? lockdep_hardirqs_on+0x94/0x130 [ 57.728894][ C1] ? __sched_clock_gtod_offset+0xe0/0xe0 [ 57.734533][ C1] acpi_idle_enter+0x352/0x4f0 [ 57.739304][ C1] cpuidle_enter_state+0x516/0xf80 [ 57.744429][ C1] ? cpuidle_enter_s2idle+0x6b0/0x6b0 [ 57.749826][ C1] ? menu_enable_device+0x380/0x380 [ 57.755043][ C1] cpuidle_enter+0x59/0x90 [ 57.759467][ C1] do_idle+0x3ce/0x680 [ 57.763549][ C1] ? print_irqtrace_events+0x210/0x210 [ 57.769033][ C1] ? idle_inject_timer_fn+0x60/0x60 [ 57.774242][ C1] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 57.780153][ C1] ? complete+0xa9/0x1b0 [ 57.784401][ C1] cpu_startup_entry+0x3d/0x60 [ 57.789171][ C1] start_secondary+0xe4/0xf0 [ 57.793769][ C1] secondary_startup_64_no_verify+0xcf/0xdb [ 57.799685][ C1]