[ 15.451169][ C2] [ 15.451304][ C2] ================================ [ 15.451517][ C2] WARNING: inconsistent lock state [ 15.451706][ C2] 6.15.0-virtme #1 Not tainted [ 15.451893][ C2] -------------------------------- [ 15.452078][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.452311][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.452547][ C2] ffffffff8f7c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.452878][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.453065][ C2] __lock_acquire+0x20b/0x7e0 [ 15.453259][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.453441][ C2] _raw_spin_lock+0x33/0x40 [ 15.453626][ C2] simple_pin_fs+0x24/0x150 [ 15.453810][ C2] start_creating.part.0+0x52/0x310 [ 15.453995][ C2] debugfs_create_dir+0x6a/0x540 [ 15.454180][ C2] component_debug_init+0x17/0x30 [ 15.454367][ C2] do_one_initcall+0x8f/0x1e0 [ 15.454556][ C2] do_initcalls+0x176/0x280 [ 15.454741][ C2] kernel_init_freeable+0x22d/0x300 [ 15.454926][ C2] kernel_init+0x20/0x200 [ 15.455113][ C2] ret_from_fork+0x240/0x320 [ 15.455300][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.455486][ C2] irq event stamp: 246688 [ 15.455628][ C2] hardirqs last enabled at (246688): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.455999][ C2] hardirqs last disabled at (246687): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.456368][ C2] softirqs last enabled at (244668): [] handle_softirqs+0x358/0x620 [ 15.456693][ C2] softirqs last disabled at (244681): [] __irq_exit_rcu+0xfa/0x160 [ 15.457018][ C2] [ 15.457018][ C2] other info that might help us debug this: [ 15.457290][ C2] Possible unsafe locking scenario: [ 15.457290][ C2] [ 15.457562][ C2] CPU0 [ 15.457704][ C2] ---- [ 15.457848][ C2] lock(pin_fs_lock); [ 15.457991][ C2] [ 15.458132][ C2] lock(pin_fs_lock); [ 15.458279][ C2] [ 15.458279][ C2] *** DEADLOCK *** [ 15.458279][ C2] [ 15.458553][ C2] 1 lock held by swapper/2/0: [ 15.458739][ C2] #0: ffffffff8f5774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.459074][ C2] [ 15.459074][ C2] stack backtrace: [ 15.459315][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.459319][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.459322][ C2] Call Trace: [ 15.459323][ C2] [ 15.459326][ C2] dump_stack_lvl+0x82/0xd0 [ 15.459331][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.459336][ C2] mark_lock_irq+0x343/0x400 [ 15.459340][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.459345][ C2] ? save_trace+0x52/0x170 [ 15.459350][ C2] mark_lock+0x174/0x2f0 [ 15.459354][ C2] mark_usage+0x46/0x150 [ 15.459357][ C2] __lock_acquire+0x20b/0x7e0 [ 15.459360][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.459364][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.459367][ C2] ? simple_pin_fs+0x24/0x150 [ 15.459371][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.459375][ C2] ? lock_acquire+0x10c/0x170 [ 15.459378][ C2] ? simple_pin_fs+0x24/0x150 [ 15.459382][ C2] _raw_spin_lock+0x33/0x40 [ 15.459386][ C2] ? simple_pin_fs+0x24/0x150 [ 15.459389][ C2] simple_pin_fs+0x24/0x150 [ 15.459393][ C2] debugfs_remove+0x35/0x70 [ 15.459396][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.459402][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.459406][ C2] ? __sk_destruct+0x383/0x780 [ 15.459412][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.459415][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.459418][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.459421][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.459425][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.459429][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.459432][ C2] ? default_idle+0x9/0x10 [ 15.459435][ C2] ? default_idle_call+0x6d/0xb0 [ 15.459438][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.459441][ C2] ? do_idle+0xf6/0x160 [ 15.459444][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.459446][ C2] ? start_secondary+0x213/0x2a0 [ 15.459449][ C2] ? common_startup_64+0x13e/0x148 [ 15.459457][ C2] __put_net+0x19/0x60 [ 15.459460][ C2] __sk_destruct+0x58a/0x780 [ 15.459464][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.459466][ C2] rcu_do_batch+0x34c/0xf20 [ 15.459470][ C2] ? find_held_lock+0x2b/0x80 [ 15.459474][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.459477][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.459481][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.459483][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.459488][ C2] rcu_core+0x2bb/0x500 [ 15.459492][ C2] handle_softirqs+0x218/0x620 [ 15.459497][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.459501][ C2] irq_exit_rcu+0xe/0x30 [ 15.459503][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.459507][ C2] [ 15.459508][ C2] [ 15.459509][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.459512][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.459516][ C2] Code: 92 b5 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 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.459519][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.459522][ C2] RAX: 000000000003bbc7 RBX: 1ffff92000028fc1 RCX: ffffffff8e5905d9 [ 15.459524][ C2] RDX: 0000000000000000 RSI: ffffffff8f08f4e4 RDI: ffffffff8e853be0 [ 15.459526][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.459527][ C2] R10: ffff8880361337d3 R11: ffffffff8f211288 R12: 0000000000000000 [ 15.459529][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.459533][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.459538][ C2] default_idle+0x9/0x10 [ 15.459540][ C2] default_idle_call+0x6d/0xb0 [ 15.459543][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.459546][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.459549][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.459554][ C2] do_idle+0xf6/0x160 [ 15.459557][ C2] cpu_startup_entry+0x54/0x60 [ 15.459560][ C2] start_secondary+0x213/0x2a0 [ 15.459563][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.459568][ C2] common_startup_64+0x13e/0x148 [ 15.459575][ C2] [ 15.474391][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.474813][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.475123][ C2] preempt_count: 101, expected: 0 [ 15.475308][ C2] RCU nest depth: 0, expected: 0 [ 15.475721][ C2] INFO: lockdep is turned off. [ 15.475907][ C2] Preemption disabled at: [ 15.475909][ C2] [<0000000000000000>] 0x0 [ 15.476240][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.476244][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.476246][ C2] Call Trace: [ 15.476248][ C2] [ 15.476250][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.476258][ C2] __might_resched+0x360/0x5a0 [ 15.476264][ C2] down_write+0x72/0x210 [ 15.476269][ C2] ? __pfx_down_write+0x10/0x10 [ 15.476271][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.476275][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.476279][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.476285][ C2] simple_recursive_removal+0x6a/0x610 [ 15.476288][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.476291][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.476296][ C2] debugfs_remove+0x44/0x70 [ 15.476299][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.476304][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.476308][ C2] ? __sk_destruct+0x383/0x780 [ 15.476313][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.476316][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.476319][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.476323][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.476328][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.476332][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.476335][ C2] ? default_idle+0x9/0x10 [ 15.476337][ C2] ? default_idle_call+0x6d/0xb0 [ 15.476340][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.476346][ C2] ? do_idle+0xf6/0x160 [ 15.476348][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.476350][ C2] ? start_secondary+0x213/0x2a0 [ 15.476354][ C2] ? common_startup_64+0x13e/0x148 [ 15.476360][ C2] __put_net+0x19/0x60 [ 15.476364][ C2] __sk_destruct+0x58a/0x780 [ 15.476368][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.476370][ C2] rcu_do_batch+0x34c/0xf20 [ 15.476374][ C2] ? find_held_lock+0x2b/0x80 [ 15.476380][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.476383][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.476387][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.476390][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.476395][ C2] rcu_core+0x2bb/0x500 [ 15.476399][ C2] handle_softirqs+0x218/0x620 [ 15.476405][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.476407][ C2] irq_exit_rcu+0xe/0x30 [ 15.476410][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.476414][ C2] [ 15.476415][ C2] [ 15.476416][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.476419][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.476423][ C2] Code: 92 b5 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 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.476425][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.476428][ C2] RAX: 000000000003bbc7 RBX: 1ffff92000028fc1 RCX: ffffffff8e5905d9 [ 15.476430][ C2] RDX: 0000000000000000 RSI: ffffffff8f08f4e4 RDI: ffffffff8e853be0 [ 15.476432][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.476434][ C2] R10: ffff8880361337d3 R11: ffffffff8f211288 R12: 0000000000000000 [ 15.476435][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.476439][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.476444][ C2] default_idle+0x9/0x10 [ 15.476446][ C2] default_idle_call+0x6d/0xb0 [ 15.476449][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.476452][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.476456][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.476460][ C2] do_idle+0xf6/0x160 [ 15.476464][ C2] cpu_startup_entry+0x54/0x60 [ 15.476467][ C2] start_secondary+0x213/0x2a0 [ 15.476469][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.476474][ C2] common_startup_64+0x13e/0x148 [ 15.476481][ C2] [ 17.348960][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.349369][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 17.349710][ C0] preempt_count: 101, expected: 0 [ 17.349902][ C0] RCU nest depth: 0, expected: 0 [ 17.350091][ C0] INFO: lockdep is turned off. [ 17.350280][ C0] Preemption disabled at: [ 17.350282][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 17.350735][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.350740][ C0] Tainted: [W]=WARN [ 17.350742][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.350744][ C0] Call Trace: [ 17.350746][ C0] [ 17.350747][ C0] dump_stack_lvl+0xb0/0xd0 [ 17.350754][ C0] __might_resched+0x360/0x5a0 [ 17.350761][ C0] down_write+0x72/0x210 [ 17.350765][ C0] ? __pfx_down_write+0x10/0x10 [ 17.350768][ C0] ? simple_recursive_removal+0x33/0x610 [ 17.350772][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.350777][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.350783][ C0] simple_recursive_removal+0x6a/0x610 [ 17.350786][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.350789][ C0] ? __pfx_remove_one+0x10/0x10 [ 17.350795][ C0] debugfs_remove+0x44/0x70 [ 17.350798][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.350804][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.350807][ C0] ? __sk_destruct+0x383/0x780 [ 17.350812][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.350816][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.350819][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.350824][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.350829][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.350833][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.350836][ C0] ? default_idle+0x9/0x10 [ 17.350839][ C0] ? default_idle_call+0x6d/0xb0 [ 17.350841][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.350844][ C0] ? do_idle+0xf6/0x160 [ 17.350847][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.350849][ C0] ? rest_init+0x14b/0x260 [ 17.350852][ C0] ? start_kernel+0x350/0x410 [ 17.350857][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.350861][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.350866][ C0] __put_net+0x19/0x60 [ 17.350869][ C0] __sk_destruct+0x58a/0x780 [ 17.350873][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.350876][ C0] rcu_do_batch+0x34c/0xf20 [ 17.350880][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.350885][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.350897][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.350905][ C0] rcu_core+0x2bb/0x500 [ 17.350912][ C0] handle_softirqs+0x218/0x620 [ 17.350922][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.350925][ C0] irq_exit_rcu+0xe/0x30 [ 17.350928][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.350931][ C0] [ 17.350933][ C0] [ 17.350934][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.350937][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.350942][ C0] Code: 92 b5 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 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 17.350945][ C0] RSP: 0018:ffffffff8f207df8 EFLAGS: 00000246 [ 17.350949][ C0] RAX: 0000000000000000 RBX: 1ffffffff1e40fc3 RCX: ffffffff8e5905d9 [ 17.350951][ C0] RDX: ffffed1006c066fb RSI: ffffffff8e853b60 RDI: ffffffff8bd8d18f [ 17.350953][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c066fa [ 17.350954][ C0] R10: ffff8880360337d3 R11: ffffffff91e6c7a8 R12: 0000000000000000 [ 17.350956][ C0] R13: ffffffff8f21f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.350960][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.350964][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.350968][ C0] default_idle+0x9/0x10 [ 17.350970][ C0] default_idle_call+0x6d/0xb0 [ 17.350973][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.350976][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.350980][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.350985][ C0] do_idle+0xf6/0x160 [ 17.350988][ C0] cpu_startup_entry+0x54/0x60 [ 17.350991][ C0] rest_init+0x14b/0x260 [ 17.350995][ C0] start_kernel+0x350/0x410 [ 17.350999][ C0] x86_64_start_reservations+0x18/0x30 [ 17.351003][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.351007][ C0] common_startup_64+0x13e/0x148 [ 17.351017][ C0]