[ 14.968742][ C1] [ 14.968861][ C1] ================================ [ 14.969024][ C1] WARNING: inconsistent lock state [ 14.969190][ C1] 6.15.0-rc5-virtme #1 Not tainted [ 14.969353][ C1] -------------------------------- [ 14.969516][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.969723][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.969933][ C1] ffffffff867bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.970228][ C1] {SOFTIRQ-ON-W} state was registered at: [ 14.970389][ C1] __lock_acquire+0x3eb/0x9d0 [ 14.970560][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.970724][ C1] _raw_spin_lock+0x33/0x40 [ 14.970887][ C1] simple_pin_fs+0x24/0x150 [ 14.971049][ C1] start_creating.part.0+0x3f/0x2f0 [ 14.971213][ C1] debugfs_create_dir+0x6a/0x540 [ 14.971377][ C1] component_debug_init+0x17/0x30 [ 14.971543][ C1] do_one_initcall+0x8c/0x1e0 [ 14.971707][ C1] do_initcalls+0x176/0x280 [ 14.971875][ C1] kernel_init_freeable+0x22d/0x300 [ 14.972038][ C1] kernel_init+0x20/0x200 [ 14.972199][ C1] ret_from_fork+0x31/0x70 [ 14.972362][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.972523][ C1] irq event stamp: 245314 [ 14.972650][ C1] hardirqs last enabled at (245314): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.972972][ C1] hardirqs last disabled at (245313): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.973298][ C1] softirqs last enabled at (245254): [] handle_softirqs+0x358/0x620 [ 14.973583][ C1] softirqs last disabled at (245261): [] run_ksoftirqd+0x3f/0x70 [ 14.973867][ C1] [ 14.973867][ C1] other info that might help us debug this: [ 14.974109][ C1] Possible unsafe locking scenario: [ 14.974109][ C1] [ 14.974349][ C1] CPU0 [ 14.974470][ C1] ---- [ 14.974590][ C1] lock(pin_fs_lock); [ 14.974718][ C1] [ 14.974841][ C1] lock(pin_fs_lock); [ 14.974968][ C1] [ 14.974968][ C1] *** DEADLOCK *** [ 14.974968][ C1] [ 14.975206][ C1] 1 lock held by ksoftirqd/1/22: [ 14.975374][ C1] #0: ffffffff86574480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.975667][ C1] [ 14.975667][ C1] stack backtrace: [ 14.975877][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.975882][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.975883][ C1] Call Trace: [ 14.975885][ C1] [ 14.975888][ C1] dump_stack_lvl+0x82/0xd0 [ 14.975893][ C1] print_usage_bug.part.0+0x25f/0x360 [ 14.975898][ C1] mark_lock_irq+0x343/0x400 [ 14.975903][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.975909][ C1] ? save_trace+0x52/0x170 [ 14.975913][ C1] mark_lock+0x174/0x2f0 [ 14.975917][ C1] mark_usage+0x46/0x150 [ 14.975921][ C1] __lock_acquire+0x3eb/0x9d0 [ 14.975926][ C1] lock_acquire.part.0+0xb6/0x240 [ 14.975929][ C1] ? simple_pin_fs+0x24/0x150 [ 14.975933][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.975939][ C1] ? lock_acquire+0x10c/0x170 [ 14.975942][ C1] ? simple_pin_fs+0x24/0x150 [ 14.975946][ C1] _raw_spin_lock+0x33/0x40 [ 14.975949][ C1] ? simple_pin_fs+0x24/0x150 [ 14.975952][ C1] simple_pin_fs+0x24/0x150 [ 14.975956][ C1] debugfs_remove+0x35/0x70 [ 14.975959][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.975964][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.975967][ C1] ? __sk_destruct+0x383/0x780 [ 14.975972][ C1] ? rcu_do_batch+0x34c/0xf20 [ 14.975975][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.975977][ C1] ? smpboot_thread_fn+0x307/0x960 [ 14.975981][ C1] ? kthread+0x37b/0x600 [ 14.975984][ C1] ? ret_from_fork+0x31/0x70 [ 14.975988][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 14.975991][ C1] ? migrate_enable+0x1f2/0x270 [ 14.975994][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 14.976000][ C1] __put_net+0x19/0x60 [ 14.976003][ C1] __sk_destruct+0x58a/0x780 [ 14.976007][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.976010][ C1] rcu_do_batch+0x34c/0xf20 [ 14.976014][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.976018][ C1] ? __lock_release+0x5d/0x170 [ 14.976022][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.976025][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.976029][ C1] rcu_core+0x2bb/0x500 [ 14.976033][ C1] handle_softirqs+0x218/0x620 [ 14.976036][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.976039][ C1] run_ksoftirqd+0x3f/0x70 [ 14.976041][ C1] smpboot_thread_fn+0x307/0x960 [ 14.976045][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.976048][ C1] kthread+0x37b/0x600 [ 14.976051][ C1] ? __pfx_kthread+0x10/0x10 [ 14.976054][ C1] ? ret_from_fork+0x1b/0x70 [ 14.976057][ C1] ? __lock_release+0x5d/0x170 [ 14.976061][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.976064][ C1] ? __pfx_kthread+0x10/0x10 [ 14.976068][ C1] ret_from_fork+0x31/0x70 [ 14.976071][ C1] ? __pfx_kthread+0x10/0x10 [ 14.976074][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.976080][ C1] [ 14.985175][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.985443][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 14.985702][ C1] preempt_count: 100, expected: 0 [ 14.985858][ C1] RCU nest depth: 0, expected: 0 [ 14.986009][ C1] INFO: lockdep is turned off. [ 14.986158][ C1] Preemption disabled at: [ 14.986160][ C1] [] handle_softirqs+0xe5/0x620 [ 14.986467][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.986471][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.986472][ C1] Call Trace: [ 14.986474][ C1] [ 14.986475][ C1] dump_stack_lvl+0xb0/0xd0 [ 14.986480][ C1] __might_resched+0x360/0x5a0 [ 14.986485][ C1] down_write+0x72/0x210 [ 14.986488][ C1] ? __pfx_down_write+0x10/0x10 [ 14.986490][ C1] ? simple_recursive_removal+0x3a/0x860 [ 14.986494][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.986498][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.986502][ C1] simple_recursive_removal+0x166/0x860 [ 14.986504][ C1] ? __pfx_remove_one+0x10/0x10 [ 14.986507][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 14.986512][ C1] debugfs_remove+0x44/0x70 [ 14.986514][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 14.986518][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.986521][ C1] ? __sk_destruct+0x383/0x780 [ 14.986525][ C1] ? rcu_do_batch+0x34c/0xf20 [ 14.986528][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.986530][ C1] ? smpboot_thread_fn+0x307/0x960 [ 14.986533][ C1] ? kthread+0x37b/0x600 [ 14.986537][ C1] ? ret_from_fork+0x31/0x70 [ 14.986540][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 14.986544][ C1] ? migrate_enable+0x1f2/0x270 [ 14.986548][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 14.986553][ C1] __put_net+0x19/0x60 [ 14.986556][ C1] __sk_destruct+0x58a/0x780 [ 14.986560][ C1] ? rcu_do_batch+0x34a/0xf20 [ 14.986563][ C1] rcu_do_batch+0x34c/0xf20 [ 14.986568][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.986571][ C1] ? __lock_release+0x5d/0x170 [ 14.986575][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.986579][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.986583][ C1] rcu_core+0x2bb/0x500 [ 14.986586][ C1] handle_softirqs+0x218/0x620 [ 14.986589][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.986592][ C1] run_ksoftirqd+0x3f/0x70 [ 14.986595][ C1] smpboot_thread_fn+0x307/0x960 [ 14.986598][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.986601][ C1] kthread+0x37b/0x600 [ 14.986604][ C1] ? __pfx_kthread+0x10/0x10 [ 14.986607][ C1] ? ret_from_fork+0x1b/0x70 [ 14.986610][ C1] ? __lock_release+0x5d/0x170 [ 14.986614][ C1] ? rcu_is_watching+0x12/0xc0 [ 14.986618][ C1] ? __pfx_kthread+0x10/0x10 [ 14.986621][ C1] ret_from_fork+0x31/0x70 [ 14.986624][ C1] ? __pfx_kthread+0x10/0x10 [ 14.986627][ C1] ret_from_fork_asm+0x1a/0x30 [ 14.986633][ C1] [ 16.917448][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.917790][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 27, name: ksoftirqd/2 [ 16.918086][ C2] preempt_count: 100, expected: 0 [ 16.918264][ C2] RCU nest depth: 0, expected: 0 [ 16.918427][ C2] INFO: lockdep is turned off. [ 16.918592][ C2] Preemption disabled at: [ 16.918594][ C2] [] handle_softirqs+0xe5/0x620 [ 16.918929][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.918934][ C2] Tainted: [W]=WARN [ 16.918935][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.918937][ C2] Call Trace: [ 16.918939][ C2] [ 16.918941][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.918947][ C2] __might_resched+0x360/0x5a0 [ 16.918953][ C2] down_write+0x72/0x210 [ 16.918957][ C2] ? __pfx_down_write+0x10/0x10 [ 16.918960][ C2] ? simple_recursive_removal+0x3a/0x860 [ 16.918965][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.918970][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.918975][ C2] simple_recursive_removal+0x166/0x860 [ 16.918977][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.918982][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.918986][ C2] debugfs_remove+0x44/0x70 [ 16.918989][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.918994][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.918997][ C2] ? __sk_destruct+0x383/0x780 [ 16.919002][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.919006][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.919009][ C2] ? smpboot_thread_fn+0x307/0x960 [ 16.919012][ C2] ? kthread+0x37b/0x600 [ 16.919016][ C2] ? ret_from_fork+0x31/0x70 [ 16.919021][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 16.919026][ C2] ? migrate_enable+0x1f2/0x270 [ 16.919030][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 16.919034][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.919038][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.919043][ C2] __put_net+0x19/0x60 [ 16.919046][ C2] __sk_destruct+0x58a/0x780 [ 16.919049][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.919052][ C2] rcu_do_batch+0x34c/0xf20 [ 16.919057][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.919061][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.919064][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.919070][ C2] rcu_core+0x2bb/0x500 [ 16.919073][ C2] handle_softirqs+0x218/0x620 [ 16.919076][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 16.919079][ C2] run_ksoftirqd+0x3f/0x70 [ 16.919082][ C2] smpboot_thread_fn+0x307/0x960 [ 16.919085][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 16.919088][ C2] kthread+0x37b/0x600 [ 16.919091][ C2] ? __pfx_kthread+0x10/0x10 [ 16.919094][ C2] ? ret_from_fork+0x1b/0x70 [ 16.919097][ C2] ? __lock_release+0x5d/0x170 [ 16.919102][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.919105][ C2] ? __pfx_kthread+0x10/0x10 [ 16.919109][ C2] ret_from_fork+0x31/0x70 [ 16.919112][ C2] ? __pfx_kthread+0x10/0x10 [ 16.919115][ C2] ret_from_fork_asm+0x1a/0x30 [ 16.919122][ C2]