[ 16.629680][ C0] [ 16.629843][ C0] ================================ [ 16.630072][ C0] WARNING: inconsistent lock state [ 16.630292][ C0] 6.15.0-virtme #1 Not tainted [ 16.630512][ C0] -------------------------------- [ 16.630725][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.630997][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.631270][ C0] ffffffff8b98d218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 16.631668][ C0] {SOFTIRQ-ON-W} state was registered at: [ 16.631888][ C0] __lock_acquire+0x20b/0x7e0 [ 16.632116][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.632342][ C0] _raw_spin_lock+0x33/0x40 [ 16.632562][ C0] xa_store+0x1c/0x50 [ 16.632733][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 16.632957][ C0] init_net_debugfs+0x15/0x70 [ 16.633181][ C0] do_one_initcall+0x8c/0x1e0 [ 16.633401][ C0] do_initcalls+0x176/0x280 [ 16.633620][ C0] kernel_init_freeable+0x22d/0x300 [ 16.633839][ C0] kernel_init+0x20/0x200 [ 16.634062][ C0] ret_from_fork+0x240/0x320 [ 16.634285][ C0] ret_from_fork_asm+0x1a/0x30 [ 16.634505][ C0] irq event stamp: 492224 [ 16.634670][ C0] hardirqs last enabled at (492224): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.635104][ C0] hardirqs last disabled at (492223): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.635555][ C0] softirqs last enabled at (490960): [] handle_softirqs+0x358/0x620 [ 16.635944][ C0] softirqs last disabled at (490985): [] __irq_exit_rcu+0xfa/0x160 [ 16.636332][ C0] [ 16.636332][ C0] other info that might help us debug this: [ 16.636658][ C0] Possible unsafe locking scenario: [ 16.636658][ C0] [ 16.636987][ C0] CPU0 [ 16.637154][ C0] ---- [ 16.637317][ C0] lock(&xa->xa_lock#8); [ 16.637489][ C0] [ 16.637651][ C0] lock(&xa->xa_lock#8); [ 16.637874][ C0] [ 16.637874][ C0] *** DEADLOCK *** [ 16.637874][ C0] [ 16.638200][ C0] 1 lock held by swapper/0/0: [ 16.638424][ C0] #0: ffffffff88f793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.638814][ C0] [ 16.638814][ C0] stack backtrace: [ 16.639085][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.639090][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.639092][ C0] Call Trace: [ 16.639094][ C0] [ 16.639096][ C0] dump_stack_lvl+0x82/0xd0 [ 16.639104][ C0] print_usage_bug.part.0+0x25f/0x360 [ 16.639110][ C0] mark_lock_irq+0x343/0x400 [ 16.639118][ C0] mark_lock+0x174/0x2f0 [ 16.639122][ C0] mark_usage+0x46/0x150 [ 16.639126][ C0] __lock_acquire+0x20b/0x7e0 [ 16.639130][ C0] ? find_held_lock+0x2b/0x80 [ 16.639134][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.639138][ C0] ? xa_set_mark+0x73/0x120 [ 16.639142][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.639149][ C0] ? lock_acquire+0x10c/0x170 [ 16.639153][ C0] ? xa_set_mark+0x73/0x120 [ 16.639156][ C0] _raw_spin_lock+0x33/0x40 [ 16.639160][ C0] ? xa_set_mark+0x73/0x120 [ 16.639163][ C0] xa_set_mark+0x73/0x120 [ 16.639166][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 16.639168][ C0] ? __lock_acquire+0x44d/0x7e0 [ 16.639174][ C0] ? find_held_lock+0x2b/0x80 [ 16.639178][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 16.639183][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.639188][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.639191][ C0] ? ref_tracker_free+0x35d/0x900 [ 16.639195][ C0] ? __lock_acquire+0x44d/0x7e0 [ 16.639198][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.639201][ C0] ? __sk_destruct+0x383/0x780 [ 16.639207][ C0] ? rcu_do_batch+0x34f/0xf20 [ 16.639210][ C0] ? rcu_core+0x2bb/0x500 [ 16.639213][ C0] ? handle_softirqs+0x21b/0x620 [ 16.639218][ C0] __put_net+0x83/0x140 [ 16.639222][ C0] ? do_idle+0xf6/0x160 [ 16.639227][ C0] ? __pfx___put_net+0x10/0x10 [ 16.639231][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.639236][ C0] __sk_destruct+0x58a/0x780 [ 16.639240][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.639243][ C0] rcu_do_batch+0x34f/0xf20 [ 16.639246][ C0] ? find_held_lock+0x2b/0x80 [ 16.639250][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.639254][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.639257][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.639262][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.639267][ C0] rcu_core+0x2bb/0x500 [ 16.639270][ C0] handle_softirqs+0x21b/0x620 [ 16.639275][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.639279][ C0] irq_exit_rcu+0xe/0x30 [ 16.639283][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.639287][ C0] [ 16.639288][ C0] [ 16.639289][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.639293][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.639298][ 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 [ 16.639301][ C0] RSP: 0018:ffffffff88c07df8 EFLAGS: 00000246 [ 16.639304][ C0] RAX: 0000000000077de7 RBX: 1ffffffff1180fc3 RCX: ffffffff87fca3c9 [ 16.639306][ C0] RDX: 0000000000000000 RSI: ffffffff88aa57e9 RDI: ffffffff8825a220 [ 16.639307][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c06702 [ 16.639309][ C0] R10: ffff888036033813 R11: ffffffff88c11288 R12: 0000000000000000 [ 16.639311][ C0] R13: ffffffff88c1f280 R14: dffffc0000000000 R15: 0000000000014770 [ 16.639314][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.639320][ C0] default_idle+0x9/0x10 [ 16.639323][ C0] default_idle_call+0x6d/0xb0 [ 16.639325][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.639329][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.639333][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.639339][ C0] do_idle+0xf6/0x160 [ 16.639342][ C0] cpu_startup_entry+0x54/0x60 [ 16.639346][ C0] rest_init+0x14b/0x260 [ 16.639349][ C0] start_kernel+0x350/0x410 [ 16.639354][ C0] x86_64_start_reservations+0x18/0x30 [ 16.639358][ C0] x86_64_start_kernel+0xf8/0x150 [ 16.639361][ C0] common_startup_64+0x13e/0x148 [ 16.639369][ C0]