[ 13.681971][ C3] [ 13.682140][ C3] ================================ [ 13.682368][ C3] WARNING: inconsistent lock state [ 13.682590][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 13.682813][ C3] -------------------------------- [ 13.683035][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.683308][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.683579][ C3] ffffffffb3bbf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.683973][ C3] {SOFTIRQ-ON-W} state was registered at: [ 13.684193][ C3] __lock_acquire+0x3eb/0x9d0 [ 13.684420][ C3] lock_acquire.part.0+0xb6/0x240 [ 13.684640][ C3] _raw_spin_lock+0x33/0x40 [ 13.684867][ C3] simple_pin_fs+0x24/0x150 [ 13.685089][ C3] start_creating.part.0+0x3f/0x2f0 [ 13.685323][ C3] debugfs_create_dir+0x6a/0x540 [ 13.685543][ C3] component_debug_init+0x17/0x30 [ 13.685772][ C3] do_one_initcall+0x8c/0x1e0 [ 13.685996][ C3] do_initcalls+0x176/0x280 [ 13.686219][ C3] kernel_init_freeable+0x22d/0x300 [ 13.686516][ C3] kernel_init+0x20/0x200 [ 13.686745][ C3] ret_from_fork+0x31/0x70 [ 13.686977][ C3] ret_from_fork_asm+0x1a/0x30 [ 13.687198][ C3] irq event stamp: 249542 [ 13.687372][ C3] hardirqs last enabled at (249542): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.687818][ C3] hardirqs last disabled at (249541): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.688273][ C3] softirqs last enabled at (248274): [] handle_softirqs+0x358/0x620 [ 13.688673][ C3] softirqs last disabled at (248311): [] __irq_exit_rcu+0xfa/0x160 [ 13.689072][ C3] [ 13.689072][ C3] other info that might help us debug this: [ 13.689410][ C3] Possible unsafe locking scenario: [ 13.689410][ C3] [ 13.689742][ C3] CPU0 [ 13.689909][ C3] ---- [ 13.690078][ C3] lock(pin_fs_lock); [ 13.690248][ C3] [ 13.690418][ C3] lock(pin_fs_lock); [ 13.690596][ C3] [ 13.690596][ C3] *** DEADLOCK *** [ 13.690596][ C3] [ 13.690923][ C3] 1 lock held by swapper/3/0: [ 13.691146][ C3] #0: ffffffffb3974480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.691546][ C3] [ 13.691546][ C3] stack backtrace: [ 13.691828][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.691833][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.691835][ C3] Call Trace: [ 13.691837][ C3] [ 13.691839][ C3] dump_stack_lvl+0x82/0xd0 [ 13.691845][ C3] print_usage_bug.part.0+0x25f/0x360 [ 13.691852][ C3] mark_lock_irq+0x343/0x400 [ 13.691858][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 13.691865][ C3] ? save_trace+0x52/0x170 [ 13.691873][ C3] mark_lock+0x174/0x2f0 [ 13.691877][ C3] mark_usage+0x46/0x150 [ 13.691880][ C3] __lock_acquire+0x3eb/0x9d0 [ 13.691884][ C3] lock_acquire.part.0+0xb6/0x240 [ 13.691887][ C3] ? simple_pin_fs+0x24/0x150 [ 13.691891][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.691894][ C3] ? lock_acquire+0x10c/0x170 [ 13.691896][ C3] ? simple_pin_fs+0x24/0x150 [ 13.691900][ C3] _raw_spin_lock+0x33/0x40 [ 13.691903][ C3] ? simple_pin_fs+0x24/0x150 [ 13.691905][ C3] simple_pin_fs+0x24/0x150 [ 13.691909][ C3] debugfs_remove+0x35/0x70 [ 13.691913][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 13.691918][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.691921][ C3] ? __sk_destruct+0x383/0x780 [ 13.691926][ C3] ? rcu_do_batch+0x34c/0xf20 [ 13.691930][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.691934][ C3] ? irq_exit_rcu+0xe/0x30 [ 13.691936][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.691940][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.691944][ C3] ? pv_native_safe_halt+0xf/0x20 [ 13.691947][ C3] ? default_idle+0x9/0x10 [ 13.691950][ C3] ? default_idle_call+0x6d/0xb0 [ 13.691952][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.691956][ C3] ? do_idle+0xf6/0x160 [ 13.691958][ C3] ? cpu_startup_entry+0x54/0x60 [ 13.691960][ C3] ? start_secondary+0x213/0x2a0 [ 13.691963][ C3] ? common_startup_64+0x13e/0x148 [ 13.691969][ C3] __put_net+0x19/0x60 [ 13.691973][ C3] __sk_destruct+0x58a/0x780 [ 13.691977][ C3] ? rcu_do_batch+0x34a/0xf20 [ 13.691980][ C3] rcu_do_batch+0x34c/0xf20 [ 13.691984][ C3] ? find_held_lock+0x2b/0x80 [ 13.691988][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.691992][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.691995][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.691998][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.692002][ C3] rcu_core+0x2bb/0x500 [ 13.692006][ C3] handle_softirqs+0x218/0x620 [ 13.692011][ C3] __irq_exit_rcu+0xfa/0x160 [ 13.692014][ C3] irq_exit_rcu+0xe/0x30 [ 13.692017][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.692020][ C3] [ 13.692021][ C3] [ 13.692022][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.692025][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.692029][ 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 [ 13.692032][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 13.692035][ C3] RAX: 000000000003c9f5 RBX: 1ffff9200002afc1 RCX: ffffffffb2968a19 [ 13.692038][ C3] RDX: 0000000000000000 RSI: ffffffffb34881e1 RDI: ffffffffb2c50e20 [ 13.692040][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb667a [ 13.692041][ C3] R10: ffff88802f5b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.692043][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 13.692047][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.692052][ C3] default_idle+0x9/0x10 [ 13.692055][ C3] default_idle_call+0x6d/0xb0 [ 13.692058][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 13.692061][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.692064][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.692068][ C3] do_idle+0xf6/0x160 [ 13.692071][ C3] cpu_startup_entry+0x54/0x60 [ 13.692074][ C3] start_secondary+0x213/0x2a0 [ 13.692076][ C3] ? __pfx_start_secondary+0x10/0x10 [ 13.692084][ C3] common_startup_64+0x13e/0x148 [ 13.692095][ C3] [ 13.710645][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.711116][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 13.711470][ C3] preempt_count: 101, expected: 0 [ 13.711685][ C3] RCU nest depth: 0, expected: 0 [ 13.712018][ C3] INFO: lockdep is turned off. [ 13.712230][ C3] Preemption disabled at: [ 13.712232][ C3] [<0000000000000000>] 0x0 [ 13.712717][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.712722][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.712724][ C3] Call Trace: [ 13.712726][ C3] [ 13.712729][ C3] dump_stack_lvl+0xb0/0xd0 [ 13.712737][ C3] __might_resched+0x360/0x5a0 [ 13.712744][ C3] down_write+0x72/0x210 [ 13.712747][ C3] ? __pfx_down_write+0x10/0x10 [ 13.712750][ C3] ? simple_recursive_removal+0x3a/0x860 [ 13.712755][ C3] ? rcu_is_watching+0x12/0xc0 [ 13.712759][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 13.712764][ C3] simple_recursive_removal+0x166/0x860 [ 13.712767][ C3] ? __pfx_remove_one+0x10/0x10 [ 13.712772][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 13.712776][ C3] debugfs_remove+0x44/0x70 [ 13.712779][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 13.712785][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.712789][ C3] ? __sk_destruct+0x383/0x780 [ 13.712793][ C3] ? rcu_do_batch+0x34c/0xf20 [ 13.712798][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.712801][ C3] ? irq_exit_rcu+0xe/0x30 [ 13.712805][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.712809][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.712813][ C3] ? pv_native_safe_halt+0xf/0x20 [ 13.712816][ C3] ? default_idle+0x9/0x10 [ 13.712819][ C3] ? default_idle_call+0x6d/0xb0 [ 13.712822][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.712825][ C3] ? do_idle+0xf6/0x160 [ 13.712827][ C3] ? cpu_startup_entry+0x54/0x60 [ 13.712829][ C3] ? start_secondary+0x213/0x2a0 [ 13.712832][ C3] ? common_startup_64+0x13e/0x148 [ 13.712838][ C3] __put_net+0x19/0x60 [ 13.712841][ C3] __sk_destruct+0x58a/0x780 [ 13.712845][ C3] ? rcu_do_batch+0x34a/0xf20 [ 13.712848][ C3] rcu_do_batch+0x34c/0xf20 [ 13.712852][ C3] ? find_held_lock+0x2b/0x80 [ 13.712857][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.712861][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.712865][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.712869][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.712873][ C3] rcu_core+0x2bb/0x500 [ 13.712876][ C3] handle_softirqs+0x218/0x620 [ 13.712881][ C3] __irq_exit_rcu+0xfa/0x160 [ 13.712884][ C3] irq_exit_rcu+0xe/0x30 [ 13.712886][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.712889][ C3] [ 13.712890][ C3] [ 13.712892][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.712894][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.712898][ 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 [ 13.712902][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 13.712907][ C3] RAX: 000000000003c9f5 RBX: 1ffff9200002afc1 RCX: ffffffffb2968a19 [ 13.712911][ C3] RDX: 0000000000000000 RSI: ffffffffb34881e1 RDI: ffffffffb2c50e20 [ 13.712916][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb667a [ 13.712919][ C3] R10: ffff88802f5b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.712922][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 13.712927][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.712932][ C3] default_idle+0x9/0x10 [ 13.712935][ C3] default_idle_call+0x6d/0xb0 [ 13.712937][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 13.712940][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.712944][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.712948][ C3] do_idle+0xf6/0x160 [ 13.712951][ C3] cpu_startup_entry+0x54/0x60 [ 13.712953][ C3] start_secondary+0x213/0x2a0 [ 13.712956][ C3] ? __pfx_start_secondary+0x10/0x10 [ 13.712960][ C3] common_startup_64+0x13e/0x148 [ 13.712967][ C3]