[ 13.719939][ C1] [ 13.720079][ C1] ================================ [ 13.720267][ C1] WARNING: inconsistent lock state [ 13.720452][ C1] 6.15.0-rc7-virtme #1 Not tainted [ 13.720642][ C1] -------------------------------- [ 13.720825][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.721058][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.721289][ C1] ffffffff87dbff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.721621][ C1] {SOFTIRQ-ON-W} state was registered at: [ 13.721807][ C1] __lock_acquire+0x3eb/0x9d0 [ 13.722000][ C1] lock_acquire.part.0+0xb6/0x240 [ 13.722185][ C1] _raw_spin_lock+0x33/0x40 [ 13.722373][ C1] simple_pin_fs+0x24/0x150 [ 13.722560][ C1] start_creating.part.0+0x3f/0x2f0 [ 13.722759][ C1] debugfs_create_dir+0x6a/0x540 [ 13.722951][ C1] component_debug_init+0x17/0x30 [ 13.723144][ C1] do_one_initcall+0x8f/0x1e0 [ 13.723332][ C1] do_initcalls+0x176/0x280 [ 13.723517][ C1] kernel_init_freeable+0x22d/0x300 [ 13.723703][ C1] kernel_init+0x20/0x200 [ 13.723891][ C1] ret_from_fork+0x31/0x70 [ 13.724078][ C1] ret_from_fork_asm+0x1a/0x30 [ 13.724265][ C1] irq event stamp: 218796 [ 13.724405][ C1] hardirqs last enabled at (218796): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.724778][ C1] hardirqs last disabled at (218795): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.725154][ C1] softirqs last enabled at (218310): [] handle_softirqs+0x358/0x620 [ 13.725485][ C1] softirqs last disabled at (218315): [] run_ksoftirqd+0x3f/0x70 [ 13.725809][ C1] [ 13.725809][ C1] other info that might help us debug this: [ 13.726087][ C1] Possible unsafe locking scenario: [ 13.726087][ C1] [ 13.726364][ C1] CPU0 [ 13.726505][ C1] ---- [ 13.726645][ C1] lock(pin_fs_lock); [ 13.726788][ C1] [ 13.726925][ C1] lock(pin_fs_lock); [ 13.727068][ C1] [ 13.727068][ C1] *** DEADLOCK *** [ 13.727068][ C1] [ 13.727347][ C1] 1 lock held by ksoftirqd/1/22: [ 13.727524][ C1] #0: ffffffff87b749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.727840][ C1] [ 13.727840][ C1] stack backtrace: [ 13.728074][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 13.728080][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.728082][ C1] Call Trace: [ 13.728083][ C1] [ 13.728086][ C1] dump_stack_lvl+0x82/0xd0 [ 13.728092][ C1] print_usage_bug.part.0+0x25f/0x360 [ 13.728097][ C1] mark_lock_irq+0x343/0x400 [ 13.728101][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 13.728106][ C1] ? save_trace+0x52/0x170 [ 13.728111][ C1] mark_lock+0x174/0x2f0 [ 13.728115][ C1] mark_usage+0x46/0x150 [ 13.728118][ C1] __lock_acquire+0x3eb/0x9d0 [ 13.728122][ C1] lock_acquire.part.0+0xb6/0x240 [ 13.728125][ C1] ? simple_pin_fs+0x24/0x150 [ 13.728129][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.728132][ C1] ? lock_acquire+0x10c/0x170 [ 13.728134][ C1] ? simple_pin_fs+0x24/0x150 [ 13.728138][ C1] _raw_spin_lock+0x33/0x40 [ 13.728141][ C1] ? simple_pin_fs+0x24/0x150 [ 13.728144][ C1] simple_pin_fs+0x24/0x150 [ 13.728147][ C1] debugfs_remove+0x35/0x70 [ 13.728150][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 13.728156][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.728160][ C1] ? __sk_destruct+0x383/0x780 [ 13.728164][ C1] ? rcu_do_batch+0x34f/0xf20 [ 13.728168][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.728171][ C1] ? smpboot_thread_fn+0x307/0x960 [ 13.728177][ C1] ? kthread+0x37b/0x600 [ 13.728181][ C1] ? ret_from_fork+0x31/0x70 [ 13.728184][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 13.728187][ C1] ? migrate_enable+0x1f2/0x270 [ 13.728191][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 13.728196][ C1] __put_net+0x19/0x60 [ 13.728200][ C1] __sk_destruct+0x58a/0x780 [ 13.728204][ C1] ? rcu_do_batch+0x34a/0xf20 [ 13.728207][ C1] rcu_do_batch+0x34f/0xf20 [ 13.728213][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.728217][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.728220][ C1] ? note_gp_changes+0x182/0x1e0 [ 13.728222][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.728228][ C1] rcu_core+0x2bb/0x500 [ 13.728232][ C1] handle_softirqs+0x218/0x620 [ 13.728236][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.728240][ C1] run_ksoftirqd+0x3f/0x70 [ 13.728242][ C1] smpboot_thread_fn+0x307/0x960 [ 13.728246][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.728250][ C1] kthread+0x37b/0x600 [ 13.728254][ C1] ? __pfx_kthread+0x10/0x10 [ 13.728257][ C1] ? ret_from_fork+0x1b/0x70 [ 13.728259][ C1] ? __lock_release+0x5d/0x170 [ 13.728262][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.728265][ C1] ? __pfx_kthread+0x10/0x10 [ 13.728269][ C1] ret_from_fork+0x31/0x70 [ 13.728271][ C1] ? __pfx_kthread+0x10/0x10 [ 13.728275][ C1] ret_from_fork_asm+0x1a/0x30 [ 13.728282][ C1] [ 13.738619][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.738924][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 13.739224][ C1] preempt_count: 100, expected: 0 [ 13.739397][ C1] RCU nest depth: 0, expected: 0 [ 13.739577][ C1] INFO: lockdep is turned off. [ 13.739757][ C1] Preemption disabled at: [ 13.739759][ C1] [] handle_softirqs+0xe5/0x620 [ 13.740118][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 13.740122][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.740124][ C1] Call Trace: [ 13.740126][ C1] [ 13.740129][ C1] dump_stack_lvl+0xb0/0xd0 [ 13.740136][ C1] __might_resched+0x360/0x5a0 [ 13.740143][ C1] down_write+0x72/0x210 [ 13.740147][ C1] ? __pfx_down_write+0x10/0x10 [ 13.740149][ C1] ? simple_recursive_removal+0x3a/0x860 [ 13.740153][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.740158][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 13.740163][ C1] simple_recursive_removal+0x166/0x860 [ 13.740166][ C1] ? __pfx_remove_one+0x10/0x10 [ 13.740171][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 13.740175][ C1] debugfs_remove+0x44/0x70 [ 13.740179][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 13.740184][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.740188][ C1] ? __sk_destruct+0x383/0x780 [ 13.740192][ C1] ? rcu_do_batch+0x34f/0xf20 [ 13.740197][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.740200][ C1] ? smpboot_thread_fn+0x307/0x960 [ 13.740205][ C1] ? kthread+0x37b/0x600 [ 13.740209][ C1] ? ret_from_fork+0x31/0x70 [ 13.740213][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 13.740218][ C1] ? migrate_enable+0x1f2/0x270 [ 13.740221][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 13.740226][ C1] __put_net+0x19/0x60 [ 13.740230][ C1] __sk_destruct+0x58a/0x780 [ 13.740234][ C1] ? rcu_do_batch+0x34a/0xf20 [ 13.740237][ C1] rcu_do_batch+0x34f/0xf20 [ 13.740243][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.740247][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.740250][ C1] ? note_gp_changes+0x182/0x1e0 [ 13.740252][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.740257][ C1] rcu_core+0x2bb/0x500 [ 13.740261][ C1] handle_softirqs+0x218/0x620 [ 13.740265][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.740269][ C1] run_ksoftirqd+0x3f/0x70 [ 13.740271][ C1] smpboot_thread_fn+0x307/0x960 [ 13.740275][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.740279][ C1] kthread+0x37b/0x600 [ 13.740283][ C1] ? __pfx_kthread+0x10/0x10 [ 13.740286][ C1] ? ret_from_fork+0x1b/0x70 [ 13.740288][ C1] ? __lock_release+0x5d/0x170 [ 13.740292][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.740294][ C1] ? __pfx_kthread+0x10/0x10 [ 13.740298][ C1] ret_from_fork+0x31/0x70 [ 13.740301][ C1] ? __pfx_kthread+0x10/0x10 [ 13.740304][ C1] ret_from_fork_asm+0x1a/0x30 [ 13.740311][ C1]