[ 13.612482][ C1] [ 13.612628][ C1] ================================ [ 13.612818][ C1] WARNING: inconsistent lock state [ 13.613001][ C1] 6.15.0-rc5-virtme #1 Not tainted [ 13.613182][ C1] -------------------------------- [ 13.613366][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.613598][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.613833][ C1] ffffffff945bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.614161][ C1] {SOFTIRQ-ON-W} state was registered at: [ 13.614349][ C1] __lock_acquire+0x3eb/0x9d0 [ 13.614536][ C1] lock_acquire.part.0+0xb6/0x240 [ 13.614717][ C1] _raw_spin_lock+0x33/0x40 [ 13.614906][ C1] simple_pin_fs+0x24/0x150 [ 13.615134][ C1] start_creating.part.0+0x3f/0x2f0 [ 13.615317][ C1] debugfs_create_dir+0x6a/0x540 [ 13.615515][ C1] component_debug_init+0x17/0x30 [ 13.615714][ C1] do_one_initcall+0x8c/0x1e0 [ 13.615929][ C1] do_initcalls+0x176/0x280 [ 13.616114][ C1] kernel_init_freeable+0x22d/0x300 [ 13.616291][ C1] kernel_init+0x20/0x200 [ 13.616474][ C1] ret_from_fork+0x31/0x70 [ 13.616654][ C1] ret_from_fork_asm+0x1a/0x30 [ 13.616839][ C1] irq event stamp: 401654 [ 13.616988][ C1] hardirqs last enabled at (401654): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.617350][ C1] hardirqs last disabled at (401653): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.617708][ C1] softirqs last enabled at (400820): [] handle_softirqs+0x358/0x620 [ 13.618029][ C1] softirqs last disabled at (400839): [] __irq_exit_rcu+0xfa/0x160 [ 13.618351][ C1] [ 13.618351][ C1] other info that might help us debug this: [ 13.618617][ C1] Possible unsafe locking scenario: [ 13.618617][ C1] [ 13.618889][ C1] CPU0 [ 13.619024][ C1] ---- [ 13.619157][ C1] lock(pin_fs_lock); [ 13.619293][ C1] [ 13.619429][ C1] lock(pin_fs_lock); [ 13.619575][ C1] [ 13.619575][ C1] *** DEADLOCK *** [ 13.619575][ C1] [ 13.619843][ C1] 1 lock held by swapper/1/0: [ 13.620028][ C1] #0: ffffffff94374480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.620350][ C1] [ 13.620350][ C1] stack backtrace: [ 13.620572][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.620577][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.620580][ C1] Call Trace: [ 13.620582][ C1] [ 13.620585][ C1] dump_stack_lvl+0x82/0xd0 [ 13.620592][ C1] print_usage_bug.part.0+0x25f/0x360 [ 13.620596][ C1] mark_lock_irq+0x343/0x400 [ 13.620600][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 13.620605][ C1] ? save_trace+0x52/0x170 [ 13.620611][ C1] mark_lock+0x174/0x2f0 [ 13.620614][ C1] mark_usage+0x46/0x150 [ 13.620617][ C1] __lock_acquire+0x3eb/0x9d0 [ 13.620621][ C1] lock_acquire.part.0+0xb6/0x240 [ 13.620624][ C1] ? simple_pin_fs+0x24/0x150 [ 13.620628][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.620631][ C1] ? lock_acquire+0x10c/0x170 [ 13.620634][ C1] ? simple_pin_fs+0x24/0x150 [ 13.620638][ C1] _raw_spin_lock+0x33/0x40 [ 13.620641][ C1] ? simple_pin_fs+0x24/0x150 [ 13.620643][ C1] simple_pin_fs+0x24/0x150 [ 13.620646][ C1] debugfs_remove+0x35/0x70 [ 13.620650][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 13.620656][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.620660][ C1] ? __sk_destruct+0x383/0x780 [ 13.620666][ C1] ? rcu_do_batch+0x34c/0xf20 [ 13.620669][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.620673][ C1] ? irq_exit_rcu+0xe/0x30 [ 13.620675][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.620679][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.620684][ C1] ? pv_native_safe_halt+0xf/0x20 [ 13.620687][ C1] ? default_idle+0x9/0x10 [ 13.620690][ C1] ? default_idle_call+0x6d/0xb0 [ 13.620692][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.620696][ C1] ? do_idle+0xf6/0x160 [ 13.620698][ C1] ? cpu_startup_entry+0x54/0x60 [ 13.620700][ C1] ? start_secondary+0x213/0x2a0 [ 13.620703][ C1] ? common_startup_64+0x13e/0x148 [ 13.620711][ C1] __put_net+0x19/0x60 [ 13.620715][ C1] __sk_destruct+0x58a/0x780 [ 13.620718][ C1] ? rcu_do_batch+0x34a/0xf20 [ 13.620722][ C1] rcu_do_batch+0x34c/0xf20 [ 13.620726][ C1] ? find_held_lock+0x2b/0x80 [ 13.620731][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.620735][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.620738][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.620742][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.620746][ C1] rcu_core+0x2bb/0x500 [ 13.620750][ C1] handle_softirqs+0x218/0x620 [ 13.620755][ C1] __irq_exit_rcu+0xfa/0x160 [ 13.620758][ C1] irq_exit_rcu+0xe/0x30 [ 13.620760][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.620763][ C1] [ 13.620764][ C1] [ 13.620766][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.620769][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.620773][ C1] 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 [ 13.620776][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 13.620780][ C1] RAX: 0000000000061dc5 RBX: 1ffff92000026fc1 RCX: ffffffff93368a19 [ 13.620782][ C1] RDX: 0000000000000000 RSI: ffffffff93e881e1 RDI: ffffffff93650e20 [ 13.620784][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1667a [ 13.620786][ C1] R10: ffff8880360b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.620788][ C1] R13: ffff888001bb0040 R14: dffffc0000000000 R15: 0000000000000000 [ 13.620792][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.620797][ C1] default_idle+0x9/0x10 [ 13.620800][ C1] default_idle_call+0x6d/0xb0 [ 13.620802][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 13.620805][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.620809][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.620813][ C1] do_idle+0xf6/0x160 [ 13.620816][ C1] cpu_startup_entry+0x54/0x60 [ 13.620819][ C1] start_secondary+0x213/0x2a0 [ 13.620821][ C1] ? __pfx_start_secondary+0x10/0x10 [ 13.620826][ C1] common_startup_64+0x13e/0x148 [ 13.620832][ C1] [ 13.635299][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.635590][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 13.635986][ C1] preempt_count: 101, expected: 0 [ 13.636152][ C1] RCU nest depth: 0, expected: 0 [ 13.636316][ C1] INFO: lockdep is turned off. [ 13.636490][ C1] Preemption disabled at: [ 13.636491][ C1] [<0000000000000000>] 0x0 [ 13.636891][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.636896][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.636898][ C1] Call Trace: [ 13.636901][ C1] [ 13.636903][ C1] dump_stack_lvl+0xb0/0xd0 [ 13.636912][ C1] __might_resched+0x360/0x5a0 [ 13.636920][ C1] down_write+0x72/0x210 [ 13.636924][ C1] ? __pfx_down_write+0x10/0x10 [ 13.636926][ C1] ? simple_recursive_removal+0x3a/0x860 [ 13.636932][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.636938][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 13.636943][ C1] simple_recursive_removal+0x166/0x860 [ 13.636946][ C1] ? __pfx_remove_one+0x10/0x10 [ 13.636952][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 13.636957][ C1] debugfs_remove+0x44/0x70 [ 13.636960][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 13.636966][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.636970][ C1] ? __sk_destruct+0x383/0x780 [ 13.636976][ C1] ? rcu_do_batch+0x34c/0xf20 [ 13.636981][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.636984][ C1] ? irq_exit_rcu+0xe/0x30 [ 13.636989][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.636993][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.636996][ C1] ? pv_native_safe_halt+0xf/0x20 [ 13.636999][ C1] ? default_idle+0x9/0x10 [ 13.637003][ C1] ? default_idle_call+0x6d/0xb0 [ 13.637005][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.637008][ C1] ? do_idle+0xf6/0x160 [ 13.637010][ C1] ? cpu_startup_entry+0x54/0x60 [ 13.637012][ C1] ? start_secondary+0x213/0x2a0 [ 13.637015][ C1] ? common_startup_64+0x13e/0x148 [ 13.637022][ C1] __put_net+0x19/0x60 [ 13.637026][ C1] __sk_destruct+0x58a/0x780 [ 13.637030][ C1] ? rcu_do_batch+0x34a/0xf20 [ 13.637033][ C1] rcu_do_batch+0x34c/0xf20 [ 13.637037][ C1] ? find_held_lock+0x2b/0x80 [ 13.637043][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.637047][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.637051][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.637055][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.637059][ C1] rcu_core+0x2bb/0x500 [ 13.637063][ C1] handle_softirqs+0x218/0x620 [ 13.637068][ C1] __irq_exit_rcu+0xfa/0x160 [ 13.637071][ C1] irq_exit_rcu+0xe/0x30 [ 13.637073][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.637076][ C1] [ 13.637077][ C1] [ 13.637078][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.637081][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.637085][ C1] 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 [ 13.637087][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 13.637091][ C1] RAX: 0000000000061dc5 RBX: 1ffff92000026fc1 RCX: ffffffff93368a19 [ 13.637093][ C1] RDX: 0000000000000000 RSI: ffffffff93e881e1 RDI: ffffffff93650e20 [ 13.637095][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1667a [ 13.637096][ C1] R10: ffff8880360b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.637098][ C1] R13: ffff888001bb0040 R14: dffffc0000000000 R15: 0000000000000000 [ 13.637102][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.637107][ C1] default_idle+0x9/0x10 [ 13.637110][ C1] default_idle_call+0x6d/0xb0 [ 13.637112][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 13.637115][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.637118][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.637123][ C1] do_idle+0xf6/0x160 [ 13.637126][ C1] cpu_startup_entry+0x54/0x60 [ 13.637128][ C1] start_secondary+0x213/0x2a0 [ 13.637131][ C1] ? __pfx_start_secondary+0x10/0x10 [ 13.637135][ C1] common_startup_64+0x13e/0x148 [ 13.637142][ C1]