[ 1736.752101][ C2] [ 1736.752219][ C2] ================================ [ 1736.752394][ C2] WARNING: inconsistent lock state [ 1736.752569][ C2] 6.15.0-rc7-virtme #1 Not tainted [ 1736.752739][ C2] -------------------------------- [ 1736.752912][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 1736.753130][ C2] ksoftirqd/2/27 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 1736.753348][ C2] ffffffffb15d52b8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 1736.753659][ C2] {SOFTIRQ-ON-W} state was registered at: [ 1736.753831][ C2] __lock_acquire+0x3eb/0x9d0 [ 1736.754012][ C2] lock_acquire.part.0+0xb6/0x240 [ 1736.754188][ C2] _raw_spin_lock+0x33/0x40 [ 1736.754366][ C2] simple_pin_fs+0x24/0x150 [ 1736.754536][ C2] start_creating.part.0+0x3f/0x2f0 [ 1736.754721][ C2] debugfs_create_dir+0x6a/0x540 [ 1736.754895][ C2] component_debug_init+0x17/0x30 [ 1736.755071][ C2] do_one_initcall+0x8f/0x1e0 [ 1736.755246][ C2] do_initcalls+0x176/0x280 [ 1736.755420][ C2] kernel_init_freeable+0x22d/0x300 [ 1736.755590][ C2] kernel_init+0x20/0x200 [ 1736.755759][ C2] ret_from_fork+0x31/0x70 [ 1736.755937][ C2] ret_from_fork_asm+0x1a/0x30 [ 1736.756109][ C2] irq event stamp: 27266246 [ 1736.756285][ C2] hardirqs last enabled at (27266246): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1736.756627][ C2] hardirqs last disabled at (27266245): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 1736.756964][ C2] softirqs last enabled at (27266220): [] handle_softirqs+0x358/0x620 [ 1736.757273][ C2] softirqs last disabled at (27266225): [] run_ksoftirqd+0x3f/0x70 [ 1736.757572][ C2] [ 1736.757572][ C2] other info that might help us debug this: [ 1736.757822][ C2] Possible unsafe locking scenario: [ 1736.757822][ C2] [ 1736.758074][ C2] CPU0 [ 1736.758203][ C2] ---- [ 1736.758330][ C2] lock(pin_fs_lock); [ 1736.758460][ C2] [ 1736.758587][ C2] lock(pin_fs_lock); [ 1736.758719][ C2] [ 1736.758719][ C2] *** DEADLOCK *** [ 1736.758719][ C2] [ 1736.758969][ C2] 1 lock held by ksoftirqd/2/27: [ 1736.759142][ C2] #0: ffffffffb1388a40 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 1736.759451][ C2] [ 1736.759451][ C2] stack backtrace: [ 1736.759662][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 1736.759667][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1736.759670][ C2] Call Trace: [ 1736.759672][ C2] [ 1736.759674][ C2] dump_stack_lvl+0x82/0xd0 [ 1736.759681][ C2] print_usage_bug.part.0+0x25f/0x360 [ 1736.759686][ C2] mark_lock_irq+0x343/0x400 [ 1736.759691][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 1736.759699][ C2] ? save_trace+0x52/0x170 [ 1736.759704][ C2] mark_lock+0x174/0x2f0 [ 1736.759708][ C2] mark_usage+0x46/0x150 [ 1736.759711][ C2] __lock_acquire+0x3eb/0x9d0 [ 1736.759717][ C2] lock_acquire.part.0+0xb6/0x240 [ 1736.759720][ C2] ? simple_pin_fs+0x24/0x150 [ 1736.759724][ C2] ? rcu_is_watching+0x12/0xc0 [ 1736.759730][ C2] ? lock_acquire+0x10c/0x170 [ 1736.759733][ C2] ? simple_pin_fs+0x24/0x150 [ 1736.759736][ C2] _raw_spin_lock+0x33/0x40 [ 1736.759739][ C2] ? simple_pin_fs+0x24/0x150 [ 1736.759742][ C2] simple_pin_fs+0x24/0x150 [ 1736.759746][ C2] debugfs_remove+0x35/0x70 [ 1736.759749][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 1736.759756][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 1736.759759][ C2] ? __sk_destruct+0x383/0x780 [ 1736.759764][ C2] ? rcu_do_batch+0x34f/0xf20 [ 1736.759768][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1736.759770][ C2] ? smpboot_thread_fn+0x307/0x960 [ 1736.759776][ C2] ? kthread+0x37e/0x600 [ 1736.759780][ C2] ? ret_from_fork+0x31/0x70 [ 1736.759783][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 1736.759786][ C2] ? migrate_enable+0x1f2/0x270 [ 1736.759793][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 1736.759799][ C2] __put_net+0x19/0x60 [ 1736.759805][ C2] __sk_destruct+0x58a/0x780 [ 1736.759808][ C2] ? rcu_do_batch+0x34a/0xf20 [ 1736.759811][ C2] rcu_do_batch+0x34f/0xf20 [ 1736.759816][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 1736.759820][ C2] ? __lock_release+0x5d/0x170 [ 1736.759824][ C2] ? rcu_is_watching+0x12/0xc0 [ 1736.759827][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1736.759831][ C2] rcu_core+0x2bb/0x500 [ 1736.759836][ C2] handle_softirqs+0x21b/0x620 [ 1736.759840][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 1736.759845][ C2] run_ksoftirqd+0x3f/0x70 [ 1736.759848][ C2] smpboot_thread_fn+0x307/0x960 [ 1736.759852][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1736.759855][ C2] kthread+0x37e/0x600 [ 1736.759859][ C2] ? __pfx_kthread+0x10/0x10 [ 1736.759862][ C2] ? ret_from_fork+0x1b/0x70 [ 1736.759865][ C2] ? __lock_release+0x5d/0x170 [ 1736.759869][ C2] ? rcu_is_watching+0x12/0xc0 [ 1736.759872][ C2] ? __pfx_kthread+0x10/0x10 [ 1736.759876][ C2] ret_from_fork+0x31/0x70 [ 1736.759879][ C2] ? __pfx_kthread+0x10/0x10 [ 1736.759882][ C2] ret_from_fork_asm+0x1a/0x30 [ 1736.759889][ C2] [ 1736.769745][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 1736.770040][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 27, name: ksoftirqd/2 [ 1736.770340][ C2] preempt_count: 100, expected: 0 [ 1736.770518][ C2] RCU nest depth: 0, expected: 0 [ 1736.770698][ C2] INFO: lockdep is turned off. [ 1736.770883][ C2] Preemption disabled at: [ 1736.770885][ C2] [] handle_softirqs+0xe5/0x620 [ 1736.771244][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 1736.771248][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1736.771249][ C2] Call Trace: [ 1736.771251][ C2] [ 1736.771253][ C2] dump_stack_lvl+0xb0/0xd0 [ 1736.771258][ C2] __might_resched+0x360/0x5a0 [ 1736.771264][ C2] down_write+0x72/0x210 [ 1736.771270][ C2] ? __pfx_down_write+0x10/0x10 [ 1736.771273][ C2] ? simple_recursive_removal+0x3a/0x860 [ 1736.771277][ C2] ? rcu_is_watching+0x12/0xc0 [ 1736.771283][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 1736.771288][ C2] simple_recursive_removal+0x166/0x860 [ 1736.771292][ C2] ? __pfx_remove_one+0x10/0x10 [ 1736.771297][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 1736.771301][ C2] debugfs_remove+0x44/0x70 [ 1736.771305][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 1736.771309][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 1736.771311][ C2] ? __sk_destruct+0x383/0x780 [ 1736.771314][ C2] ? rcu_do_batch+0x34f/0xf20 [ 1736.771318][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 1736.771321][ C2] ? smpboot_thread_fn+0x307/0x960 [ 1736.771324][ C2] ? kthread+0x37e/0x600 [ 1736.771328][ C2] ? ret_from_fork+0x31/0x70 [ 1736.771331][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 1736.771335][ C2] ? migrate_enable+0x1f2/0x270 [ 1736.771340][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 1736.771346][ C2] __put_net+0x19/0x60 [ 1736.771350][ C2] __sk_destruct+0x58a/0x780 [ 1736.771353][ C2] ? rcu_do_batch+0x34a/0xf20 [ 1736.771356][ C2] rcu_do_batch+0x34f/0xf20 [ 1736.771361][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 1736.771365][ C2] ? __lock_release+0x5d/0x170 [ 1736.771369][ C2] ? rcu_is_watching+0x12/0xc0 [ 1736.771373][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 1736.771378][ C2] rcu_core+0x2bb/0x500 [ 1736.771382][ C2] handle_softirqs+0x21b/0x620 [ 1736.771386][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 1736.771391][ C2] run_ksoftirqd+0x3f/0x70 [ 1736.771394][ C2] smpboot_thread_fn+0x307/0x960 [ 1736.771397][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 1736.771401][ C2] kthread+0x37e/0x600 [ 1736.771404][ C2] ? __pfx_kthread+0x10/0x10 [ 1736.771407][ C2] ? ret_from_fork+0x1b/0x70 [ 1736.771410][ C2] ? __lock_release+0x5d/0x170 [ 1736.771414][ C2] ? rcu_is_watching+0x12/0xc0 [ 1736.771417][ C2] ? __pfx_kthread+0x10/0x10 [ 1736.771421][ C2] ret_from_fork+0x31/0x70 [ 1736.771424][ C2] ? __pfx_kthread+0x10/0x10 [ 1736.771427][ C2] ret_from_fork_asm+0x1a/0x30 [ 1736.771434][ C2]