[ 15.948292][ C0] [ 15.948527][ C0] ================================ [ 15.948762][ C0] WARNING: inconsistent lock state [ 15.948987][ C0] 6.15.0-virtme #1 Not tainted [ 15.949218][ C0] -------------------------------- [ 15.949444][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.949728][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.950007][ C0] ffffffffacb8d218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 15.950412][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.950640][ C0] __lock_acquire+0x20b/0x7e0 [ 15.950875][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.951101][ C0] _raw_spin_lock+0x33/0x40 [ 15.951329][ C0] xa_store+0x1c/0x50 [ 15.951501][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 15.951733][ C0] init_net_debugfs+0x15/0x70 [ 15.951962][ C0] do_one_initcall+0x8c/0x1e0 [ 15.952189][ C0] do_initcalls+0x176/0x280 [ 15.952419][ C0] kernel_init_freeable+0x22d/0x300 [ 15.952645][ C0] kernel_init+0x20/0x200 [ 15.952878][ C0] ret_from_fork+0x240/0x320 [ 15.953106][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.953332][ C0] irq event stamp: 431864 [ 15.953503][ C0] hardirqs last enabled at (431864): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.953963][ C0] hardirqs last disabled at (431863): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.954412][ C0] softirqs last enabled at (430928): [] handle_softirqs+0x358/0x620 [ 15.954806][ C0] softirqs last disabled at (430935): [] __irq_exit_rcu+0xfa/0x160 [ 15.955213][ C0] [ 15.955213][ C0] other info that might help us debug this: [ 15.955554][ C0] Possible unsafe locking scenario: [ 15.955554][ C0] [ 15.955890][ C0] CPU0 [ 15.956061][ C0] ---- [ 15.956226][ C0] lock(&xa->xa_lock#8); [ 15.956402][ C0] [ 15.956573][ C0] lock(&xa->xa_lock#8); [ 15.956797][ C0] [ 15.956797][ C0] *** DEADLOCK *** [ 15.956797][ C0] [ 15.957131][ C0] 1 lock held by swapper/0/0: [ 15.957352][ C0] #0: ffffffffaa1793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.957759][ C0] [ 15.957759][ C0] stack backtrace: [ 15.958040][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.958045][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.958048][ C0] Call Trace: [ 15.958050][ C0] [ 15.958053][ C0] dump_stack_lvl+0x82/0xd0 [ 15.958060][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.958065][ C0] mark_lock_irq+0x343/0x400 [ 15.958073][ C0] mark_lock+0x174/0x2f0 [ 15.958077][ C0] mark_usage+0x46/0x150 [ 15.958081][ C0] __lock_acquire+0x20b/0x7e0 [ 15.958085][ C0] ? find_held_lock+0x2b/0x80 [ 15.958089][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.958093][ C0] ? xa_set_mark+0x73/0x120 [ 15.958096][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.958103][ C0] ? lock_acquire+0x10c/0x170 [ 15.958106][ C0] ? xa_set_mark+0x73/0x120 [ 15.958109][ C0] _raw_spin_lock+0x33/0x40 [ 15.958112][ C0] ? xa_set_mark+0x73/0x120 [ 15.958115][ C0] xa_set_mark+0x73/0x120 [ 15.958118][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 15.958120][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.958126][ C0] ? find_held_lock+0x2b/0x80 [ 15.958129][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 15.958134][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.958138][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.958142][ C0] ? ref_tracker_free+0x35d/0x900 [ 15.958145][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.958149][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.958152][ C0] ? __sk_destruct+0x383/0x780 [ 15.958158][ C0] ? rcu_do_batch+0x34f/0xf20 [ 15.958161][ C0] ? rcu_core+0x2bb/0x500 [ 15.958164][ C0] ? handle_softirqs+0x21b/0x620 [ 15.958168][ C0] __put_net+0x83/0x140 [ 15.958174][ C0] ? do_idle+0xf6/0x160 [ 15.958179][ C0] ? __pfx___put_net+0x10/0x10 [ 15.958183][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 15.958188][ C0] __sk_destruct+0x58a/0x780 [ 15.958192][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.958195][ C0] rcu_do_batch+0x34f/0xf20 [ 15.958199][ C0] ? find_held_lock+0x2b/0x80 [ 15.958202][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.958206][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.958209][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.958214][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.958219][ C0] rcu_core+0x2bb/0x500 [ 15.958222][ C0] handle_softirqs+0x21b/0x620 [ 15.958227][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.958231][ C0] irq_exit_rcu+0xe/0x30 [ 15.958234][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.958238][ C0] [ 15.958239][ C0] [ 15.958240][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.958245][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.958249][ C0] Code: 64 b3 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 a7 0c 00 fb f4 cc 58 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.958252][ C0] RSP: 0018:ffffffffa9e07df8 EFLAGS: 00000246 [ 15.958255][ C0] RAX: 0000000000069355 RBX: 1ffffffff53c0fc3 RCX: ffffffffa91ca3c9 [ 15.958257][ C0] RDX: 0000000000000000 RSI: ffffffffa9ca57e9 RDI: ffffffffa945a220 [ 15.958258][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c06702 [ 15.958260][ C0] R10: ffff888036033813 R11: ffffffffa9e11288 R12: 0000000000000000 [ 15.958262][ C0] R13: ffffffffa9e1f280 R14: dffffc0000000000 R15: 0000000000014770 [ 15.958266][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.958271][ C0] default_idle+0x9/0x10 [ 15.958274][ C0] default_idle_call+0x6d/0xb0 [ 15.958276][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.958280][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.958284][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.958289][ C0] do_idle+0xf6/0x160 [ 15.958293][ C0] cpu_startup_entry+0x54/0x60 [ 15.958297][ C0] rest_init+0x14b/0x260 [ 15.958300][ C0] start_kernel+0x350/0x410 [ 15.958304][ C0] x86_64_start_reservations+0x18/0x30 [ 15.958308][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.958312][ C0] common_startup_64+0x13e/0x148 [ 15.958319][ C0]