[ 13.206146][ C0] [ 13.206304][ C0] ================================ [ 13.206534][ C0] WARNING: inconsistent lock state [ 13.206763][ C0] 6.15.0-virtme #1 Not tainted [ 13.206986][ C0] -------------------------------- [ 13.207210][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.207490][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.207773][ C0] ffffffffa67c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.208175][ C0] {SOFTIRQ-ON-W} state was registered at: [ 13.208410][ C0] __lock_acquire+0x20b/0x7e0 [ 13.208646][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.208870][ C0] _raw_spin_lock+0x33/0x40 [ 13.209096][ C0] simple_pin_fs+0x24/0x150 [ 13.209315][ C0] start_creating.part.0+0x52/0x310 [ 13.209541][ C0] debugfs_create_dir+0x6a/0x540 [ 13.209767][ C0] component_debug_init+0x17/0x30 [ 13.210001][ C0] do_one_initcall+0x8f/0x1e0 [ 13.210236][ C0] do_initcalls+0x176/0x280 [ 13.210463][ C0] kernel_init_freeable+0x22d/0x300 [ 13.210691][ C0] kernel_init+0x20/0x200 [ 13.210916][ C0] ret_from_fork+0x240/0x320 [ 13.211145][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.211363][ C0] irq event stamp: 456160 [ 13.211534][ C0] hardirqs last enabled at (456160): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.211981][ C0] hardirqs last disabled at (456159): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.212425][ C0] softirqs last enabled at (455716): [] handle_softirqs+0x358/0x620 [ 13.212818][ C0] softirqs last disabled at (455743): [] __irq_exit_rcu+0xfa/0x160 [ 13.213217][ C0] [ 13.213217][ C0] other info that might help us debug this: [ 13.213549][ C0] Possible unsafe locking scenario: [ 13.213549][ C0] [ 13.213882][ C0] CPU0 [ 13.214055][ C0] ---- [ 13.214221][ C0] lock(pin_fs_lock); [ 13.214393][ C0] [ 13.214564][ C0] lock(pin_fs_lock); [ 13.214739][ C0] [ 13.214739][ C0] *** DEADLOCK *** [ 13.214739][ C0] [ 13.215075][ C0] 1 lock held by swapper/0/0: [ 13.215298][ C0] #0: ffffffffa65774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.215698][ C0] [ 13.215698][ C0] stack backtrace: [ 13.215988][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.215992][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.215995][ C0] Call Trace: [ 13.215996][ C0] [ 13.215998][ C0] dump_stack_lvl+0x82/0xd0 [ 13.216004][ C0] print_usage_bug.part.0+0x25f/0x360 [ 13.216009][ C0] mark_lock_irq+0x343/0x400 [ 13.216013][ C0] ? is_bpf_text_address+0x67/0x120 [ 13.216018][ C0] ? __lock_release+0x5d/0x170 [ 13.216022][ C0] ? save_trace+0x52/0x170 [ 13.216027][ C0] mark_lock+0x174/0x2f0 [ 13.216031][ C0] mark_usage+0x46/0x150 [ 13.216034][ C0] __lock_acquire+0x20b/0x7e0 [ 13.216037][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.216042][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.216045][ C0] ? simple_pin_fs+0x24/0x150 [ 13.216048][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.216053][ C0] ? lock_acquire+0x10c/0x170 [ 13.216056][ C0] ? simple_pin_fs+0x24/0x150 [ 13.216060][ C0] _raw_spin_lock+0x33/0x40 [ 13.216063][ C0] ? simple_pin_fs+0x24/0x150 [ 13.216065][ C0] simple_pin_fs+0x24/0x150 [ 13.216068][ C0] debugfs_remove+0x35/0x70 [ 13.216072][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.216076][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.216079][ C0] ? __sk_destruct+0x383/0x780 [ 13.216084][ C0] ? rcu_do_batch+0x34c/0xf20 [ 13.216087][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.216090][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.216093][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.216097][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.216101][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.216104][ C0] ? default_idle+0x9/0x10 [ 13.216106][ C0] ? default_idle_call+0x6d/0xb0 [ 13.216109][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.216113][ C0] ? do_idle+0xf6/0x160 [ 13.216116][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.216118][ C0] ? rest_init+0x14b/0x260 [ 13.216121][ C0] ? start_kernel+0x350/0x410 [ 13.216126][ C0] __put_net+0x19/0x60 [ 13.216131][ C0] __sk_destruct+0x58a/0x780 [ 13.216135][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.216138][ C0] rcu_do_batch+0x34c/0xf20 [ 13.216141][ C0] ? find_held_lock+0x2b/0x80 [ 13.216145][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.216148][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.216152][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.216156][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.216160][ C0] rcu_core+0x2bb/0x500 [ 13.216165][ C0] handle_softirqs+0x218/0x620 [ 13.216171][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.216174][ C0] irq_exit_rcu+0xe/0x30 [ 13.216177][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.216181][ C0] [ 13.216182][ C0] [ 13.216183][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.216186][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.216190][ C0] Code: a2 b4 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 17 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 13.216193][ C0] RSP: 0018:ffffffffa6207df8 EFLAGS: 00000242 [ 13.216196][ C0] RAX: 000000000006f43d RBX: 1ffffffff4c40fc3 RCX: ffffffffa55a25d9 [ 13.216198][ C0] RDX: 0000000000000000 RSI: ffffffffa609175c RDI: ffffffffa5853ca0 [ 13.216200][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 13.216201][ C0] R10: ffff8880360337d3 R11: ffffffffa6211288 R12: 0000000000000000 [ 13.216203][ C0] R13: ffffffffa621f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.216207][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.216211][ C0] default_idle+0x9/0x10 [ 13.216214][ C0] default_idle_call+0x6d/0xb0 [ 13.216216][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.216220][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.216224][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.216229][ C0] do_idle+0xf6/0x160 [ 13.216233][ C0] cpu_startup_entry+0x54/0x60 [ 13.216236][ C0] rest_init+0x14b/0x260 [ 13.216239][ C0] start_kernel+0x350/0x410 [ 13.216243][ C0] x86_64_start_reservations+0x18/0x30 [ 13.216248][ C0] x86_64_start_kernel+0xf8/0x150 [ 13.216252][ C0] common_startup_64+0x13e/0x148 [ 13.216261][ C0] [ 13.235737][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.236119][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 13.236877][ C0] preempt_count: 101, expected: 0 [ 13.237088][ C0] RCU nest depth: 0, expected: 0 [ 13.237296][ C0] INFO: lockdep is turned off. [ 13.237512][ C0] Preemption disabled at: [ 13.237513][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 13.238004][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.238008][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.238010][ C0] Call Trace: [ 13.238011][ C0] [ 13.238013][ C0] dump_stack_lvl+0xb0/0xd0 [ 13.238018][ C0] __might_resched+0x360/0x5a0 [ 13.238025][ C0] down_write+0x72/0x210 [ 13.238029][ C0] ? __pfx_down_write+0x10/0x10 [ 13.238031][ C0] ? simple_recursive_removal+0x33/0x610 [ 13.238036][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.238041][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.238045][ C0] simple_recursive_removal+0x6a/0x610 [ 13.238048][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.238050][ C0] ? __pfx_remove_one+0x10/0x10 [ 13.238055][ C0] debugfs_remove+0x44/0x70 [ 13.238058][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.238062][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.238065][ C0] ? __sk_destruct+0x383/0x780 [ 13.238069][ C0] ? rcu_do_batch+0x34c/0xf20 [ 13.238073][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.238076][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.238080][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.238084][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.238087][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.238090][ C0] ? default_idle+0x9/0x10 [ 13.238093][ C0] ? default_idle_call+0x6d/0xb0 [ 13.238095][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.238099][ C0] ? do_idle+0xf6/0x160 [ 13.238102][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.238104][ C0] ? rest_init+0x14b/0x260 [ 13.238107][ C0] ? start_kernel+0x350/0x410 [ 13.238114][ C0] __put_net+0x19/0x60 [ 13.238118][ C0] __sk_destruct+0x58a/0x780 [ 13.238122][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.238125][ C0] rcu_do_batch+0x34c/0xf20 [ 13.238128][ C0] ? find_held_lock+0x2b/0x80 [ 13.238132][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.238136][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.238140][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.238144][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.238149][ C0] rcu_core+0x2bb/0x500 [ 13.238153][ C0] handle_softirqs+0x218/0x620 [ 13.238159][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.238162][ C0] irq_exit_rcu+0xe/0x30 [ 13.238165][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.238169][ C0] [ 13.238170][ C0] [ 13.238171][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.238174][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.238178][ C0] Code: a2 b4 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 17 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 13.238180][ C0] RSP: 0018:ffffffffa6207df8 EFLAGS: 00000242 [ 13.238183][ C0] RAX: 000000000006f43d RBX: 1ffffffff4c40fc3 RCX: ffffffffa55a25d9 [ 13.238185][ C0] RDX: 0000000000000000 RSI: ffffffffa609175c RDI: ffffffffa5853ca0 [ 13.238187][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 13.238189][ C0] R10: ffff8880360337d3 R11: ffffffffa6211288 R12: 0000000000000000 [ 13.238190][ C0] R13: ffffffffa621f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.238194][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.238205][ C0] default_idle+0x9/0x10 [ 13.238207][ C0] default_idle_call+0x6d/0xb0 [ 13.238210][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.238213][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.238217][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.238222][ C0] do_idle+0xf6/0x160 [ 13.238226][ C0] cpu_startup_entry+0x54/0x60 [ 13.238229][ C0] rest_init+0x14b/0x260 [ 13.238233][ C0] start_kernel+0x350/0x410 [ 13.238237][ C0] x86_64_start_reservations+0x18/0x30 [ 13.238241][ C0] x86_64_start_kernel+0xf8/0x150 [ 13.238245][ C0] common_startup_64+0x13e/0x148 [ 13.238253][ C0] [ 14.118644][ T227] unsigned-md5_ip (227) used greatest stack depth: 24288 bytes left