[ 13.587711][ C0] [ 13.587859][ C0] ================================ [ 13.588086][ C0] WARNING: inconsistent lock state [ 13.588295][ C0] 6.15.0-virtme #1 Not tainted [ 13.588505][ C0] -------------------------------- [ 13.588713][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.588967][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.589241][ C0] ffffffffb2fc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.589612][ C0] {SOFTIRQ-ON-W} state was registered at: [ 13.589817][ C0] __lock_acquire+0x20b/0x7e0 [ 13.590039][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.590243][ C0] _raw_spin_lock+0x33/0x40 [ 13.590451][ C0] simple_pin_fs+0x24/0x150 [ 13.590653][ C0] start_creating.part.0+0x52/0x310 [ 13.590860][ C0] debugfs_create_dir+0x6a/0x540 [ 13.591079][ C0] component_debug_init+0x17/0x30 [ 13.591291][ C0] do_one_initcall+0x8f/0x1e0 [ 13.591498][ C0] do_initcalls+0x176/0x280 [ 13.591708][ C0] kernel_init_freeable+0x22d/0x300 [ 13.591915][ C0] kernel_init+0x20/0x200 [ 13.592136][ C0] ret_from_fork+0x240/0x320 [ 13.592344][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.592546][ C0] irq event stamp: 436332 [ 13.592733][ C0] hardirqs last enabled at (436332): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.593169][ C0] hardirqs last disabled at (436331): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.593585][ C0] softirqs last enabled at (435298): [] handle_softirqs+0x358/0x620 [ 13.593949][ C0] softirqs last disabled at (435305): [] __irq_exit_rcu+0xfa/0x160 [ 13.594320][ C0] [ 13.594320][ C0] other info that might help us debug this: [ 13.594622][ C0] Possible unsafe locking scenario: [ 13.594622][ C0] [ 13.594952][ C0] CPU0 [ 13.595144][ C0] ---- [ 13.595299][ C0] lock(pin_fs_lock); [ 13.595459][ C0] [ 13.595614][ C0] lock(pin_fs_lock); [ 13.595770][ C0] [ 13.595770][ C0] *** DEADLOCK *** [ 13.595770][ C0] [ 13.596098][ C0] 1 lock held by swapper/0/0: [ 13.596306][ C0] #0: ffffffffb2d774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.596678][ C0] [ 13.596678][ C0] stack backtrace: [ 13.596934][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.596939][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.596941][ C0] Call Trace: [ 13.596943][ C0] [ 13.596945][ C0] dump_stack_lvl+0x82/0xd0 [ 13.596951][ C0] print_usage_bug.part.0+0x25f/0x360 [ 13.596957][ C0] mark_lock_irq+0x343/0x400 [ 13.596960][ C0] ? is_bpf_text_address+0x67/0x120 [ 13.596965][ C0] ? __lock_release+0x5d/0x170 [ 13.596970][ C0] ? save_trace+0x52/0x170 [ 13.596975][ C0] mark_lock+0x174/0x2f0 [ 13.596982][ C0] mark_usage+0x46/0x150 [ 13.596987][ C0] __lock_acquire+0x20b/0x7e0 [ 13.596993][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.596999][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.597003][ C0] ? simple_pin_fs+0x24/0x150 [ 13.597007][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.597013][ C0] ? lock_acquire+0x10c/0x170 [ 13.597016][ C0] ? simple_pin_fs+0x24/0x150 [ 13.597020][ C0] _raw_spin_lock+0x33/0x40 [ 13.597024][ C0] ? simple_pin_fs+0x24/0x150 [ 13.597026][ C0] simple_pin_fs+0x24/0x150 [ 13.597029][ C0] debugfs_remove+0x35/0x70 [ 13.597034][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.597038][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.597041][ C0] ? __sk_destruct+0x383/0x780 [ 13.597046][ C0] ? rcu_do_batch+0x34c/0xf20 [ 13.597049][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.597051][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.597055][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.597060][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.597063][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.597067][ C0] ? default_idle+0x9/0x10 [ 13.597069][ C0] ? default_idle_call+0x6d/0xb0 [ 13.597072][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.597076][ C0] ? do_idle+0xf6/0x160 [ 13.597079][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.597081][ C0] ? rest_init+0x14b/0x260 [ 13.597084][ C0] ? start_kernel+0x350/0x410 [ 13.597091][ C0] __put_net+0x19/0x60 [ 13.597095][ C0] __sk_destruct+0x58a/0x780 [ 13.597099][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.597102][ C0] rcu_do_batch+0x34c/0xf20 [ 13.597105][ C0] ? find_held_lock+0x2b/0x80 [ 13.597109][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.597112][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.597116][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.597120][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.597124][ C0] rcu_core+0x2bb/0x500 [ 13.597129][ C0] handle_softirqs+0x218/0x620 [ 13.597135][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.597138][ C0] irq_exit_rcu+0xe/0x30 [ 13.597141][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.597145][ C0] [ 13.597146][ C0] [ 13.597148][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.597150][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.597154][ 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.597157][ C0] RSP: 0018:ffffffffb2a07df8 EFLAGS: 00000242 [ 13.597160][ C0] RAX: 000000000006a467 RBX: 1ffffffff6540fc3 RCX: ffffffffb1da25d9 [ 13.597163][ C0] RDX: 0000000000000000 RSI: ffffffffb289175c RDI: ffffffffb2053ca0 [ 13.597164][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 13.597166][ C0] R10: ffff8880360337d3 R11: ffffffffb2a11288 R12: 0000000000000000 [ 13.597168][ C0] R13: ffffffffb2a1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.597172][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.597177][ C0] default_idle+0x9/0x10 [ 13.597179][ C0] default_idle_call+0x6d/0xb0 [ 13.597181][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.597185][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.597189][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.597195][ C0] do_idle+0xf6/0x160 [ 13.597199][ C0] cpu_startup_entry+0x54/0x60 [ 13.597203][ C0] rest_init+0x14b/0x260 [ 13.597206][ C0] start_kernel+0x350/0x410 [ 13.597210][ C0] x86_64_start_reservations+0x18/0x30 [ 13.597215][ C0] x86_64_start_kernel+0xf8/0x150 [ 13.597219][ C0] common_startup_64+0x13e/0x148 [ 13.597229][ C0] [ 13.615684][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.616025][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 13.616497][ C0] preempt_count: 101, expected: 0 [ 13.616688][ C0] RCU nest depth: 0, expected: 0 [ 13.616878][ C0] INFO: lockdep is turned off. [ 13.617068][ C0] Preemption disabled at: [ 13.617070][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 13.617511][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.617516][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.617518][ C0] Call Trace: [ 13.617520][ C0] [ 13.617522][ C0] dump_stack_lvl+0xb0/0xd0 [ 13.617527][ C0] __might_resched+0x360/0x5a0 [ 13.617535][ C0] down_write+0x72/0x210 [ 13.617539][ C0] ? __pfx_down_write+0x10/0x10 [ 13.617542][ C0] ? simple_recursive_removal+0x33/0x610 [ 13.617546][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.617552][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.617556][ C0] simple_recursive_removal+0x6a/0x610 [ 13.617559][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.617561][ C0] ? __pfx_remove_one+0x10/0x10 [ 13.617568][ C0] debugfs_remove+0x44/0x70 [ 13.617571][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.617576][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.617579][ C0] ? __sk_destruct+0x383/0x780 [ 13.617584][ C0] ? rcu_do_batch+0x34c/0xf20 [ 13.617588][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.617590][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.617596][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.617600][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.617604][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.617608][ C0] ? default_idle+0x9/0x10 [ 13.617610][ C0] ? default_idle_call+0x6d/0xb0 [ 13.617613][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.617616][ C0] ? do_idle+0xf6/0x160 [ 13.617619][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.617622][ C0] ? rest_init+0x14b/0x260 [ 13.617625][ C0] ? start_kernel+0x350/0x410 [ 13.617632][ C0] __put_net+0x19/0x60 [ 13.617636][ C0] __sk_destruct+0x58a/0x780 [ 13.617640][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.617643][ C0] rcu_do_batch+0x34c/0xf20 [ 13.617647][ C0] ? find_held_lock+0x2b/0x80 [ 13.617651][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.617655][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.617660][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.617663][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.617668][ C0] rcu_core+0x2bb/0x500 [ 13.617673][ C0] handle_softirqs+0x218/0x620 [ 13.617678][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.617682][ C0] irq_exit_rcu+0xe/0x30 [ 13.617685][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.617688][ C0] [ 13.617689][ C0] [ 13.617691][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.617693][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.617698][ 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.617700][ C0] RSP: 0018:ffffffffb2a07df8 EFLAGS: 00000242 [ 13.617704][ C0] RAX: 000000000006a467 RBX: 1ffffffff6540fc3 RCX: ffffffffb1da25d9 [ 13.617706][ C0] RDX: 0000000000000000 RSI: ffffffffb289175c RDI: ffffffffb2053ca0 [ 13.617707][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 13.617709][ C0] R10: ffff8880360337d3 R11: ffffffffb2a11288 R12: 0000000000000000 [ 13.617711][ C0] R13: ffffffffb2a1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.617715][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.617719][ C0] default_idle+0x9/0x10 [ 13.617722][ C0] default_idle_call+0x6d/0xb0 [ 13.617724][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.617727][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.617731][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.617737][ C0] do_idle+0xf6/0x160 [ 13.617741][ C0] cpu_startup_entry+0x54/0x60 [ 13.617744][ C0] rest_init+0x14b/0x260 [ 13.617747][ C0] start_kernel+0x350/0x410 [ 13.617751][ C0] x86_64_start_reservations+0x18/0x30 [ 13.617755][ C0] x86_64_start_kernel+0xf8/0x150 [ 13.617759][ C0] common_startup_64+0x13e/0x148 [ 13.617767][ C0]