[ 2422.168513][T18305] mpls_gso: MPLS GSO support [ 3948.333814][ C3] [ 3948.333961][ C3] ================================ [ 3948.334148][ C3] WARNING: inconsistent lock state [ 3948.334332][ C3] 6.15.0-virtme #1 Not tainted [ 3948.334514][ C3] -------------------------------- [ 3948.334696][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 3948.334912][ C3] ksoftirqd/3/32 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 3948.335129][ C3] ffffffff8bbdaf78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 3948.335470][ C3] {SOFTIRQ-ON-W} state was registered at: [ 3948.335648][ C3] __lock_acquire+0x20b/0x7e0 [ 3948.335836][ C3] lock_acquire.part.0+0xb6/0x240 [ 3948.336010][ C3] _raw_spin_lock+0x33/0x40 [ 3948.336208][ C3] simple_pin_fs+0x24/0x150 [ 3948.336388][ C3] start_creating.part.0+0x52/0x310 [ 3948.336590][ C3] debugfs_create_dir+0x6a/0x540 [ 3948.336771][ C3] component_debug_init+0x17/0x30 [ 3948.336956][ C3] do_one_initcall+0x8f/0x1e0 [ 3948.337150][ C3] do_initcalls+0x176/0x280 [ 3948.337336][ C3] kernel_init_freeable+0x22d/0x300 [ 3948.337516][ C3] kernel_init+0x20/0x200 [ 3948.337698][ C3] ret_from_fork+0x240/0x320 [ 3948.337884][ C3] ret_from_fork_asm+0x1a/0x30 [ 3948.338068][ C3] irq event stamp: 101987014 [ 3948.338246][ C3] hardirqs last enabled at (101987014): [] kasan_quarantine_put+0x10d/0x230 [ 3948.338614][ C3] hardirqs last disabled at (101987013): [] kasan_quarantine_put+0xb8/0x230 [ 3948.338966][ C3] softirqs last enabled at (101986982): [] handle_softirqs+0x358/0x620 [ 3948.339274][ C3] softirqs last disabled at (101986987): [] run_ksoftirqd+0x3f/0x70 [ 3948.339592][ C3] [ 3948.339592][ C3] other info that might help us debug this: [ 3948.339861][ C3] Possible unsafe locking scenario: [ 3948.339861][ C3] [ 3948.340124][ C3] CPU0 [ 3948.340257][ C3] ---- [ 3948.340391][ C3] lock(pin_fs_lock); [ 3948.340529][ C3] [ 3948.340660][ C3] lock(pin_fs_lock); [ 3948.340795][ C3] [ 3948.340795][ C3] *** DEADLOCK *** [ 3948.340795][ C3] [ 3948.341063][ C3] 1 lock held by ksoftirqd/3/32: [ 3948.341247][ C3] #0: ffffffff8b98b540 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 3948.341565][ C3] [ 3948.341565][ C3] stack backtrace: [ 3948.341796][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 3948.341801][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3948.341806][ C3] Call Trace: [ 3948.341810][ C3] [ 3948.341812][ C3] dump_stack_lvl+0x82/0xd0 [ 3948.341820][ C3] print_usage_bug.part.0+0x25f/0x360 [ 3948.341825][ C3] mark_lock_irq+0x343/0x400 [ 3948.341829][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 3948.341834][ C3] ? save_trace+0x52/0x170 [ 3948.341842][ C3] mark_lock+0x174/0x2f0 [ 3948.341845][ C3] mark_usage+0x46/0x150 [ 3948.341848][ C3] __lock_acquire+0x20b/0x7e0 [ 3948.341853][ C3] lock_acquire.part.0+0xb6/0x240 [ 3948.341856][ C3] ? simple_pin_fs+0x24/0x150 [ 3948.341859][ C3] ? rcu_is_watching+0x12/0xc0 [ 3948.341863][ C3] ? lock_acquire+0x10c/0x170 [ 3948.341865][ C3] ? simple_pin_fs+0x24/0x150 [ 3948.341869][ C3] _raw_spin_lock+0x33/0x40 [ 3948.341872][ C3] ? simple_pin_fs+0x24/0x150 [ 3948.341875][ C3] simple_pin_fs+0x24/0x150 [ 3948.341878][ C3] debugfs_remove+0x35/0x70 [ 3948.341881][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 3948.341892][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 3948.341895][ C3] ? __sk_destruct+0x383/0x780 [ 3948.341906][ C3] ? rcu_do_batch+0x34f/0xf20 [ 3948.341910][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 3948.341913][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 3948.341919][ C3] ? kthread+0x37b/0x600 [ 3948.341923][ C3] ? ret_from_fork+0x240/0x320 [ 3948.341926][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 3948.341929][ C3] ? migrate_enable+0x1f2/0x270 [ 3948.341934][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 3948.341940][ C3] __put_net+0x19/0x60 [ 3948.341947][ C3] __sk_destruct+0x58a/0x780 [ 3948.341951][ C3] ? rcu_do_batch+0x34a/0xf20 [ 3948.341954][ C3] rcu_do_batch+0x34f/0xf20 [ 3948.341960][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 3948.341964][ C3] ? __lock_release+0x5d/0x170 [ 3948.341967][ C3] ? rcu_is_watching+0x12/0xc0 [ 3948.341969][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 3948.341974][ C3] rcu_core+0x2bb/0x500 [ 3948.341980][ C3] handle_softirqs+0x21b/0x620 [ 3948.341985][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 3948.341988][ C3] run_ksoftirqd+0x3f/0x70 [ 3948.341990][ C3] smpboot_thread_fn+0x30a/0x960 [ 3948.341994][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 3948.341998][ C3] kthread+0x37b/0x600 [ 3948.342002][ C3] ? __pfx_kthread+0x10/0x10 [ 3948.342005][ C3] ? ret_from_fork+0x1b/0x320 [ 3948.342007][ C3] ? __lock_release+0x5d/0x170 [ 3948.342010][ C3] ? rcu_is_watching+0x12/0xc0 [ 3948.342013][ C3] ? __pfx_kthread+0x10/0x10 [ 3948.342017][ C3] ret_from_fork+0x240/0x320 [ 3948.342019][ C3] ? __pfx_kthread+0x10/0x10 [ 3948.342023][ C3] ret_from_fork_asm+0x1a/0x30 [ 3948.342030][ C3] [ 3948.352027][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 3948.352313][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 32, name: ksoftirqd/3 [ 3948.352604][ C3] preempt_count: 100, expected: 0 [ 3948.352778][ C3] RCU nest depth: 0, expected: 0 [ 3948.352952][ C3] INFO: lockdep is turned off. [ 3948.353122][ C3] Preemption disabled at: [ 3948.353123][ C3] [] handle_softirqs+0xe5/0x620 [ 3948.353458][ C3] CPU: 3 UID: 0 PID: 32 Comm: ksoftirqd/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 3948.353462][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 3948.353463][ C3] Call Trace: [ 3948.353465][ C3] [ 3948.353467][ C3] dump_stack_lvl+0xb0/0xd0 [ 3948.353475][ C3] __might_resched+0x360/0x5a0 [ 3948.353483][ C3] down_write+0x72/0x210 [ 3948.353487][ C3] ? __pfx_down_write+0x10/0x10 [ 3948.353489][ C3] ? simple_recursive_removal+0x33/0x610 [ 3948.353495][ C3] ? rcu_is_watching+0x12/0xc0 [ 3948.353499][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 3948.353506][ C3] simple_recursive_removal+0x6a/0x610 [ 3948.353509][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 3948.353513][ C3] ? __pfx_remove_one+0x10/0x10 [ 3948.353519][ C3] debugfs_remove+0x44/0x70 [ 3948.353522][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 3948.353527][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 3948.353530][ C3] ? __sk_destruct+0x383/0x780 [ 3948.353534][ C3] ? rcu_do_batch+0x34f/0xf20 [ 3948.353538][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 3948.353541][ C3] ? smpboot_thread_fn+0x30a/0x960 [ 3948.353545][ C3] ? kthread+0x37b/0x600 [ 3948.353549][ C3] ? ret_from_fork+0x240/0x320 [ 3948.353552][ C3] ? ret_from_fork_asm+0x1a/0x30 [ 3948.353556][ C3] ? migrate_enable+0x1f2/0x270 [ 3948.353559][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 3948.353565][ C3] __put_net+0x19/0x60 [ 3948.353569][ C3] __sk_destruct+0x58a/0x780 [ 3948.353573][ C3] ? rcu_do_batch+0x34a/0xf20 [ 3948.353576][ C3] rcu_do_batch+0x34f/0xf20 [ 3948.353582][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 3948.353586][ C3] ? __lock_release+0x5d/0x170 [ 3948.353590][ C3] ? rcu_is_watching+0x12/0xc0 [ 3948.353593][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 3948.353598][ C3] rcu_core+0x2bb/0x500 [ 3948.353602][ C3] handle_softirqs+0x21b/0x620 [ 3948.353606][ C3] ? __pfx_run_ksoftirqd+0x10/0x10 [ 3948.353610][ C3] run_ksoftirqd+0x3f/0x70 [ 3948.353612][ C3] smpboot_thread_fn+0x30a/0x960 [ 3948.353615][ C3] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 3948.353619][ C3] kthread+0x37b/0x600 [ 3948.353623][ C3] ? __pfx_kthread+0x10/0x10 [ 3948.353626][ C3] ? ret_from_fork+0x1b/0x320 [ 3948.353628][ C3] ? __lock_release+0x5d/0x170 [ 3948.353631][ C3] ? rcu_is_watching+0x12/0xc0 [ 3948.353634][ C3] ? __pfx_kthread+0x10/0x10 [ 3948.353638][ C3] ret_from_fork+0x240/0x320 [ 3948.353641][ C3] ? __pfx_kthread+0x10/0x10 [ 3948.353644][ C3] ret_from_fork_asm+0x1a/0x30 [ 3948.353651][ C3]