[ 13.659079][ C0] [ 13.659254][ C0] ================================ [ 13.659500][ C0] WARNING: inconsistent lock state [ 13.659731][ C0] 6.15.0-virtme #1 Not tainted [ 13.659964][ C0] -------------------------------- [ 13.660198][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.660487][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.660789][ C0] ffffffffa9fc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.661223][ C0] {SOFTIRQ-ON-W} state was registered at: [ 13.661465][ C0] __lock_acquire+0x20b/0x7e0 [ 13.661718][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.661954][ C0] _raw_spin_lock+0x33/0x40 [ 13.662201][ C0] simple_pin_fs+0x24/0x150 [ 13.662439][ C0] start_creating.part.0+0x52/0x310 [ 13.662679][ C0] debugfs_create_dir+0x6a/0x540 [ 13.662917][ C0] component_debug_init+0x17/0x30 [ 13.663161][ C0] do_one_initcall+0x8f/0x1e0 [ 13.663404][ C0] do_initcalls+0x176/0x280 [ 13.663649][ C0] kernel_init_freeable+0x22d/0x300 [ 13.663888][ C0] kernel_init+0x20/0x200 [ 13.664127][ C0] ret_from_fork+0x240/0x320 [ 13.664368][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.664605][ C0] irq event stamp: 438136 [ 13.664785][ C0] hardirqs last enabled at (438136): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.665252][ C0] hardirqs last disabled at (438135): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.665714][ C0] softirqs last enabled at (436642): [] handle_softirqs+0x358/0x620 [ 13.666144][ C0] softirqs last disabled at (436667): [] __irq_exit_rcu+0xfa/0x160 [ 13.666572][ C0] [ 13.666572][ C0] other info that might help us debug this: [ 13.666925][ C0] Possible unsafe locking scenario: [ 13.666925][ C0] [ 13.667279][ C0] CPU0 [ 13.667461][ C0] ---- [ 13.667638][ C0] lock(pin_fs_lock); [ 13.667823][ C0] [ 13.668006][ C0] lock(pin_fs_lock); [ 13.668192][ C0] [ 13.668192][ C0] *** DEADLOCK *** [ 13.668192][ C0] [ 13.668551][ C0] 1 lock held by swapper/0/0: [ 13.668796][ C0] #0: ffffffffa9d774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.669222][ C0] [ 13.669222][ C0] stack backtrace: [ 13.669524][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.669529][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.669531][ C0] Call Trace: [ 13.669533][ C0] [ 13.669535][ C0] dump_stack_lvl+0x82/0xd0 [ 13.669542][ C0] print_usage_bug.part.0+0x25f/0x360 [ 13.669548][ C0] mark_lock_irq+0x343/0x400 [ 13.669551][ C0] ? is_bpf_text_address+0x67/0x120 [ 13.669558][ C0] ? __lock_release+0x5d/0x170 [ 13.669563][ C0] ? save_trace+0x52/0x170 [ 13.669567][ C0] mark_lock+0x174/0x2f0 [ 13.669571][ C0] mark_usage+0x46/0x150 [ 13.669575][ C0] __lock_acquire+0x20b/0x7e0 [ 13.669578][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.669583][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.669586][ C0] ? simple_pin_fs+0x24/0x150 [ 13.669590][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.669597][ C0] ? lock_acquire+0x10c/0x170 [ 13.669599][ C0] ? simple_pin_fs+0x24/0x150 [ 13.669603][ C0] _raw_spin_lock+0x33/0x40 [ 13.669606][ C0] ? simple_pin_fs+0x24/0x150 [ 13.669609][ C0] simple_pin_fs+0x24/0x150 [ 13.669612][ C0] debugfs_remove+0x35/0x70 [ 13.669615][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.669621][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.669624][ C0] ? __sk_destruct+0x383/0x780 [ 13.669630][ C0] ? rcu_do_batch+0x34c/0xf20 [ 13.669633][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.669636][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.669639][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.669645][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.669650][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.669653][ C0] ? default_idle+0x9/0x10 [ 13.669656][ C0] ? default_idle_call+0x6d/0xb0 [ 13.669658][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.669664][ C0] ? do_idle+0xf6/0x160 [ 13.669666][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.669669][ C0] ? rest_init+0x14b/0x260 [ 13.669672][ C0] ? start_kernel+0x350/0x410 [ 13.669678][ C0] __put_net+0x19/0x60 [ 13.669682][ C0] __sk_destruct+0x58a/0x780 [ 13.669687][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.669689][ C0] rcu_do_batch+0x34c/0xf20 [ 13.669693][ C0] ? find_held_lock+0x2b/0x80 [ 13.669697][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.669700][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.669704][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.669707][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.669712][ C0] rcu_core+0x2bb/0x500 [ 13.669717][ C0] handle_softirqs+0x218/0x620 [ 13.669723][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.669726][ C0] irq_exit_rcu+0xe/0x30 [ 13.669729][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.669733][ C0] [ 13.669734][ C0] [ 13.669736][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.669739][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.669743][ C0] Code: 92 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 07 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.669746][ C0] RSP: 0018:ffffffffa9a07df8 EFLAGS: 00000242 [ 13.669750][ C0] RAX: 000000000006a9b9 RBX: 1ffffffff5340fc3 RCX: ffffffffa8da35d9 [ 13.669752][ C0] RDX: 0000000000000000 RSI: ffffffffa989175c RDI: ffffffffa9053ca0 [ 13.669754][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 13.669755][ C0] R10: ffff8880360337d3 R11: ffffffffa9a11288 R12: 0000000000000000 [ 13.669757][ C0] R13: ffffffffa9a1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.669761][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.669766][ C0] default_idle+0x9/0x10 [ 13.669768][ C0] default_idle_call+0x6d/0xb0 [ 13.669770][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.669774][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.669778][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.669785][ C0] do_idle+0xf6/0x160 [ 13.669789][ C0] cpu_startup_entry+0x54/0x60 [ 13.669792][ C0] rest_init+0x14b/0x260 [ 13.669795][ C0] start_kernel+0x350/0x410 [ 13.669799][ C0] x86_64_start_reservations+0x18/0x30 [ 13.669804][ C0] x86_64_start_kernel+0xf8/0x150 [ 13.669809][ C0] common_startup_64+0x13e/0x148 [ 13.669819][ C0] [ 13.690087][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.690495][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 13.691015][ C0] preempt_count: 101, expected: 0 [ 13.691255][ C0] RCU nest depth: 0, expected: 0 [ 13.691480][ C0] INFO: lockdep is turned off. [ 13.691699][ C0] Preemption disabled at: [ 13.691701][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 13.692205][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.692210][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.692212][ C0] Call Trace: [ 13.692214][ C0] [ 13.692215][ C0] dump_stack_lvl+0xb0/0xd0 [ 13.692221][ C0] __might_resched+0x360/0x5a0 [ 13.692230][ C0] down_write+0x72/0x210 [ 13.692234][ C0] ? __pfx_down_write+0x10/0x10 [ 13.692236][ C0] ? simple_recursive_removal+0x33/0x610 [ 13.692242][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.692250][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.692255][ C0] simple_recursive_removal+0x6a/0x610 [ 13.692258][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.692260][ C0] ? __pfx_remove_one+0x10/0x10 [ 13.692267][ C0] debugfs_remove+0x44/0x70 [ 13.692270][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.692275][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.692278][ C0] ? __sk_destruct+0x383/0x780 [ 13.692283][ C0] ? rcu_do_batch+0x34c/0xf20 [ 13.692287][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.692290][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.692295][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.692300][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.692304][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.692307][ C0] ? default_idle+0x9/0x10 [ 13.692309][ C0] ? default_idle_call+0x6d/0xb0 [ 13.692312][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.692316][ C0] ? do_idle+0xf6/0x160 [ 13.692319][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.692322][ C0] ? rest_init+0x14b/0x260 [ 13.692324][ C0] ? start_kernel+0x350/0x410 [ 13.692333][ C0] __put_net+0x19/0x60 [ 13.692338][ C0] __sk_destruct+0x58a/0x780 [ 13.692342][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.692345][ C0] rcu_do_batch+0x34c/0xf20 [ 13.692349][ C0] ? find_held_lock+0x2b/0x80 [ 13.692353][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.692357][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.692363][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.692366][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.692371][ C0] rcu_core+0x2bb/0x500 [ 13.692377][ C0] handle_softirqs+0x218/0x620 [ 13.692382][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.692386][ C0] irq_exit_rcu+0xe/0x30 [ 13.692389][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.692392][ C0] [ 13.692393][ C0] [ 13.692395][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.692397][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.692401][ C0] Code: 92 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 07 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.692404][ C0] RSP: 0018:ffffffffa9a07df8 EFLAGS: 00000242 [ 13.692408][ C0] RAX: 000000000006a9b9 RBX: 1ffffffff5340fc3 RCX: ffffffffa8da35d9 [ 13.692410][ C0] RDX: 0000000000000000 RSI: ffffffffa989175c RDI: ffffffffa9053ca0 [ 13.692412][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 13.692413][ C0] R10: ffff8880360337d3 R11: ffffffffa9a11288 R12: 0000000000000000 [ 13.692415][ C0] R13: ffffffffa9a1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.692419][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.692424][ C0] default_idle+0x9/0x10 [ 13.692426][ C0] default_idle_call+0x6d/0xb0 [ 13.692429][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.692432][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.692436][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.692443][ C0] do_idle+0xf6/0x160 [ 13.692447][ C0] cpu_startup_entry+0x54/0x60 [ 13.692450][ C0] rest_init+0x14b/0x260 [ 13.692453][ C0] start_kernel+0x350/0x410 [ 13.692458][ C0] x86_64_start_reservations+0x18/0x30 [ 13.692463][ C0] x86_64_start_kernel+0xf8/0x150 [ 13.692467][ C0] common_startup_64+0x13e/0x148 [ 13.692477][ C0]