[ 14.884513][ C3] [ 14.884685][ C3] ================================ [ 14.884879][ C3] WARNING: inconsistent lock state [ 14.885094][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 14.885282][ C3] -------------------------------- [ 14.885465][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.885698][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.885934][ C3] ffffffff867bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.886282][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.886474][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.886673][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.886864][ C3] _raw_spin_lock+0x33/0x40 [ 14.887075][ C3] simple_pin_fs+0x24/0x150 [ 14.887270][ C3] start_creating.part.0+0x3f/0x2f0 [ 14.887470][ C3] debugfs_create_dir+0x6a/0x540 [ 14.887669][ C3] component_debug_init+0x17/0x30 [ 14.887870][ C3] do_one_initcall+0x8c/0x1e0 [ 14.888102][ C3] do_initcalls+0x176/0x280 [ 14.888346][ C3] kernel_init_freeable+0x22d/0x300 [ 14.888554][ C3] kernel_init+0x20/0x200 [ 14.888755][ C3] ret_from_fork+0x31/0x70 [ 14.888957][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.889167][ C3] irq event stamp: 253816 [ 14.889323][ C3] hardirqs last enabled at (253816): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.889731][ C3] hardirqs last disabled at (253815): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.890220][ C3] softirqs last enabled at (253376): [] handle_softirqs+0x358/0x620 [ 14.890641][ C3] softirqs last disabled at (253395): [] __irq_exit_rcu+0xfa/0x160 [ 14.891099][ C3] [ 14.891099][ C3] other info that might help us debug this: [ 14.891408][ C3] Possible unsafe locking scenario: [ 14.891408][ C3] [ 14.891707][ C3] CPU0 [ 14.891874][ C3] ---- [ 14.892088][ C3] lock(pin_fs_lock); [ 14.892331][ C3] [ 14.892586][ C3] lock(pin_fs_lock); [ 14.892840][ C3] [ 14.892840][ C3] *** DEADLOCK *** [ 14.892840][ C3] [ 14.893340][ C3] 1 lock held by swapper/3/0: [ 14.893693][ C3] #0: ffffffff86574480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.894283][ C3] [ 14.894283][ C3] stack backtrace: [ 14.894695][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.894704][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.894708][ C3] Call Trace: [ 14.894711][ C3] [ 14.894716][ C3] dump_stack_lvl+0x82/0xd0 [ 14.894727][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.894736][ C3] mark_lock_irq+0x343/0x400 [ 14.894743][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.894752][ C3] ? save_trace+0x52/0x170 [ 14.894762][ C3] mark_lock+0x174/0x2f0 [ 14.894768][ C3] mark_usage+0x46/0x150 [ 14.894774][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.894782][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.894788][ C3] ? simple_pin_fs+0x24/0x150 [ 14.894796][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.894802][ C3] ? lock_acquire+0x10c/0x170 [ 14.894806][ C3] ? simple_pin_fs+0x24/0x150 [ 14.894813][ C3] _raw_spin_lock+0x33/0x40 [ 14.894820][ C3] ? simple_pin_fs+0x24/0x150 [ 14.894825][ C3] simple_pin_fs+0x24/0x150 [ 14.894830][ C3] debugfs_remove+0x35/0x70 [ 14.894839][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.894848][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.894854][ C3] ? __sk_destruct+0x383/0x780 [ 14.894862][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.894870][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.894875][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.894881][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.894888][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.894894][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.894899][ C3] ? default_idle+0x9/0x10 [ 14.894904][ C3] ? default_idle_call+0x6d/0xb0 [ 14.894909][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.894914][ C3] ? do_idle+0xf6/0x160 [ 14.894917][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.894921][ C3] ? start_secondary+0x213/0x2a0 [ 14.894927][ C3] ? common_startup_64+0x13e/0x148 [ 14.894938][ C3] __put_net+0x19/0x60 [ 14.894945][ C3] __sk_destruct+0x58a/0x780 [ 14.894952][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.894957][ C3] rcu_do_batch+0x34c/0xf20 [ 14.894965][ C3] ? find_held_lock+0x2b/0x80 [ 14.894972][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.894978][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.894983][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.894988][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.894995][ C3] rcu_core+0x2bb/0x500 [ 14.895002][ C3] handle_softirqs+0x218/0x620 [ 14.895010][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.895015][ C3] irq_exit_rcu+0xe/0x30 [ 14.895020][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.895026][ C3] [ 14.895028][ C3] [ 14.895031][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.895036][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.895043][ C3] Code: a0 b7 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d a3 a0 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.895048][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.895053][ C3] RAX: 000000000003ddd1 RBX: 1ffff9200002afc1 RCX: ffffffff85568a19 [ 14.895057][ C3] RDX: 0000000000000000 RSI: ffffffff860881e1 RDI: ffffffff85850e20 [ 14.895061][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.895064][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.895068][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.895075][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.895084][ C3] default_idle+0x9/0x10 [ 14.895089][ C3] default_idle_call+0x6d/0xb0 [ 14.895093][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.895099][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.895105][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.895113][ C3] do_idle+0xf6/0x160 [ 14.895119][ C3] cpu_startup_entry+0x54/0x60 [ 14.895124][ C3] start_secondary+0x213/0x2a0 [ 14.895129][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.895137][ C3] common_startup_64+0x13e/0x148 [ 14.895149][ C3] [ 14.912925][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.913298][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.913646][ C3] preempt_count: 101, expected: 0 [ 14.913838][ C3] RCU nest depth: 0, expected: 0 [ 14.914076][ C3] INFO: lockdep is turned off. [ 14.914275][ C3] Preemption disabled at: [ 14.914277][ C3] [<0000000000000000>] 0x0 [ 14.914622][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.914628][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.914631][ C3] Call Trace: [ 14.914633][ C3] [ 14.914637][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.914649][ C3] __might_resched+0x360/0x5a0 [ 14.914658][ C3] down_write+0x72/0x210 [ 14.914662][ C3] ? __pfx_down_write+0x10/0x10 [ 14.914665][ C3] ? simple_recursive_removal+0x3a/0x860 [ 14.914672][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.914678][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.914684][ C3] simple_recursive_removal+0x166/0x860 [ 14.914687][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.914694][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.914699][ C3] debugfs_remove+0x44/0x70 [ 14.914702][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.914709][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.914713][ C3] ? __sk_destruct+0x383/0x780 [ 14.914720][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.914725][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.914729][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.914735][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.914741][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.914746][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.914749][ C3] ? default_idle+0x9/0x10 [ 14.914753][ C3] ? default_idle_call+0x6d/0xb0 [ 14.914755][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.914759][ C3] ? do_idle+0xf6/0x160 [ 14.914761][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.914764][ C3] ? start_secondary+0x213/0x2a0 [ 14.914768][ C3] ? common_startup_64+0x13e/0x148 [ 14.914775][ C3] __put_net+0x19/0x60 [ 14.914780][ C3] __sk_destruct+0x58a/0x780 [ 14.914784][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.914788][ C3] rcu_do_batch+0x34c/0xf20 [ 14.914792][ C3] ? find_held_lock+0x2b/0x80 [ 14.914798][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.914802][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.914808][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.914811][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.914816][ C3] rcu_core+0x2bb/0x500 [ 14.914820][ C3] handle_softirqs+0x218/0x620 [ 14.914825][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.914828][ C3] irq_exit_rcu+0xe/0x30 [ 14.914830][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.914833][ C3] [ 14.914835][ C3] [ 14.914836][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.914839][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.914843][ C3] Code: a0 b7 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d a3 a0 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.914847][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.914851][ C3] RAX: 000000000003ddd1 RBX: 1ffff9200002afc1 RCX: ffffffff85568a19 [ 14.914854][ C3] RDX: 0000000000000000 RSI: ffffffff860881e1 RDI: ffffffff85850e20 [ 14.914856][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.914858][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.914860][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.914864][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.914869][ C3] default_idle+0x9/0x10 [ 14.914873][ C3] default_idle_call+0x6d/0xb0 [ 14.914875][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.914878][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.914881][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.914886][ C3] do_idle+0xf6/0x160 [ 14.914889][ C3] cpu_startup_entry+0x54/0x60 [ 14.914892][ C3] start_secondary+0x213/0x2a0 [ 14.914894][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.914899][ C3] common_startup_64+0x13e/0x148 [ 14.914906][ C3]