[ 16.253493][ C2] [ 16.253647][ C2] ================================ [ 16.253854][ C2] WARNING: inconsistent lock state [ 16.254065][ C2] 6.15.0-virtme #1 Not tainted [ 16.254271][ C2] -------------------------------- [ 16.254472][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.254733][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.254984][ C2] ffffffff9698d218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 16.255351][ C2] {SOFTIRQ-ON-W} state was registered at: [ 16.255549][ C2] __lock_acquire+0x20b/0x7e0 [ 16.255765][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.255972][ C2] _raw_spin_lock+0x33/0x40 [ 16.256183][ C2] xa_store+0x1c/0x50 [ 16.256343][ C2] ref_tracker_dir_debugfs+0x168/0x1b0 [ 16.256555][ C2] init_net_debugfs+0x15/0x70 [ 16.256766][ C2] do_one_initcall+0x8c/0x1e0 [ 16.256975][ C2] do_initcalls+0x176/0x280 [ 16.257180][ C2] kernel_init_freeable+0x22d/0x300 [ 16.257387][ C2] kernel_init+0x20/0x200 [ 16.257595][ C2] ret_from_fork+0x240/0x320 [ 16.257804][ C2] ret_from_fork_asm+0x1a/0x30 [ 16.258008][ C2] irq event stamp: 278478 [ 16.258174][ C2] hardirqs last enabled at (278478): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.258588][ C2] hardirqs last disabled at (278477): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.258998][ C2] softirqs last enabled at (276450): [] handle_softirqs+0x358/0x620 [ 16.259373][ C2] softirqs last disabled at (276493): [] __irq_exit_rcu+0xfa/0x160 [ 16.259732][ C2] [ 16.259732][ C2] other info that might help us debug this: [ 16.260035][ C2] Possible unsafe locking scenario: [ 16.260035][ C2] [ 16.260336][ C2] CPU0 [ 16.260490][ C2] ---- [ 16.260645][ C2] lock(&xa->xa_lock#8); [ 16.260803][ C2] [ 16.260958][ C2] lock(&xa->xa_lock#8); [ 16.261168][ C2] [ 16.261168][ C2] *** DEADLOCK *** [ 16.261168][ C2] [ 16.261475][ C2] 1 lock held by swapper/2/0: [ 16.261685][ C2] #0: ffffffff93f793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.262049][ C2] [ 16.262049][ C2] stack backtrace: [ 16.262304][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.262309][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.262311][ C2] Call Trace: [ 16.262314][ C2] [ 16.262317][ C2] dump_stack_lvl+0x82/0xd0 [ 16.262324][ C2] print_usage_bug.part.0+0x25f/0x360 [ 16.262329][ C2] mark_lock_irq+0x343/0x400 [ 16.262337][ C2] mark_lock+0x174/0x2f0 [ 16.262341][ C2] mark_usage+0x46/0x150 [ 16.262344][ C2] __lock_acquire+0x20b/0x7e0 [ 16.262348][ C2] ? unwind_next_frame+0x4f8/0x1e10 [ 16.262354][ C2] ? start_secondary+0x213/0x2a0 [ 16.262360][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.262364][ C2] ? xa_set_mark+0x73/0x120 [ 16.262368][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.262374][ C2] ? lock_acquire+0x10c/0x170 [ 16.262377][ C2] ? xa_set_mark+0x73/0x120 [ 16.262381][ C2] _raw_spin_lock+0x33/0x40 [ 16.262384][ C2] ? xa_set_mark+0x73/0x120 [ 16.262387][ C2] xa_set_mark+0x73/0x120 [ 16.262391][ C2] ? __pfx_xa_set_mark+0x10/0x10 [ 16.262393][ C2] ? __lock_acquire+0x44d/0x7e0 [ 16.262399][ C2] ? find_held_lock+0x2b/0x80 [ 16.262403][ C2] ref_tracker_dir_exit+0xb2/0x740 [ 16.262408][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.262412][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.262416][ C2] ? ref_tracker_free+0x35d/0x900 [ 16.262419][ C2] ? __lock_acquire+0x44d/0x7e0 [ 16.262423][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.262427][ C2] ? __sk_destruct+0x383/0x780 [ 16.262432][ C2] ? rcu_do_batch+0x34f/0xf20 [ 16.262435][ C2] ? rcu_core+0x2bb/0x500 [ 16.262437][ C2] ? handle_softirqs+0x21b/0x620 [ 16.262441][ C2] __put_net+0x83/0x140 [ 16.262446][ C2] ? do_idle+0xf6/0x160 [ 16.262451][ C2] ? __pfx___put_net+0x10/0x10 [ 16.262455][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.262459][ C2] __sk_destruct+0x58a/0x780 [ 16.262463][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.262466][ C2] rcu_do_batch+0x34f/0xf20 [ 16.262470][ C2] ? find_held_lock+0x2b/0x80 [ 16.262473][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.262477][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.262480][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.262484][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.262489][ C2] rcu_core+0x2bb/0x500 [ 16.262492][ C2] handle_softirqs+0x21b/0x620 [ 16.262497][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.262501][ C2] irq_exit_rcu+0xe/0x30 [ 16.262504][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.262508][ C2] [ 16.262509][ C2] [ 16.262510][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.262515][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.262520][ C2] 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.262522][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 16.262526][ C2] RAX: 000000000004380b RBX: 1ffff92000028fc1 RCX: ffffffff92fca3c9 [ 16.262528][ C2] RDX: 0000000000000000 RSI: ffffffff93aa57e9 RDI: ffffffff9325a220 [ 16.262529][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c26702 [ 16.262531][ C2] R10: ffff888036133813 R11: ffffffff93c11288 R12: 0000000000000000 [ 16.262533][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.262537][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.262543][ C2] default_idle+0x9/0x10 [ 16.262545][ C2] default_idle_call+0x6d/0xb0 [ 16.262547][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.262551][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.262555][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.262560][ C2] do_idle+0xf6/0x160 [ 16.262564][ C2] cpu_startup_entry+0x54/0x60 [ 16.262567][ C2] start_secondary+0x213/0x2a0 [ 16.262570][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.262575][ C2] common_startup_64+0x13e/0x148 [ 16.262583][ C2]