[ 16.340264][ C0] [ 16.340431][ C0] ================================ [ 16.340662][ C0] WARNING: inconsistent lock state [ 16.340888][ C0] 6.15.0-virtme #1 Not tainted [ 16.341116][ C0] -------------------------------- [ 16.341342][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.341620][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.341897][ C0] ffffffff9998d218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 16.342299][ C0] {SOFTIRQ-ON-W} state was registered at: [ 16.342520][ C0] __lock_acquire+0x20b/0x7e0 [ 16.342753][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.342978][ C0] _raw_spin_lock+0x33/0x40 [ 16.343205][ C0] xa_store+0x1c/0x50 [ 16.343378][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 16.343606][ C0] init_net_debugfs+0x15/0x70 [ 16.343833][ C0] do_one_initcall+0x8c/0x1e0 [ 16.344059][ C0] do_initcalls+0x176/0x280 [ 16.344286][ C0] kernel_init_freeable+0x22d/0x300 [ 16.344519][ C0] kernel_init+0x20/0x200 [ 16.344747][ C0] ret_from_fork+0x240/0x320 [ 16.344973][ C0] ret_from_fork_asm+0x1a/0x30 [ 16.345199][ C0] irq event stamp: 463180 [ 16.345370][ C0] hardirqs last enabled at (463180): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.345815][ C0] hardirqs last disabled at (463179): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.346266][ C0] softirqs last enabled at (461118): [] handle_softirqs+0x358/0x620 [ 16.346674][ C0] softirqs last disabled at (461143): [] __irq_exit_rcu+0xfa/0x160 [ 16.347070][ C0] [ 16.347070][ C0] other info that might help us debug this: [ 16.347408][ C0] Possible unsafe locking scenario: [ 16.347408][ C0] [ 16.347750][ C0] CPU0 [ 16.347923][ C0] ---- [ 16.348097][ C0] lock(&xa->xa_lock#8); [ 16.348272][ C0] [ 16.348446][ C0] lock(&xa->xa_lock#8); [ 16.348674][ C0] [ 16.348674][ C0] *** DEADLOCK *** [ 16.348674][ C0] [ 16.349012][ C0] 1 lock held by swapper/0/0: [ 16.349240][ C0] #0: ffffffff96f793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.349653][ C0] [ 16.349653][ C0] stack backtrace: [ 16.349938][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.349943][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.349946][ C0] Call Trace: [ 16.349949][ C0] [ 16.349951][ C0] dump_stack_lvl+0x82/0xd0 [ 16.349958][ C0] print_usage_bug.part.0+0x25f/0x360 [ 16.349963][ C0] mark_lock_irq+0x343/0x400 [ 16.349970][ C0] mark_lock+0x174/0x2f0 [ 16.349974][ C0] mark_usage+0x46/0x150 [ 16.349978][ C0] __lock_acquire+0x20b/0x7e0 [ 16.349982][ C0] ? find_held_lock+0x2b/0x80 [ 16.349987][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.349991][ C0] ? xa_set_mark+0x73/0x120 [ 16.349994][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.350001][ C0] ? lock_acquire+0x10c/0x170 [ 16.350004][ C0] ? xa_set_mark+0x73/0x120 [ 16.350008][ C0] _raw_spin_lock+0x33/0x40 [ 16.350011][ C0] ? xa_set_mark+0x73/0x120 [ 16.350013][ C0] xa_set_mark+0x73/0x120 [ 16.350016][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 16.350019][ C0] ? __lock_acquire+0x44d/0x7e0 [ 16.350024][ C0] ? find_held_lock+0x2b/0x80 [ 16.350028][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 16.350034][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.350038][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.350041][ C0] ? ref_tracker_free+0x35d/0x900 [ 16.350045][ C0] ? __lock_acquire+0x44d/0x7e0 [ 16.350049][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.350052][ C0] ? __sk_destruct+0x383/0x780 [ 16.350058][ C0] ? rcu_do_batch+0x34f/0xf20 [ 16.350061][ C0] ? rcu_core+0x2bb/0x500 [ 16.350064][ C0] ? handle_softirqs+0x21b/0x620 [ 16.350069][ C0] __put_net+0x83/0x140 [ 16.350074][ C0] ? do_idle+0xf6/0x160 [ 16.350078][ C0] ? __pfx___put_net+0x10/0x10 [ 16.350083][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.350088][ C0] __sk_destruct+0x58a/0x780 [ 16.350091][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.350094][ C0] rcu_do_batch+0x34f/0xf20 [ 16.350098][ C0] ? find_held_lock+0x2b/0x80 [ 16.350101][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.350105][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.350108][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.350113][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.350118][ C0] rcu_core+0x2bb/0x500 [ 16.350121][ C0] handle_softirqs+0x21b/0x620 [ 16.350127][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.350130][ C0] irq_exit_rcu+0xe/0x30 [ 16.350134][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.350137][ C0] [ 16.350139][ C0] [ 16.350140][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.350145][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.350150][ 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.350152][ C0] RSP: 0018:ffffffff96c07df8 EFLAGS: 00000246 [ 16.350156][ C0] RAX: 0000000000070955 RBX: 1ffffffff2d80fc3 RCX: ffffffff95fca3c9 [ 16.350158][ C0] RDX: 0000000000000000 RSI: ffffffff96aa57e9 RDI: ffffffff9625a220 [ 16.350159][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c06702 [ 16.350161][ C0] R10: ffff888036033813 R11: ffffffff96c11288 R12: 0000000000000000 [ 16.350163][ C0] R13: ffffffff96c1f280 R14: dffffc0000000000 R15: 0000000000014770 [ 16.350167][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.350172][ C0] default_idle+0x9/0x10 [ 16.350175][ C0] default_idle_call+0x6d/0xb0 [ 16.350177][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.350181][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.350185][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.350191][ C0] do_idle+0xf6/0x160 [ 16.350195][ C0] cpu_startup_entry+0x54/0x60 [ 16.350199][ C0] rest_init+0x14b/0x260 [ 16.350202][ C0] start_kernel+0x350/0x410 [ 16.350206][ C0] x86_64_start_reservations+0x18/0x30 [ 16.350210][ C0] x86_64_start_kernel+0xf8/0x150 [ 16.350213][ C0] common_startup_64+0x13e/0x148 [ 16.350221][ C0]