[ 13.041400][ C1] [ 13.041527][ C1] ================================ [ 13.041703][ C1] WARNING: inconsistent lock state [ 13.041879][ C1] 6.15.0-virtme #1 Not tainted [ 13.042052][ C1] -------------------------------- [ 13.042228][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.042444][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.042664][ C1] ffffffff99995218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 13.042976][ C1] {SOFTIRQ-ON-W} state was registered at: [ 13.043150][ C1] __lock_acquire+0x20b/0x7e0 [ 13.043333][ C1] lock_acquire.part.0+0xb6/0x240 [ 13.043509][ C1] _raw_spin_lock+0x33/0x40 [ 13.043685][ C1] xa_store+0x1c/0x50 [ 13.043820][ C1] ref_tracker_dir_debugfs+0x168/0x1b0 [ 13.044002][ C1] init_net_debugfs+0x15/0x70 [ 13.044180][ C1] do_one_initcall+0x8c/0x1e0 [ 13.044361][ C1] do_initcalls+0x176/0x280 [ 13.044540][ C1] kernel_init_freeable+0x22d/0x300 [ 13.044718][ C1] kernel_init+0x20/0x200 [ 13.044894][ C1] ret_from_fork+0x240/0x320 [ 13.045071][ C1] ret_from_fork_asm+0x1a/0x30 [ 13.045247][ C1] irq event stamp: 249814 [ 13.045383][ C1] hardirqs last enabled at (249814): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.045740][ C1] hardirqs last disabled at (249813): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.046089][ C1] softirqs last enabled at (249004): [] handle_softirqs+0x358/0x620 [ 13.046396][ C1] softirqs last disabled at (249009): [] run_ksoftirqd+0x3f/0x70 [ 13.046708][ C1] [ 13.046708][ C1] other info that might help us debug this: [ 13.046971][ C1] Possible unsafe locking scenario: [ 13.046971][ C1] [ 13.047235][ C1] CPU0 [ 13.047365][ C1] ---- [ 13.047496][ C1] lock(&xa->xa_lock#8); [ 13.047632][ C1] [ 13.047762][ C1] lock(&xa->xa_lock#8); [ 13.047941][ C1] [ 13.047941][ C1] *** DEADLOCK *** [ 13.047941][ C1] [ 13.048198][ C1] 1 lock held by ksoftirqd/1/22: [ 13.048373][ C1] #0: ffffffff96f793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.048689][ C1] [ 13.048689][ C1] stack backtrace: [ 13.048910][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.048914][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.048916][ C1] Call Trace: [ 13.048918][ C1] [ 13.048920][ C1] dump_stack_lvl+0x82/0xd0 [ 13.048926][ C1] print_usage_bug.part.0+0x25f/0x360 [ 13.048931][ C1] mark_lock_irq+0x343/0x400 [ 13.048937][ C1] mark_lock+0x174/0x2f0 [ 13.048940][ C1] mark_usage+0x46/0x150 [ 13.048943][ C1] __lock_acquire+0x20b/0x7e0 [ 13.048945][ C1] ? unwind_next_frame+0x4f8/0x1e10 [ 13.048951][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 13.048955][ C1] lock_acquire.part.0+0xb6/0x240 [ 13.048958][ C1] ? xa_set_mark+0x73/0x120 [ 13.048961][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.048964][ C1] ? lock_acquire+0x10c/0x170 [ 13.048966][ C1] ? xa_set_mark+0x73/0x120 [ 13.048969][ C1] _raw_spin_lock+0x33/0x40 [ 13.048972][ C1] ? xa_set_mark+0x73/0x120 [ 13.048974][ C1] xa_set_mark+0x73/0x120 [ 13.048977][ C1] ? __pfx_xa_set_mark+0x10/0x10 [ 13.048979][ C1] ? __lock_acquire+0x44d/0x7e0 [ 13.048983][ C1] ? find_held_lock+0x2b/0x80 [ 13.048989][ C1] ref_tracker_dir_exit+0xb2/0x740 [ 13.048994][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.048997][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.049002][ C1] ? ref_tracker_free+0x35d/0x900 [ 13.049005][ C1] ? __lock_acquire+0x44d/0x7e0 [ 13.049008][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.049011][ C1] ? __sk_destruct+0x383/0x780 [ 13.049016][ C1] ? rcu_do_batch+0x34f/0xf20 [ 13.049019][ C1] ? rcu_core+0x2bb/0x500 [ 13.049021][ C1] ? handle_softirqs+0x21b/0x620 [ 13.049025][ C1] __put_net+0x83/0x140 [ 13.049030][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 13.049035][ C1] ? __pfx___put_net+0x10/0x10 [ 13.049040][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 13.049044][ C1] __sk_destruct+0x58a/0x780 [ 13.049048][ C1] ? rcu_do_batch+0x34a/0xf20 [ 13.049051][ C1] rcu_do_batch+0x34f/0xf20 [ 13.049056][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.049061][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.049063][ C1] ? note_gp_changes+0x182/0x1e0 [ 13.049066][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.049072][ C1] rcu_core+0x2bb/0x500 [ 13.049075][ C1] handle_softirqs+0x21b/0x620 [ 13.049079][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.049082][ C1] run_ksoftirqd+0x3f/0x70 [ 13.049084][ C1] smpboot_thread_fn+0x307/0x960 [ 13.049089][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.049093][ C1] kthread+0x37b/0x600 [ 13.049098][ C1] ? __pfx_kthread+0x10/0x10 [ 13.049100][ C1] ? ret_from_fork+0x1b/0x320 [ 13.049102][ C1] ? __lock_release+0x5d/0x170 [ 13.049105][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.049108][ C1] ? __pfx_kthread+0x10/0x10 [ 13.049112][ C1] ret_from_fork+0x240/0x320 [ 13.049114][ C1] ? __pfx_kthread+0x10/0x10 [ 13.049117][ C1] ret_from_fork_asm+0x1a/0x30 [ 13.049124][ C1]