[ 12.827236][ C0] [ 12.827384][ C0] ================================ [ 12.827591][ C0] WARNING: inconsistent lock state [ 12.827802][ C0] 6.15.0-virtme #1 Not tainted [ 12.828017][ C0] -------------------------------- [ 12.828224][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.828492][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.828755][ C0] ffffffffa17c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.829127][ C0] {SOFTIRQ-ON-W} state was registered at: [ 12.829333][ C0] __lock_acquire+0x20b/0x7e0 [ 12.829546][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.829756][ C0] _raw_spin_lock+0x33/0x40 [ 12.829966][ C0] simple_pin_fs+0x24/0x150 [ 12.830177][ C0] start_creating.part.0+0x52/0x310 [ 12.830388][ C0] debugfs_create_dir+0x6a/0x540 [ 12.830593][ C0] component_debug_init+0x17/0x30 [ 12.830807][ C0] do_one_initcall+0x8f/0x1e0 [ 12.831013][ C0] do_initcalls+0x176/0x280 [ 12.831223][ C0] kernel_init_freeable+0x22d/0x300 [ 12.831427][ C0] kernel_init+0x20/0x200 [ 12.831633][ C0] ret_from_fork+0x240/0x320 [ 12.831838][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.832045][ C0] irq event stamp: 425350 [ 12.832201][ C0] hardirqs last enabled at (425350): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.832611][ C0] hardirqs last disabled at (425349): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.833022][ C0] softirqs last enabled at (425064): [] handle_softirqs+0x358/0x620 [ 12.833385][ C0] softirqs last disabled at (425071): [] __irq_exit_rcu+0xfa/0x160 [ 12.833754][ C0] [ 12.833754][ C0] other info that might help us debug this: [ 12.834059][ C0] Possible unsafe locking scenario: [ 12.834059][ C0] [ 12.834356][ C0] CPU0 [ 12.834510][ C0] ---- [ 12.834660][ C0] lock(pin_fs_lock); [ 12.834820][ C0] [ 12.834975][ C0] lock(pin_fs_lock); [ 12.835142][ C0] [ 12.835142][ C0] *** DEADLOCK *** [ 12.835142][ C0] [ 12.835456][ C0] 1 lock held by swapper/0/0: [ 12.835666][ C0] #0: ffffffffa15774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.836041][ C0] [ 12.836041][ C0] stack backtrace: [ 12.836299][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.836304][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.836306][ C0] Call Trace: [ 12.836307][ C0] [ 12.836309][ C0] dump_stack_lvl+0x82/0xd0 [ 12.836315][ C0] print_usage_bug.part.0+0x25f/0x360 [ 12.836320][ C0] mark_lock_irq+0x343/0x400 [ 12.836323][ C0] ? is_bpf_text_address+0x67/0x120 [ 12.836329][ C0] ? __lock_release+0x5d/0x170 [ 12.836333][ C0] ? save_trace+0x52/0x170 [ 12.836337][ C0] mark_lock+0x174/0x2f0 [ 12.836341][ C0] mark_usage+0x46/0x150 [ 12.836345][ C0] __lock_acquire+0x20b/0x7e0 [ 12.836348][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.836353][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.836356][ C0] ? simple_pin_fs+0x24/0x150 [ 12.836360][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.836365][ C0] ? lock_acquire+0x10c/0x170 [ 12.836368][ C0] ? simple_pin_fs+0x24/0x150 [ 12.836371][ C0] _raw_spin_lock+0x33/0x40 [ 12.836375][ C0] ? simple_pin_fs+0x24/0x150 [ 12.836377][ C0] simple_pin_fs+0x24/0x150 [ 12.836380][ C0] debugfs_remove+0x35/0x70 [ 12.836383][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.836388][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.836391][ C0] ? __sk_destruct+0x383/0x780 [ 12.836396][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.836399][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.836401][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.836404][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.836409][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.836412][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.836415][ C0] ? default_idle+0x9/0x10 [ 12.836417][ C0] ? default_idle_call+0x6d/0xb0 [ 12.836420][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.836424][ C0] ? do_idle+0xf6/0x160 [ 12.836427][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.836429][ C0] ? rest_init+0x14b/0x260 [ 12.836432][ C0] ? start_kernel+0x350/0x410 [ 12.836438][ C0] __put_net+0x19/0x60 [ 12.836442][ C0] __sk_destruct+0x58a/0x780 [ 12.836446][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.836448][ C0] rcu_do_batch+0x34c/0xf20 [ 12.836452][ C0] ? find_held_lock+0x2b/0x80 [ 12.836456][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.836459][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.836463][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.836466][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.836471][ C0] rcu_core+0x2bb/0x500 [ 12.836476][ C0] handle_softirqs+0x218/0x620 [ 12.836481][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.836485][ C0] irq_exit_rcu+0xe/0x30 [ 12.836488][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.836491][ C0] [ 12.836493][ C0] [ 12.836494][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.836497][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.836501][ 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 [ 12.836504][ C0] RSP: 0018:ffffffffa1207df8 EFLAGS: 00000242 [ 12.836507][ C0] RAX: 0000000000067c6d RBX: 1ffffffff4240fc3 RCX: ffffffffa05a35d9 [ 12.836509][ C0] RDX: 0000000000000000 RSI: ffffffffa109175c RDI: ffffffffa0853ca0 [ 12.836511][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.836512][ C0] R10: ffff8880360337d3 R11: ffffffffa1211288 R12: 0000000000000000 [ 12.836514][ C0] R13: ffffffffa121f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.836518][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.836522][ C0] default_idle+0x9/0x10 [ 12.836525][ C0] default_idle_call+0x6d/0xb0 [ 12.836527][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.836531][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.836535][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.836540][ C0] do_idle+0xf6/0x160 [ 12.836544][ C0] cpu_startup_entry+0x54/0x60 [ 12.836548][ C0] rest_init+0x14b/0x260 [ 12.836551][ C0] start_kernel+0x350/0x410 [ 12.836555][ C0] x86_64_start_reservations+0x18/0x30 [ 12.836559][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.836564][ C0] common_startup_64+0x13e/0x148 [ 12.836573][ C0] [ 12.854301][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.854639][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 12.854979][ C0] preempt_count: 101, expected: 0 [ 12.855308][ C0] RCU nest depth: 0, expected: 0 [ 12.855505][ C0] INFO: lockdep is turned off. [ 12.855702][ C0] Preemption disabled at: [ 12.855704][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 12.856276][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.856281][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.856282][ C0] Call Trace: [ 12.856284][ C0] [ 12.856286][ C0] dump_stack_lvl+0xb0/0xd0 [ 12.856293][ C0] __might_resched+0x360/0x5a0 [ 12.856300][ C0] down_write+0x72/0x210 [ 12.856304][ C0] ? __pfx_down_write+0x10/0x10 [ 12.856307][ C0] ? simple_recursive_removal+0x33/0x610 [ 12.856311][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.856317][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.856321][ C0] simple_recursive_removal+0x6a/0x610 [ 12.856324][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.856326][ C0] ? __pfx_remove_one+0x10/0x10 [ 12.856331][ C0] debugfs_remove+0x44/0x70 [ 12.856335][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.856339][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.856342][ C0] ? __sk_destruct+0x383/0x780 [ 12.856346][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.856350][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.856352][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.856357][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.856362][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.856365][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.856368][ C0] ? default_idle+0x9/0x10 [ 12.856371][ C0] ? default_idle_call+0x6d/0xb0 [ 12.856373][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.856377][ C0] ? do_idle+0xf6/0x160 [ 12.856380][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.856382][ C0] ? rest_init+0x14b/0x260 [ 12.856385][ C0] ? start_kernel+0x350/0x410 [ 12.856392][ C0] __put_net+0x19/0x60 [ 12.856396][ C0] __sk_destruct+0x58a/0x780 [ 12.856401][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.856403][ C0] rcu_do_batch+0x34c/0xf20 [ 12.856407][ C0] ? find_held_lock+0x2b/0x80 [ 12.856411][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.856414][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.856419][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.856422][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.856427][ C0] rcu_core+0x2bb/0x500 [ 12.856432][ C0] handle_softirqs+0x218/0x620 [ 12.856438][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.856441][ C0] irq_exit_rcu+0xe/0x30 [ 12.856444][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.856447][ C0] [ 12.856448][ C0] [ 12.856450][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.856453][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.856457][ 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 [ 12.856459][ C0] RSP: 0018:ffffffffa1207df8 EFLAGS: 00000242 [ 12.856462][ C0] RAX: 0000000000067c6d RBX: 1ffffffff4240fc3 RCX: ffffffffa05a35d9 [ 12.856464][ C0] RDX: 0000000000000000 RSI: ffffffffa109175c RDI: ffffffffa0853ca0 [ 12.856466][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.856468][ C0] R10: ffff8880360337d3 R11: ffffffffa1211288 R12: 0000000000000000 [ 12.856469][ C0] R13: ffffffffa121f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.856473][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.856478][ C0] default_idle+0x9/0x10 [ 12.856480][ C0] default_idle_call+0x6d/0xb0 [ 12.856483][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.856486][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.856490][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.856496][ C0] do_idle+0xf6/0x160 [ 12.856500][ C0] cpu_startup_entry+0x54/0x60 [ 12.856503][ C0] rest_init+0x14b/0x260 [ 12.856506][ C0] start_kernel+0x350/0x410 [ 12.856510][ C0] x86_64_start_reservations+0x18/0x30 [ 12.856515][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.856519][ C0] common_startup_64+0x13e/0x148 [ 12.856528][ C0]