[ 16.755741][ C0] [ 16.755945][ C0] ================================ [ 16.756152][ C0] WARNING: inconsistent lock state [ 16.756362][ C0] 6.15.0-virtme #1 Not tainted [ 16.756583][ C0] -------------------------------- [ 16.756790][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.757043][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.757304][ C0] ffffffffaa18d218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 16.757676][ C0] {SOFTIRQ-ON-W} state was registered at: [ 16.757878][ C0] __lock_acquire+0x20b/0x7e0 [ 16.758093][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.758298][ C0] _raw_spin_lock+0x33/0x40 [ 16.758503][ C0] xa_store+0x1c/0x50 [ 16.758656][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 16.758861][ C0] init_net_debugfs+0x15/0x70 [ 16.759066][ C0] do_one_initcall+0x8c/0x1e0 [ 16.759271][ C0] do_initcalls+0x176/0x280 [ 16.759475][ C0] kernel_init_freeable+0x22d/0x300 [ 16.759677][ C0] kernel_init+0x20/0x200 [ 16.759882][ C0] ret_from_fork+0x240/0x320 [ 16.760087][ C0] ret_from_fork_asm+0x1a/0x30 [ 16.760290][ C0] irq event stamp: 424832 [ 16.760447][ C0] hardirqs last enabled at (424832): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.760852][ C0] hardirqs last disabled at (424831): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.761268][ C0] softirqs last enabled at (422958): [] handle_softirqs+0x358/0x620 [ 16.761622][ C0] softirqs last disabled at (422965): [] __irq_exit_rcu+0xfa/0x160 [ 16.761976][ C0] [ 16.761976][ C0] other info that might help us debug this: [ 16.762275][ C0] Possible unsafe locking scenario: [ 16.762275][ C0] [ 16.762572][ C0] CPU0 [ 16.762726][ C0] ---- [ 16.762873][ C0] lock(&xa->xa_lock#8); [ 16.763029][ C0] [ 16.763179][ C0] lock(&xa->xa_lock#8); [ 16.763381][ C0] [ 16.763381][ C0] *** DEADLOCK *** [ 16.763381][ C0] [ 16.763680][ C0] 1 lock held by swapper/0/0: [ 16.763883][ C0] #0: ffffffffa77793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.764246][ C0] [ 16.764246][ C0] stack backtrace: [ 16.764498][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.764502][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.764505][ C0] Call Trace: [ 16.764507][ C0] [ 16.764508][ C0] dump_stack_lvl+0x82/0xd0 [ 16.764514][ C0] print_usage_bug.part.0+0x25f/0x360 [ 16.764519][ C0] mark_lock_irq+0x343/0x400 [ 16.764526][ C0] mark_lock+0x174/0x2f0 [ 16.764530][ C0] mark_usage+0x46/0x150 [ 16.764534][ C0] __lock_acquire+0x20b/0x7e0 [ 16.764537][ C0] ? find_held_lock+0x2b/0x80 [ 16.764542][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.764546][ C0] ? xa_set_mark+0x73/0x120 [ 16.764549][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.764554][ C0] ? lock_acquire+0x10c/0x170 [ 16.764557][ C0] ? xa_set_mark+0x73/0x120 [ 16.764561][ C0] _raw_spin_lock+0x33/0x40 [ 16.764564][ C0] ? xa_set_mark+0x73/0x120 [ 16.764566][ C0] xa_set_mark+0x73/0x120 [ 16.764569][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 16.764571][ C0] ? __lock_acquire+0x44d/0x7e0 [ 16.764577][ C0] ? find_held_lock+0x2b/0x80 [ 16.764580][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 16.764585][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.764588][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.764592][ C0] ? ref_tracker_free+0x35d/0x900 [ 16.764595][ C0] ? __lock_acquire+0x44d/0x7e0 [ 16.764599][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.764602][ C0] ? __sk_destruct+0x383/0x780 [ 16.764606][ C0] ? rcu_do_batch+0x34f/0xf20 [ 16.764609][ C0] ? rcu_core+0x2bb/0x500 [ 16.764611][ C0] ? handle_softirqs+0x21b/0x620 [ 16.764616][ C0] __put_net+0x83/0x140 [ 16.764620][ C0] ? do_idle+0xf6/0x160 [ 16.764625][ C0] ? __pfx___put_net+0x10/0x10 [ 16.764629][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.764633][ C0] __sk_destruct+0x58a/0x780 [ 16.764637][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.764639][ C0] rcu_do_batch+0x34f/0xf20 [ 16.764643][ C0] ? find_held_lock+0x2b/0x80 [ 16.764647][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.764650][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.764654][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.764657][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.764662][ C0] rcu_core+0x2bb/0x500 [ 16.764665][ C0] handle_softirqs+0x21b/0x620 [ 16.764670][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.764674][ C0] irq_exit_rcu+0xe/0x30 [ 16.764677][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.764681][ C0] [ 16.764682][ C0] [ 16.764683][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.764687][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.764691][ 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.764694][ C0] RSP: 0018:ffffffffa7407df8 EFLAGS: 00000246 [ 16.764697][ C0] RAX: 0000000000067433 RBX: 1ffffffff4e80fc3 RCX: ffffffffa67ca3c9 [ 16.764699][ C0] RDX: 0000000000000000 RSI: ffffffffa72a57e9 RDI: ffffffffa6a5a220 [ 16.764701][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c06702 [ 16.764702][ C0] R10: ffff888036033813 R11: ffffffffa7411288 R12: 0000000000000000 [ 16.764704][ C0] R13: ffffffffa741f280 R14: dffffc0000000000 R15: 0000000000014770 [ 16.764708][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.764714][ C0] default_idle+0x9/0x10 [ 16.764716][ C0] default_idle_call+0x6d/0xb0 [ 16.764718][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.764722][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.764726][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.764732][ C0] do_idle+0xf6/0x160 [ 16.764736][ C0] cpu_startup_entry+0x54/0x60 [ 16.764739][ C0] rest_init+0x14b/0x260 [ 16.764742][ C0] start_kernel+0x350/0x410 [ 16.764746][ C0] x86_64_start_reservations+0x18/0x30 [ 16.764750][ C0] x86_64_start_kernel+0xf8/0x150 [ 16.764754][ C0] common_startup_64+0x13e/0x148 [ 16.764761][ C0]