[ 13.858220][ C0] [ 13.858392][ C0] ================================ [ 13.858615][ C0] WARNING: inconsistent lock state [ 13.858844][ C0] 6.15.0-rc5-virtme #1 Not tainted [ 13.859061][ C0] -------------------------------- [ 13.859279][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.859547][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.859822][ C0] ffffffffa21bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.860225][ C0] {SOFTIRQ-ON-W} state was registered at: [ 13.860448][ C0] __lock_acquire+0x3eb/0x9d0 [ 13.860671][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.860909][ C0] _raw_spin_lock+0x33/0x40 [ 13.861123][ C0] simple_pin_fs+0x24/0x150 [ 13.861340][ C0] start_creating.part.0+0x3f/0x2f0 [ 13.861555][ C0] debugfs_create_dir+0x6a/0x540 [ 13.861763][ C0] component_debug_init+0x17/0x30 [ 13.861977][ C0] do_one_initcall+0x8c/0x1e0 [ 13.862194][ C0] do_initcalls+0x176/0x280 [ 13.862404][ C0] kernel_init_freeable+0x22d/0x300 [ 13.862610][ C0] kernel_init+0x20/0x200 [ 13.862819][ C0] ret_from_fork+0x31/0x70 [ 13.863042][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.863257][ C0] irq event stamp: 438932 [ 13.863417][ C0] hardirqs last enabled at (438932): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.863848][ C0] hardirqs last disabled at (438931): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.864330][ C0] softirqs last enabled at (437456): [] handle_softirqs+0x358/0x620 [ 13.864721][ C0] softirqs last disabled at (437475): [] __irq_exit_rcu+0xfa/0x160 [ 13.865125][ C0] [ 13.865125][ C0] other info that might help us debug this: [ 13.865454][ C0] Possible unsafe locking scenario: [ 13.865454][ C0] [ 13.865801][ C0] CPU0 [ 13.865968][ C0] ---- [ 13.866136][ C0] lock(pin_fs_lock); [ 13.866321][ C0] [ 13.866490][ C0] lock(pin_fs_lock); [ 13.866661][ C0] [ 13.866661][ C0] *** DEADLOCK *** [ 13.866661][ C0] [ 13.867009][ C0] 1 lock held by swapper/0/0: [ 13.867240][ C0] #0: ffffffffa1f74480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.867659][ C0] [ 13.867659][ C0] stack backtrace: [ 13.867962][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.867967][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.867970][ C0] Call Trace: [ 13.867972][ C0] [ 13.867974][ C0] dump_stack_lvl+0x82/0xd0 [ 13.867983][ C0] print_usage_bug.part.0+0x25f/0x360 [ 13.867988][ C0] mark_lock_irq+0x343/0x400 [ 13.867992][ C0] ? is_bpf_text_address+0x67/0x120 [ 13.867996][ C0] ? __lock_release+0x5d/0x170 [ 13.868000][ C0] ? save_trace+0x52/0x170 [ 13.868007][ C0] mark_lock+0x174/0x2f0 [ 13.868010][ C0] mark_usage+0x46/0x150 [ 13.868013][ C0] __lock_acquire+0x3eb/0x9d0 [ 13.868018][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.868020][ C0] ? simple_pin_fs+0x24/0x150 [ 13.868025][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.868028][ C0] ? lock_acquire+0x10c/0x170 [ 13.868031][ C0] ? simple_pin_fs+0x24/0x150 [ 13.868035][ C0] _raw_spin_lock+0x33/0x40 [ 13.868040][ C0] ? simple_pin_fs+0x24/0x150 [ 13.868042][ C0] simple_pin_fs+0x24/0x150 [ 13.868045][ C0] debugfs_remove+0x35/0x70 [ 13.868050][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.868057][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.868060][ C0] ? __sk_destruct+0x383/0x780 [ 13.868067][ C0] ? rcu_do_batch+0x34c/0xf20 [ 13.868070][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.868074][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.868078][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.868083][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.868087][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.868090][ C0] ? default_idle+0x9/0x10 [ 13.868094][ C0] ? default_idle_call+0x6d/0xb0 [ 13.868096][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.868100][ C0] ? do_idle+0xf6/0x160 [ 13.868102][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.868104][ C0] ? rest_init+0x14b/0x260 [ 13.868107][ C0] ? start_kernel+0x350/0x410 [ 13.868114][ C0] __put_net+0x19/0x60 [ 13.868119][ C0] __sk_destruct+0x58a/0x780 [ 13.868122][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.868125][ C0] rcu_do_batch+0x34c/0xf20 [ 13.868130][ C0] ? find_held_lock+0x2b/0x80 [ 13.868134][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.868138][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.868141][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.868145][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.868149][ C0] rcu_core+0x2bb/0x500 [ 13.868154][ C0] handle_softirqs+0x218/0x620 [ 13.868159][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.868161][ C0] irq_exit_rcu+0xe/0x30 [ 13.868164][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.868167][ C0] [ 13.868168][ C0] [ 13.868170][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.868173][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.868177][ C0] 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.868180][ C0] RSP: 0018:ffffffffa1c07df8 EFLAGS: 00000246 [ 13.868184][ C0] RAX: 000000000006ace1 RBX: 1ffffffff4380fc3 RCX: ffffffffa0f68a19 [ 13.868186][ C0] RDX: 0000000000000000 RSI: ffffffffa1a881e1 RDI: ffffffffa1250e20 [ 13.868188][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 13.868190][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.868191][ C0] R13: ffffffffa1c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.868195][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.868201][ C0] default_idle+0x9/0x10 [ 13.868204][ C0] default_idle_call+0x6d/0xb0 [ 13.868206][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.868209][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.868212][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.868218][ C0] do_idle+0xf6/0x160 [ 13.868221][ C0] cpu_startup_entry+0x54/0x60 [ 13.868224][ C0] rest_init+0x14b/0x260 [ 13.868226][ C0] start_kernel+0x350/0x410 [ 13.868230][ C0] x86_64_start_reservations+0x18/0x30 [ 13.868236][ C0] x86_64_start_kernel+0xba/0x110 [ 13.868241][ C0] common_startup_64+0x13e/0x148 [ 13.868253][ C0] [ 13.887773][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.888136][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 13.888611][ C0] preempt_count: 101, expected: 0 [ 13.888817][ C0] RCU nest depth: 0, expected: 0 [ 13.889027][ C0] INFO: lockdep is turned off. [ 13.889225][ C0] Preemption disabled at: [ 13.889227][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 13.889693][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 13.889699][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.889702][ C0] Call Trace: [ 13.889704][ C0] [ 13.889706][ C0] dump_stack_lvl+0xb0/0xd0 [ 13.889714][ C0] __might_resched+0x360/0x5a0 [ 13.889723][ C0] down_write+0x72/0x210 [ 13.889726][ C0] ? __pfx_down_write+0x10/0x10 [ 13.889729][ C0] ? simple_recursive_removal+0x3a/0x860 [ 13.889734][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.889741][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.889747][ C0] simple_recursive_removal+0x166/0x860 [ 13.889749][ C0] ? __pfx_remove_one+0x10/0x10 [ 13.889756][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.889761][ C0] debugfs_remove+0x44/0x70 [ 13.889764][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.889771][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.889775][ C0] ? __sk_destruct+0x383/0x780 [ 13.889781][ C0] ? rcu_do_batch+0x34c/0xf20 [ 13.889787][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.889790][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.889795][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.889800][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.889806][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.889809][ C0] ? default_idle+0x9/0x10 [ 13.889812][ C0] ? default_idle_call+0x6d/0xb0 [ 13.889815][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.889819][ C0] ? do_idle+0xf6/0x160 [ 13.889821][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.889823][ C0] ? rest_init+0x14b/0x260 [ 13.889825][ C0] ? start_kernel+0x350/0x410 [ 13.889833][ C0] __put_net+0x19/0x60 [ 13.889837][ C0] __sk_destruct+0x58a/0x780 [ 13.889841][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.889844][ C0] rcu_do_batch+0x34c/0xf20 [ 13.889849][ C0] ? find_held_lock+0x2b/0x80 [ 13.889855][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.889859][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.889864][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.889868][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.889872][ C0] rcu_core+0x2bb/0x500 [ 13.889877][ C0] handle_softirqs+0x218/0x620 [ 13.889882][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.889884][ C0] irq_exit_rcu+0xe/0x30 [ 13.889887][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.889890][ C0] [ 13.889891][ C0] [ 13.889893][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.889896][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.889900][ C0] 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.889903][ C0] RSP: 0018:ffffffffa1c07df8 EFLAGS: 00000246 [ 13.889906][ C0] RAX: 000000000006ace1 RBX: 1ffffffff4380fc3 RCX: ffffffffa0f68a19 [ 13.889909][ C0] RDX: 0000000000000000 RSI: ffffffffa1a881e1 RDI: ffffffffa1250e20 [ 13.889910][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 13.889912][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.889913][ C0] R13: ffffffffa1c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.889917][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.889923][ C0] default_idle+0x9/0x10 [ 13.889926][ C0] default_idle_call+0x6d/0xb0 [ 13.889928][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.889931][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.889934][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.889940][ C0] do_idle+0xf6/0x160 [ 13.889944][ C0] cpu_startup_entry+0x54/0x60 [ 13.889946][ C0] rest_init+0x14b/0x260 [ 13.889950][ C0] start_kernel+0x350/0x410 [ 13.889954][ C0] x86_64_start_reservations+0x18/0x30 [ 13.889959][ C0] x86_64_start_kernel+0xba/0x110 [ 13.889963][ C0] common_startup_64+0x13e/0x148 [ 13.889972][ C0]