[ 279.958412][ C1] [ 279.958628][ C1] ================================ [ 279.958830][ C1] WARNING: inconsistent lock state [ 279.959025][ C1] 6.15.0-virtme #1 Not tainted [ 279.959219][ C1] -------------------------------- [ 279.959409][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 279.959662][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 279.959912][ C1] ffffffffb4fd8518 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 279.960271][ C1] {SOFTIRQ-ON-W} state was registered at: [ 279.960464][ C1] __lock_acquire+0x20b/0x7e0 [ 279.960666][ C1] lock_acquire.part.0+0xb6/0x240 [ 279.960858][ C1] _raw_spin_lock+0x33/0x40 [ 279.961054][ C1] xa_store+0x1c/0x50 [ 279.961201][ C1] ref_tracker_dir_debugfs+0x168/0x1b0 [ 279.961399][ C1] init_net_debugfs+0x15/0x70 [ 279.961603][ C1] do_one_initcall+0x8c/0x1e0 [ 279.961798][ C1] do_initcalls+0x176/0x280 [ 279.961996][ C1] kernel_init_freeable+0x22d/0x300 [ 279.962190][ C1] kernel_init+0x20/0x200 [ 279.962381][ C1] ret_from_fork+0x240/0x320 [ 279.962575][ C1] ret_from_fork_asm+0x1a/0x30 [ 279.962767][ C1] irq event stamp: 10894016 [ 279.962957][ C1] hardirqs last enabled at (10894016): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 279.963350][ C1] hardirqs last disabled at (10894015): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 279.963735][ C1] softirqs last enabled at (10893906): [] handle_softirqs+0x358/0x620 [ 279.964070][ C1] softirqs last disabled at (10893919): [] __irq_exit_rcu+0xfa/0x160 [ 279.964403][ C1] [ 279.964403][ C1] other info that might help us debug this: [ 279.964691][ C1] Possible unsafe locking scenario: [ 279.964691][ C1] [ 279.964975][ C1] CPU0 [ 279.965121][ C1] ---- [ 279.965264][ C1] lock(&xa->xa_lock#8); [ 279.965413][ C1] [ 279.965555][ C1] lock(&xa->xa_lock#8); [ 279.965750][ C1] [ 279.965750][ C1] *** DEADLOCK *** [ 279.965750][ C1] [ 279.966036][ C1] 1 lock held by swapper/1/0: [ 279.966238][ C1] #0: ffffc900001c0d60 ((&icsk->icsk_retransmit_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe7/0x220 [ 279.966633][ C1] [ 279.966633][ C1] stack backtrace: [ 279.966876][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 279.966880][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 279.966883][ C1] Call Trace: [ 279.966885][ C1] [ 279.966888][ C1] dump_stack_lvl+0x82/0xd0 [ 279.966895][ C1] print_usage_bug.part.0+0x25f/0x360 [ 279.966899][ C1] mark_lock_irq+0x343/0x400 [ 279.966904][ C1] ? save_trace+0x52/0x170 [ 279.966912][ C1] mark_lock+0x174/0x2f0 [ 279.966916][ C1] mark_usage+0x46/0x150 [ 279.966919][ C1] __lock_acquire+0x20b/0x7e0 [ 279.966924][ C1] lock_acquire.part.0+0xb6/0x240 [ 279.966927][ C1] ? xa_set_mark+0x73/0x120 [ 279.966930][ C1] ? rcu_is_watching+0x12/0xc0 [ 279.966936][ C1] ? lock_acquire+0x10c/0x170 [ 279.966938][ C1] ? xa_set_mark+0x73/0x120 [ 279.966941][ C1] _raw_spin_lock+0x33/0x40 [ 279.966944][ C1] ? xa_set_mark+0x73/0x120 [ 279.966947][ C1] xa_set_mark+0x73/0x120 [ 279.966949][ C1] ? __pfx_xa_set_mark+0x10/0x10 [ 279.966952][ C1] ? __lock_acquire+0x44d/0x7e0 [ 279.966957][ C1] ? find_held_lock+0x2b/0x80 [ 279.966961][ C1] ref_tracker_dir_exit+0xb2/0x740 [ 279.966965][ C1] ? trace_kfree+0x2a/0xd0 [ 279.966971][ C1] ? kfree+0x2d/0x320 [ 279.966974][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 279.966978][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 279.966982][ C1] ? ref_tracker_free+0x35d/0x900 [ 279.966985][ C1] ? __lock_acquire+0x44d/0x7e0 [ 279.966988][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 279.966991][ C1] ? __sk_destruct+0x383/0x780 [ 279.966997][ C1] ? call_timer_fn+0x13a/0x220 [ 279.966999][ C1] ? __run_timers+0x543/0x810 [ 279.967003][ C1] ? run_timer_base+0xb3/0x110 [ 279.967006][ C1] __put_net+0x83/0x140 [ 279.967013][ C1] ? default_idle_call+0x6d/0xb0 [ 279.967017][ C1] ? __pfx___put_net+0x10/0x10 [ 279.967021][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 279.967027][ C1] __sk_destruct+0x58a/0x780 [ 279.967031][ C1] ? __pfx_tcp_write_timer+0x10/0x10 [ 279.967037][ C1] call_timer_fn+0x13a/0x220 [ 279.967039][ C1] ? call_timer_fn+0xe7/0x220 [ 279.967041][ C1] ? call_timer_fn+0xe7/0x220 [ 279.967044][ C1] ? __pfx_call_timer_fn+0x10/0x10 [ 279.967048][ C1] ? __run_timers+0x532/0x810 [ 279.967051][ C1] ? __lock_release+0x5d/0x170 [ 279.967054][ C1] ? rcu_is_watching+0x12/0xc0 [ 279.967058][ C1] __run_timers+0x543/0x810 [ 279.967061][ C1] ? __pfx_tcp_write_timer+0x10/0x10 [ 279.967067][ C1] ? __pfx___run_timers+0x10/0x10 [ 279.967071][ C1] ? do_raw_spin_lock+0x130/0x270 [ 279.967075][ C1] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 279.967078][ C1] ? lock_acquire+0x10c/0x170 [ 279.967081][ C1] ? run_timer_base+0xab/0x110 [ 279.967085][ C1] run_timer_base+0xb3/0x110 [ 279.967088][ C1] run_timer_softirq+0x1a/0x30 [ 279.967091][ C1] handle_softirqs+0x21b/0x620 [ 279.967096][ C1] __irq_exit_rcu+0xfa/0x160 [ 279.967099][ C1] irq_exit_rcu+0xe/0x30 [ 279.967102][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 279.967106][ C1] [ 279.967107][ C1] [ 279.967109][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 279.967113][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 279.967117][ C1] Code: b4 cc 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 53 87 24 00 fb f4 cc 58 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 279.967120][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000242 [ 279.967123][ C1] RAX: 0000000000a63a5d RBX: 1ffff92000026fc1 RCX: ffffffffb144c3c9 [ 279.967126][ C1] RDX: 0000000000000000 RSI: ffffffffb20bc1ba RDI: ffffffffb185f220 [ 279.967127][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c16702 [ 279.967129][ C1] R10: ffff8880360b3813 R11: ffffffffb2211288 R12: 0000000000000000 [ 279.967130][ C1] R13: ffff888001bf8040 R14: dffffc0000000000 R15: 0000000000000000 [ 279.967134][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 279.967140][ C1] default_idle+0x9/0x10 [ 279.967142][ C1] default_idle_call+0x6d/0xb0 [ 279.967144][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 279.967148][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 279.967152][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 279.967158][ C1] do_idle+0xf6/0x160 [ 279.967161][ C1] cpu_startup_entry+0x54/0x60 [ 279.967164][ C1] start_secondary+0x213/0x2a0 [ 279.967166][ C1] ? __pfx_start_secondary+0x10/0x10 [ 279.967171][ C1] common_startup_64+0x13e/0x148 [ 279.967180][ C1]