[ 15.576985][ C0] [ 15.577161][ C0] ================================ [ 15.577398][ C0] WARNING: inconsistent lock state [ 15.577627][ C0] 6.15.0-virtme #1 Not tainted [ 15.577856][ C0] -------------------------------- [ 15.578086][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.578373][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.578675][ C0] ffffffffb2b8d218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 15.579088][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.579320][ C0] __lock_acquire+0x20b/0x7e0 [ 15.579558][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.579791][ C0] _raw_spin_lock+0x33/0x40 [ 15.580023][ C0] xa_store+0x1c/0x50 [ 15.580194][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 15.580434][ C0] init_net_debugfs+0x15/0x70 [ 15.580672][ C0] do_one_initcall+0x8c/0x1e0 [ 15.580903][ C0] do_initcalls+0x176/0x280 [ 15.581143][ C0] kernel_init_freeable+0x22d/0x300 [ 15.581372][ C0] kernel_init+0x20/0x200 [ 15.581608][ C0] ret_from_fork+0x240/0x320 [ 15.581843][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.582077][ C0] irq event stamp: 442600 [ 15.582255][ C0] hardirqs last enabled at (442600): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.582722][ C0] hardirqs last disabled at (442599): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.583192][ C0] softirqs last enabled at (440566): [] handle_softirqs+0x358/0x620 [ 15.583604][ C0] softirqs last disabled at (440603): [] __irq_exit_rcu+0xfa/0x160 [ 15.584019][ C0] [ 15.584019][ C0] other info that might help us debug this: [ 15.584364][ C0] Possible unsafe locking scenario: [ 15.584364][ C0] [ 15.584715][ C0] CPU0 [ 15.584894][ C0] ---- [ 15.585072][ C0] lock(&xa->xa_lock#8); [ 15.585249][ C0] [ 15.585428][ C0] lock(&xa->xa_lock#8); [ 15.585666][ C0] [ 15.585666][ C0] *** DEADLOCK *** [ 15.585666][ C0] [ 15.586004][ C0] 1 lock held by swapper/0/0: [ 15.586244][ C0] #0: ffffffffb01793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.586668][ C0] [ 15.586668][ C0] stack backtrace: [ 15.586955][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.586960][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.586962][ C0] Call Trace: [ 15.586964][ C0] [ 15.586966][ C0] dump_stack_lvl+0x82/0xd0 [ 15.586971][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.586976][ C0] mark_lock_irq+0x343/0x400 [ 15.586984][ C0] mark_lock+0x174/0x2f0 [ 15.586988][ C0] mark_usage+0x46/0x150 [ 15.586991][ C0] __lock_acquire+0x20b/0x7e0 [ 15.586995][ C0] ? find_held_lock+0x2b/0x80 [ 15.586999][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.587003][ C0] ? xa_set_mark+0x73/0x120 [ 15.587006][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.587011][ C0] ? lock_acquire+0x10c/0x170 [ 15.587014][ C0] ? xa_set_mark+0x73/0x120 [ 15.587018][ C0] _raw_spin_lock+0x33/0x40 [ 15.587021][ C0] ? xa_set_mark+0x73/0x120 [ 15.587023][ C0] xa_set_mark+0x73/0x120 [ 15.587026][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 15.587029][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.587034][ C0] ? find_held_lock+0x2b/0x80 [ 15.587038][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 15.587042][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.587046][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.587049][ C0] ? ref_tracker_free+0x35d/0x900 [ 15.587053][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.587056][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.587059][ C0] ? __sk_destruct+0x383/0x780 [ 15.587064][ C0] ? rcu_do_batch+0x34f/0xf20 [ 15.587067][ C0] ? rcu_core+0x2bb/0x500 [ 15.587069][ C0] ? handle_softirqs+0x21b/0x620 [ 15.587074][ C0] __put_net+0x83/0x140 [ 15.587079][ C0] ? do_idle+0xf6/0x160 [ 15.587083][ C0] ? __pfx___put_net+0x10/0x10 [ 15.587087][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 15.587092][ C0] __sk_destruct+0x58a/0x780 [ 15.587095][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.587098][ C0] rcu_do_batch+0x34f/0xf20 [ 15.587102][ C0] ? find_held_lock+0x2b/0x80 [ 15.587105][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.587109][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.587112][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.587116][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.587121][ C0] rcu_core+0x2bb/0x500 [ 15.587123][ C0] handle_softirqs+0x21b/0x620 [ 15.587129][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.587133][ C0] irq_exit_rcu+0xe/0x30 [ 15.587136][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.587140][ C0] [ 15.587140][ C0] [ 15.587142][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.587147][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.587151][ 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.587154][ C0] RSP: 0018:ffffffffafe07df8 EFLAGS: 00000242 [ 15.587156][ C0] RAX: 000000000006b919 RBX: 1ffffffff5fc0fc3 RCX: ffffffffaf1ca3c9 [ 15.587159][ C0] RDX: 0000000000000000 RSI: ffffffffafca57e9 RDI: ffffffffaf45a220 [ 15.587160][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c06702 [ 15.587162][ C0] R10: ffff888036033813 R11: ffffffffafe11288 R12: 0000000000000000 [ 15.587163][ C0] R13: ffffffffafe1f280 R14: dffffc0000000000 R15: 0000000000014770 [ 15.587167][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.587173][ C0] default_idle+0x9/0x10 [ 15.587175][ C0] default_idle_call+0x6d/0xb0 [ 15.587178][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.587181][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.587185][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.587191][ C0] do_idle+0xf6/0x160 [ 15.587195][ C0] cpu_startup_entry+0x54/0x60 [ 15.587198][ C0] rest_init+0x14b/0x260 [ 15.587201][ C0] start_kernel+0x350/0x410 [ 15.587205][ C0] x86_64_start_reservations+0x18/0x30 [ 15.587209][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.587213][ C0] common_startup_64+0x13e/0x148 [ 15.587220][ C0] [ 17.423201][ T218] perl (218) used greatest stack depth: 24536 bytes left