[ 13.204361][ C3] [ 13.204517][ C3] ================================ [ 13.204727][ C3] WARNING: inconsistent lock state [ 13.204943][ C3] 6.15.0-virtme #1 Not tainted [ 13.205153][ C3] -------------------------------- [ 13.205355][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.205613][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.205872][ C3] ffffffff9b795218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 13.206242][ C3] {SOFTIRQ-ON-W} state was registered at: [ 13.206449][ C3] __lock_acquire+0x20b/0x7e0 [ 13.206663][ C3] lock_acquire.part.0+0xb6/0x240 [ 13.206866][ C3] _raw_spin_lock+0x33/0x40 [ 13.207074][ C3] xa_store+0x1c/0x50 [ 13.207233][ C3] ref_tracker_dir_debugfs+0x168/0x1b0 [ 13.207440][ C3] init_net_debugfs+0x15/0x70 [ 13.207648][ C3] do_one_initcall+0x8c/0x1e0 [ 13.207855][ C3] do_initcalls+0x176/0x280 [ 13.208064][ C3] kernel_init_freeable+0x22d/0x300 [ 13.208275][ C3] kernel_init+0x20/0x200 [ 13.208486][ C3] ret_from_fork+0x240/0x320 [ 13.208694][ C3] ret_from_fork_asm+0x1a/0x30 [ 13.208901][ C3] irq event stamp: 215414 [ 13.209060][ C3] hardirqs last enabled at (215414): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.209469][ C3] hardirqs last disabled at (215413): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.209878][ C3] softirqs last enabled at (214998): [] handle_softirqs+0x358/0x620 [ 13.210251][ C3] softirqs last disabled at (215035): [] __irq_exit_rcu+0xfa/0x160 [ 13.210609][ C3] [ 13.210609][ C3] other info that might help us debug this: [ 13.210918][ C3] Possible unsafe locking scenario: [ 13.210918][ C3] [ 13.211240][ C3] CPU0 [ 13.211399][ C3] ---- [ 13.211558][ C3] lock(&xa->xa_lock#8); [ 13.211719][ C3] [ 13.211873][ C3] lock(&xa->xa_lock#8); [ 13.212084][ C3] [ 13.212084][ C3] *** DEADLOCK *** [ 13.212084][ C3] [ 13.212392][ C3] 1 lock held by swapper/3/0: [ 13.212602][ C3] #0: ffffffff98d793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.212973][ C3] [ 13.212973][ C3] stack backtrace: [ 13.213227][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.213231][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.213234][ C3] Call Trace: [ 13.213236][ C3] [ 13.213239][ C3] dump_stack_lvl+0x82/0xd0 [ 13.213246][ C3] print_usage_bug.part.0+0x25f/0x360 [ 13.213251][ C3] mark_lock_irq+0x343/0x400 [ 13.213257][ C3] mark_lock+0x174/0x2f0 [ 13.213260][ C3] mark_usage+0x46/0x150 [ 13.213263][ C3] __lock_acquire+0x20b/0x7e0 [ 13.213266][ C3] ? unwind_next_frame+0x4f8/0x1e10 [ 13.213273][ C3] ? start_secondary+0x213/0x2a0 [ 13.213280][ C3] lock_acquire.part.0+0xb6/0x240 [ 13.213283][ C3] ? xa_set_mark+0x73/0x120 [ 13.213286][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.213289][ C3] ? lock_acquire+0x10c/0x170 [ 13.213292][ C3] ? xa_set_mark+0x73/0x120 [ 13.213295][ C3] _raw_spin_lock+0x33/0x40 [ 13.213299][ C3] ? xa_set_mark+0x73/0x120 [ 13.213301][ C3] xa_set_mark+0x73/0x120 [ 13.213304][ C3] ? __pfx_xa_set_mark+0x10/0x10 [ 13.213306][ C3] ? __lock_acquire+0x44d/0x7e0 [ 13.213311][ C3] ? find_held_lock+0x2b/0x80 [ 13.213316][ C3] ref_tracker_dir_exit+0xb2/0x740 [ 13.213322][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.213326][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.213330][ C3] ? ref_tracker_free+0x35d/0x900 [ 13.213334][ C3] ? __lock_acquire+0x44d/0x7e0 [ 13.213336][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.213340][ C3] ? __sk_destruct+0x383/0x780 [ 13.213346][ C3] ? rcu_do_batch+0x34f/0xf20 [ 13.213349][ C3] ? rcu_core+0x2bb/0x500 [ 13.213353][ C3] ? handle_softirqs+0x21b/0x620 [ 13.213357][ C3] __put_net+0x83/0x140 [ 13.213362][ C3] ? do_idle+0xf6/0x160 [ 13.213367][ C3] ? __pfx___put_net+0x10/0x10 [ 13.213371][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 13.213377][ C3] __sk_destruct+0x58a/0x780 [ 13.213380][ C3] ? rcu_do_batch+0x34a/0xf20 [ 13.213383][ C3] rcu_do_batch+0x34f/0xf20 [ 13.213388][ C3] ? find_held_lock+0x2b/0x80 [ 13.213391][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.213395][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.213398][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.213403][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.213408][ C3] rcu_core+0x2bb/0x500 [ 13.213411][ C3] handle_softirqs+0x21b/0x620 [ 13.213416][ C3] __irq_exit_rcu+0xfa/0x160 [ 13.213419][ C3] irq_exit_rcu+0xe/0x30 [ 13.213421][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.213425][ C3] [ 13.213426][ C3] [ 13.213428][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.213434][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.213438][ C3] Code: 64 d2 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 2b 00 fb f4 cc 58 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 13.213441][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 13.213444][ C3] RAX: 00000000000347f9 RBX: 1ffff9200002afc1 RCX: ffffffff97bdc3c9 [ 13.213446][ C3] RDX: 0000000000000000 RSI: ffffffff988a76e1 RDI: ffffffff9805a2e0 [ 13.213447][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e76702 [ 13.213449][ C3] R10: ffff88802f3b3813 R11: ffffffff98a11288 R12: 0000000000000000 [ 13.213451][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 13.213454][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.213460][ C3] default_idle+0x9/0x10 [ 13.213462][ C3] default_idle_call+0x6d/0xb0 [ 13.213464][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 13.213468][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.213473][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.213478][ C3] do_idle+0xf6/0x160 [ 13.213482][ C3] cpu_startup_entry+0x54/0x60 [ 13.213486][ C3] start_secondary+0x213/0x2a0 [ 13.213489][ C3] ? __pfx_start_secondary+0x10/0x10 [ 13.213495][ C3] common_startup_64+0x13e/0x148 [ 13.213504][ C3]