[ 12.838306][ C2] [ 12.838483][ C2] ================================ [ 12.838665][ C2] WARNING: inconsistent lock state [ 12.838843][ C2] 6.15.0-rc5-virtme #1 Not tainted [ 12.839025][ C2] -------------------------------- [ 12.839204][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.839421][ C2] ksoftirqd/2/27 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.839649][ C2] ffffffffaabbf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.839969][ C2] {SOFTIRQ-ON-W} state was registered at: [ 12.840148][ C2] __lock_acquire+0x3eb/0x9d0 [ 12.840334][ C2] lock_acquire.part.0+0xb6/0x240 [ 12.840513][ C2] _raw_spin_lock+0x33/0x40 [ 12.840693][ C2] simple_pin_fs+0x24/0x150 [ 12.840869][ C2] start_creating.part.0+0x3f/0x2f0 [ 12.841052][ C2] debugfs_create_dir+0x6a/0x540 [ 12.841232][ C2] component_debug_init+0x17/0x30 [ 12.841416][ C2] do_one_initcall+0x8c/0x1e0 [ 12.841602][ C2] do_initcalls+0x176/0x280 [ 12.841781][ C2] kernel_init_freeable+0x22d/0x300 [ 12.841966][ C2] kernel_init+0x20/0x200 [ 12.842149][ C2] ret_from_fork+0x31/0x70 [ 12.842337][ C2] ret_from_fork_asm+0x1a/0x30 [ 12.842526][ C2] irq event stamp: 186124 [ 12.842668][ C2] hardirqs last enabled at (186124): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.843035][ C2] hardirqs last disabled at (186123): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.843410][ C2] softirqs last enabled at (185784): [] handle_softirqs+0x358/0x620 [ 12.843736][ C2] softirqs last disabled at (185789): [] run_ksoftirqd+0x3f/0x70 [ 12.844049][ C2] [ 12.844049][ C2] other info that might help us debug this: [ 12.844314][ C2] Possible unsafe locking scenario: [ 12.844314][ C2] [ 12.844573][ C2] CPU0 [ 12.844706][ C2] ---- [ 12.844836][ C2] lock(pin_fs_lock); [ 12.844975][ C2] [ 12.845106][ C2] lock(pin_fs_lock); [ 12.845241][ C2] [ 12.845241][ C2] *** DEADLOCK *** [ 12.845241][ C2] [ 12.845504][ C2] 1 lock held by ksoftirqd/2/27: [ 12.845683][ C2] #0: ffffffffaa974480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.846002][ C2] [ 12.846002][ C2] stack backtrace: [ 12.846223][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 12.846227][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.846229][ C2] Call Trace: [ 12.846231][ C2] [ 12.846234][ C2] dump_stack_lvl+0x82/0xd0 [ 12.846242][ C2] print_usage_bug.part.0+0x25f/0x360 [ 12.846246][ C2] mark_lock_irq+0x343/0x400 [ 12.846250][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 12.846255][ C2] ? save_trace+0x52/0x170 [ 12.846262][ C2] mark_lock+0x174/0x2f0 [ 12.846265][ C2] mark_usage+0x46/0x150 [ 12.846268][ C2] __lock_acquire+0x3eb/0x9d0 [ 12.846272][ C2] lock_acquire.part.0+0xb6/0x240 [ 12.846275][ C2] ? simple_pin_fs+0x24/0x150 [ 12.846278][ C2] ? rcu_is_watching+0x12/0xc0 [ 12.846282][ C2] ? lock_acquire+0x10c/0x170 [ 12.846284][ C2] ? simple_pin_fs+0x24/0x150 [ 12.846288][ C2] _raw_spin_lock+0x33/0x40 [ 12.846291][ C2] ? simple_pin_fs+0x24/0x150 [ 12.846293][ C2] simple_pin_fs+0x24/0x150 [ 12.846296][ C2] debugfs_remove+0x35/0x70 [ 12.846299][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 12.846307][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.846310][ C2] ? __sk_destruct+0x383/0x780 [ 12.846317][ C2] ? rcu_do_batch+0x34c/0xf20 [ 12.846321][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.846324][ C2] ? smpboot_thread_fn+0x307/0x960 [ 12.846330][ C2] ? kthread+0x37b/0x600 [ 12.846335][ C2] ? ret_from_fork+0x31/0x70 [ 12.846338][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 12.846341][ C2] ? migrate_enable+0x1f2/0x270 [ 12.846345][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 12.846349][ C2] __put_net+0x19/0x60 [ 12.846354][ C2] __sk_destruct+0x58a/0x780 [ 12.846357][ C2] ? rcu_do_batch+0x34a/0xf20 [ 12.846360][ C2] rcu_do_batch+0x34c/0xf20 [ 12.846366][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.846370][ C2] ? rcu_is_watching+0x12/0xc0 [ 12.846372][ C2] ? note_gp_changes+0x182/0x1e0 [ 12.846376][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.846382][ C2] rcu_core+0x2bb/0x500 [ 12.846386][ C2] handle_softirqs+0x218/0x620 [ 12.846390][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 12.846393][ C2] run_ksoftirqd+0x3f/0x70 [ 12.846396][ C2] smpboot_thread_fn+0x307/0x960 [ 12.846399][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 12.846403][ C2] kthread+0x37b/0x600 [ 12.846407][ C2] ? __pfx_kthread+0x10/0x10 [ 12.846410][ C2] ? ret_from_fork+0x1b/0x70 [ 12.846412][ C2] ? __lock_release+0x5d/0x170 [ 12.846415][ C2] ? rcu_is_watching+0x12/0xc0 [ 12.846418][ C2] ? __pfx_kthread+0x10/0x10 [ 12.846421][ C2] ret_from_fork+0x31/0x70 [ 12.846424][ C2] ? __pfx_kthread+0x10/0x10 [ 12.846427][ C2] ret_from_fork_asm+0x1a/0x30 [ 12.846434][ C2] [ 12.856389][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.856695][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 27, name: ksoftirqd/2 [ 12.857005][ C2] preempt_count: 100, expected: 0 [ 12.857193][ C2] RCU nest depth: 0, expected: 0 [ 12.857380][ C2] INFO: lockdep is turned off. [ 12.857559][ C2] Preemption disabled at: [ 12.857561][ C2] [] handle_softirqs+0xe5/0x620 [ 12.857930][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 12.857934][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.857935][ C2] Call Trace: [ 12.857937][ C2] [ 12.857939][ C2] dump_stack_lvl+0xb0/0xd0 [ 12.857945][ C2] __might_resched+0x360/0x5a0 [ 12.857952][ C2] down_write+0x72/0x210 [ 12.857956][ C2] ? __pfx_down_write+0x10/0x10 [ 12.857958][ C2] ? simple_recursive_removal+0x3a/0x860 [ 12.857963][ C2] ? rcu_is_watching+0x12/0xc0 [ 12.857967][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 12.857971][ C2] simple_recursive_removal+0x166/0x860 [ 12.857974][ C2] ? __pfx_remove_one+0x10/0x10 [ 12.857979][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 12.857983][ C2] debugfs_remove+0x44/0x70 [ 12.857987][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 12.857991][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.857995][ C2] ? __sk_destruct+0x383/0x780 [ 12.857999][ C2] ? rcu_do_batch+0x34c/0xf20 [ 12.858003][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.858006][ C2] ? smpboot_thread_fn+0x307/0x960 [ 12.858010][ C2] ? kthread+0x37b/0x600 [ 12.858014][ C2] ? ret_from_fork+0x31/0x70 [ 12.858017][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 12.858021][ C2] ? migrate_enable+0x1f2/0x270 [ 12.858025][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 12.858030][ C2] __put_net+0x19/0x60 [ 12.858032][ C2] __sk_destruct+0x58a/0x780 [ 12.858036][ C2] ? rcu_do_batch+0x34a/0xf20 [ 12.858039][ C2] rcu_do_batch+0x34c/0xf20 [ 12.858044][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.858049][ C2] ? rcu_is_watching+0x12/0xc0 [ 12.858051][ C2] ? note_gp_changes+0x182/0x1e0 [ 12.858055][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.858059][ C2] rcu_core+0x2bb/0x500 [ 12.858063][ C2] handle_softirqs+0x218/0x620 [ 12.858067][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 12.858070][ C2] run_ksoftirqd+0x3f/0x70 [ 12.858073][ C2] smpboot_thread_fn+0x307/0x960 [ 12.858076][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 12.858080][ C2] kthread+0x37b/0x600 [ 12.858084][ C2] ? __pfx_kthread+0x10/0x10 [ 12.858087][ C2] ? ret_from_fork+0x1b/0x70 [ 12.858089][ C2] ? __lock_release+0x5d/0x170 [ 12.858092][ C2] ? rcu_is_watching+0x12/0xc0 [ 12.858095][ C2] ? __pfx_kthread+0x10/0x10 [ 12.858099][ C2] ret_from_fork+0x31/0x70 [ 12.858101][ C2] ? __pfx_kthread+0x10/0x10 [ 12.858104][ C2] ret_from_fork_asm+0x1a/0x30 [ 12.858111][ C2]