[ 511.992929][ C2] [ 511.993081][ C2] ================================ [ 511.993271][ C2] WARNING: inconsistent lock state [ 511.993459][ C2] 6.15.0-virtme #1 Not tainted [ 511.993646][ C2] -------------------------------- [ 511.993832][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 511.994084][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 511.994325][ C2] ffffffff9b5d0bb8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 511.994666][ C2] {SOFTIRQ-ON-W} state was registered at: [ 511.994858][ C2] __lock_acquire+0x20b/0x7e0 [ 511.995052][ C2] lock_acquire.part.0+0xb6/0x240 [ 511.995243][ C2] _raw_spin_lock+0x33/0x40 [ 511.995436][ C2] simple_pin_fs+0x24/0x150 [ 511.995622][ C2] start_creating.part.0+0x52/0x310 [ 511.995815][ C2] debugfs_create_dir+0x6a/0x570 [ 511.996005][ C2] component_debug_init+0x17/0x30 [ 511.996199][ C2] do_one_initcall+0x8f/0x1e0 [ 511.996391][ C2] do_initcalls+0x176/0x280 [ 511.996581][ C2] kernel_init_freeable+0x22d/0x300 [ 511.996770][ C2] kernel_init+0x20/0x200 [ 511.996957][ C2] ret_from_fork+0x240/0x320 [ 511.997147][ C2] ret_from_fork_asm+0x1a/0x30 [ 511.997334][ C2] irq event stamp: 8813920 [ 511.997521][ C2] hardirqs last enabled at (8813920): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 511.997902][ C2] hardirqs last disabled at (8813919): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 511.998274][ C2] softirqs last enabled at (8810592): [] handle_softirqs+0x358/0x620 [ 511.998614][ C2] softirqs last disabled at (8810635): [] __irq_exit_rcu+0xfa/0x160 [ 511.998942][ C2] [ 511.998942][ C2] other info that might help us debug this: [ 511.999219][ C2] Possible unsafe locking scenario: [ 511.999219][ C2] [ 511.999493][ C2] CPU0 [ 511.999633][ C2] ---- [ 511.999774][ C2] lock(pin_fs_lock); [ 511.999919][ C2] [ 512.000058][ C2] lock(pin_fs_lock); [ 512.000201][ C2] [ 512.000201][ C2] *** DEADLOCK *** [ 512.000201][ C2] [ 512.000479][ C2] 1 lock held by swapper/2/0: [ 512.000675][ C2] #0: ffffffff9b377c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 512.001038][ C2] [ 512.001038][ C2] stack backtrace: [ 512.001271][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 512.001276][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 512.001278][ C2] Call Trace: [ 512.001280][ C2] [ 512.001283][ C2] dump_stack_lvl+0x82/0xd0 [ 512.001290][ C2] print_usage_bug.part.0+0x25f/0x360 [ 512.001296][ C2] mark_lock_irq+0x343/0x400 [ 512.001300][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 512.001306][ C2] ? save_trace+0x52/0x170 [ 512.001311][ C2] mark_lock+0x174/0x2f0 [ 512.001315][ C2] mark_usage+0x46/0x150 [ 512.001319][ C2] __lock_acquire+0x20b/0x7e0 [ 512.001323][ C2] ? __lock_acquire+0x44d/0x7e0 [ 512.001327][ C2] lock_acquire.part.0+0xb6/0x240 [ 512.001331][ C2] ? simple_pin_fs+0x24/0x150 [ 512.001336][ C2] ? rcu_is_watching+0x12/0xc0 [ 512.001342][ C2] ? lock_acquire+0x10c/0x170 [ 512.001346][ C2] ? simple_pin_fs+0x24/0x150 [ 512.001350][ C2] _raw_spin_lock+0x33/0x40 [ 512.001354][ C2] ? simple_pin_fs+0x24/0x150 [ 512.001357][ C2] simple_pin_fs+0x24/0x150 [ 512.001361][ C2] debugfs_remove+0x35/0x70 [ 512.001364][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 512.001371][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 512.001374][ C2] ? __sk_destruct+0x383/0x780 [ 512.001382][ C2] ? rcu_do_batch+0x34f/0xf20 [ 512.001385][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 512.001389][ C2] ? irq_exit_rcu+0xe/0x30 [ 512.001391][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 512.001396][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 512.001400][ C2] ? pv_native_safe_halt+0xf/0x20 [ 512.001403][ C2] ? default_idle+0x9/0x10 [ 512.001405][ C2] ? default_idle_call+0x6d/0xb0 [ 512.001408][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 512.001412][ C2] ? do_idle+0xf6/0x160 [ 512.001415][ C2] ? cpu_startup_entry+0x54/0x60 [ 512.001418][ C2] ? start_secondary+0x213/0x2a0 [ 512.001423][ C2] ? common_startup_64+0x13e/0x148 [ 512.001430][ C2] __put_net+0x19/0x60 [ 512.001434][ C2] __sk_destruct+0x58a/0x780 [ 512.001438][ C2] ? rcu_do_batch+0x34a/0xf20 [ 512.001441][ C2] rcu_do_batch+0x34f/0xf20 [ 512.001445][ C2] ? find_held_lock+0x2b/0x80 [ 512.001449][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 512.001452][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 512.001456][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 512.001460][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 512.001464][ C2] rcu_core+0x2bb/0x500 [ 512.001469][ C2] handle_softirqs+0x21b/0x620 [ 512.001474][ C2] __irq_exit_rcu+0xfa/0x160 [ 512.001478][ C2] irq_exit_rcu+0xe/0x30 [ 512.001480][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 512.001484][ C2] [ 512.001485][ C2] [ 512.001487][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 512.001490][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 512.001494][ C2] Code: e2 ce 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 83 07 28 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 512.001497][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 512.001500][ C2] RAX: 0000000000867089 RBX: 1ffff92000028fc1 RCX: ffffffff9a2135d9 [ 512.001502][ C2] RDX: 0000000000000000 RSI: ffffffff9aea61cd RDI: ffffffff9a658be0 [ 512.001504][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 512.001506][ C2] R10: ffff8880361337d3 R11: ffffffff9b011288 R12: 0000000000000000 [ 512.001508][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 512.001511][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 512.001516][ C2] default_idle+0x9/0x10 [ 512.001519][ C2] default_idle_call+0x6d/0xb0 [ 512.001521][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 512.001525][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 512.001529][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 512.001534][ C2] do_idle+0xf6/0x160 [ 512.001538][ C2] cpu_startup_entry+0x54/0x60 [ 512.001542][ C2] start_secondary+0x213/0x2a0 [ 512.001545][ C2] ? __pfx_start_secondary+0x10/0x10 [ 512.001550][ C2] common_startup_64+0x13e/0x148 [ 512.001556][ C2] [ 512.018863][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 512.019319][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 512.019658][ C2] preempt_count: 101, expected: 0 [ 512.019858][ C2] RCU nest depth: 0, expected: 0 [ 512.020181][ C2] INFO: lockdep is turned off. [ 512.020380][ C2] Preemption disabled at: [ 512.020382][ C2] [<0000000000000000>] 0x0 [ 512.020736][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 512.020741][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 512.020743][ C2] Call Trace: [ 512.020745][ C2] [ 512.020748][ C2] dump_stack_lvl+0xb0/0xd0 [ 512.020762][ C2] __might_resched+0x360/0x5a0 [ 512.020769][ C2] down_write+0x72/0x210 [ 512.020775][ C2] ? __pfx_down_write+0x10/0x10 [ 512.020777][ C2] ? simple_recursive_removal+0x33/0x610 [ 512.020782][ C2] ? rcu_is_watching+0x12/0xc0 [ 512.020790][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 512.020795][ C2] simple_recursive_removal+0x6a/0x610 [ 512.020798][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 512.020800][ C2] ? __pfx_remove_one+0x10/0x10 [ 512.020808][ C2] debugfs_remove+0x44/0x70 [ 512.020810][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 512.020817][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 512.020821][ C2] ? __sk_destruct+0x383/0x780 [ 512.020827][ C2] ? rcu_do_batch+0x34f/0xf20 [ 512.020831][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 512.020835][ C2] ? irq_exit_rcu+0xe/0x30 [ 512.020838][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 512.020843][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 512.020847][ C2] ? pv_native_safe_halt+0xf/0x20 [ 512.020851][ C2] ? default_idle+0x9/0x10 [ 512.020854][ C2] ? default_idle_call+0x6d/0xb0 [ 512.020856][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 512.020862][ C2] ? do_idle+0xf6/0x160 [ 512.020864][ C2] ? cpu_startup_entry+0x54/0x60 [ 512.020867][ C2] ? start_secondary+0x213/0x2a0 [ 512.020872][ C2] ? common_startup_64+0x13e/0x148 [ 512.020878][ C2] __put_net+0x19/0x60 [ 512.020882][ C2] __sk_destruct+0x58a/0x780 [ 512.020886][ C2] ? rcu_do_batch+0x34a/0xf20 [ 512.020889][ C2] rcu_do_batch+0x34f/0xf20 [ 512.020893][ C2] ? find_held_lock+0x2b/0x80 [ 512.020898][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 512.020902][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 512.020907][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 512.020912][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 512.020916][ C2] rcu_core+0x2bb/0x500 [ 512.020920][ C2] handle_softirqs+0x21b/0x620 [ 512.020928][ C2] __irq_exit_rcu+0xfa/0x160 [ 512.020931][ C2] irq_exit_rcu+0xe/0x30 [ 512.020934][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 512.020937][ C2] [ 512.020938][ C2] [ 512.020939][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 512.020942][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 512.020946][ C2] Code: e2 ce 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 83 07 28 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 512.020949][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 512.020954][ C2] RAX: 0000000000867089 RBX: 1ffff92000028fc1 RCX: ffffffff9a2135d9 [ 512.020956][ C2] RDX: 0000000000000000 RSI: ffffffff9aea61cd RDI: ffffffff9a658be0 [ 512.020958][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 512.020960][ C2] R10: ffff8880361337d3 R11: ffffffff9b011288 R12: 0000000000000000 [ 512.020962][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 512.020966][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 512.020970][ C2] default_idle+0x9/0x10 [ 512.020973][ C2] default_idle_call+0x6d/0xb0 [ 512.020975][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 512.020979][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 512.020983][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 512.020988][ C2] do_idle+0xf6/0x160 [ 512.020992][ C2] cpu_startup_entry+0x54/0x60 [ 512.020996][ C2] start_secondary+0x213/0x2a0 [ 512.020999][ C2] ? __pfx_start_secondary+0x10/0x10 [ 512.021004][ C2] common_startup_64+0x13e/0x148 [ 512.021010][ C2]