[ 16.758306][ C3] [ 16.758537][ C3] ================================ [ 16.758875][ C3] WARNING: inconsistent lock state [ 16.759207][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 16.759525][ C3] -------------------------------- [ 16.759855][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.760257][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.760676][ C3] ffffffffa25bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.761291][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.761628][ C3] __lock_acquire+0x3eb/0x9d0 [ 16.761977][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.762314][ C3] _raw_spin_lock+0x33/0x40 [ 16.762665][ C3] simple_pin_fs+0x24/0x150 [ 16.762993][ C3] start_creating.part.0+0x3f/0x2f0 [ 16.763250][ C3] debugfs_create_dir+0x6a/0x540 [ 16.763567][ C3] component_debug_init+0x17/0x30 [ 16.763903][ C3] do_one_initcall+0x8c/0x1e0 [ 16.764246][ C3] do_initcalls+0x176/0x280 [ 16.764575][ C3] kernel_init_freeable+0x22d/0x300 [ 16.764906][ C3] kernel_init+0x20/0x200 [ 16.765236][ C3] ret_from_fork+0x31/0x70 [ 16.765546][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.765851][ C3] irq event stamp: 324512 [ 16.766102][ C3] hardirqs last enabled at (324512): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.766769][ C3] hardirqs last disabled at (324511): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.767414][ C3] softirqs last enabled at (323488): [] handle_softirqs+0x358/0x620 [ 16.767969][ C3] softirqs last disabled at (323525): [] __irq_exit_rcu+0xfa/0x160 [ 16.768538][ C3] [ 16.768538][ C3] other info that might help us debug this: [ 16.769023][ C3] Possible unsafe locking scenario: [ 16.769023][ C3] [ 16.769506][ C3] CPU0 [ 16.769756][ C3] ---- [ 16.770003][ C3] lock(pin_fs_lock); [ 16.770256][ C3] [ 16.770505][ C3] lock(pin_fs_lock); [ 16.770750][ C3] [ 16.770750][ C3] *** DEADLOCK *** [ 16.770750][ C3] [ 16.771246][ C3] 1 lock held by swapper/3/0: [ 16.771580][ C3] #0: ffffffffa2374480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.772169][ C3] [ 16.772169][ C3] stack backtrace: [ 16.772579][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.772587][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.772590][ C3] Call Trace: [ 16.772593][ C3] [ 16.772598][ C3] dump_stack_lvl+0x82/0xd0 [ 16.772607][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.772618][ C3] mark_lock_irq+0x343/0x400 [ 16.772627][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.772636][ C3] ? save_trace+0x52/0x170 [ 16.772643][ C3] mark_lock+0x174/0x2f0 [ 16.772649][ C3] mark_usage+0x46/0x150 [ 16.772654][ C3] __lock_acquire+0x3eb/0x9d0 [ 16.772661][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.772666][ C3] ? simple_pin_fs+0x24/0x150 [ 16.772672][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.772678][ C3] ? lock_acquire+0x10c/0x170 [ 16.772682][ C3] ? simple_pin_fs+0x24/0x150 [ 16.772686][ C3] _raw_spin_lock+0x33/0x40 [ 16.772691][ C3] ? simple_pin_fs+0x24/0x150 [ 16.772695][ C3] simple_pin_fs+0x24/0x150 [ 16.772699][ C3] debugfs_remove+0x35/0x70 [ 16.772703][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.772710][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.772713][ C3] ? __sk_destruct+0x383/0x780 [ 16.772719][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.772723][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.772726][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.772730][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.772736][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.772740][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.772743][ C3] ? default_idle+0x9/0x10 [ 16.772746][ C3] ? default_idle_call+0x6d/0xb0 [ 16.772748][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.772754][ C3] ? do_idle+0xf6/0x160 [ 16.772757][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.772760][ C3] ? start_secondary+0x213/0x2a0 [ 16.772766][ C3] ? common_startup_64+0x13e/0x148 [ 16.772774][ C3] __put_net+0x19/0x60 [ 16.772778][ C3] __sk_destruct+0x58a/0x780 [ 16.772782][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.772785][ C3] rcu_do_batch+0x34c/0xf20 [ 16.772789][ C3] ? find_held_lock+0x2b/0x80 [ 16.772793][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.772797][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.772801][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.772805][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.772809][ C3] rcu_core+0x2bb/0x500 [ 16.772813][ C3] handle_softirqs+0x218/0x620 [ 16.772818][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.772820][ C3] irq_exit_rcu+0xe/0x30 [ 16.772823][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.772826][ C3] [ 16.772827][ C3] [ 16.772828][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.772831][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.772836][ C3] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.772839][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.772843][ C3] RAX: 000000000004efc3 RBX: 1ffff9200002afc1 RCX: ffffffffa1355a19 [ 16.772846][ C3] RDX: 0000000000000000 RSI: ffffffffa1e85f31 RDI: ffffffffa1650ce0 [ 16.772848][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 16.772850][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 16.772851][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 16.772855][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.772861][ C3] default_idle+0x9/0x10 [ 16.772863][ C3] default_idle_call+0x6d/0xb0 [ 16.772865][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.772869][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.772873][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.772878][ C3] do_idle+0xf6/0x160 [ 16.772881][ C3] cpu_startup_entry+0x54/0x60 [ 16.772885][ C3] start_secondary+0x213/0x2a0 [ 16.772888][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.772893][ C3] common_startup_64+0x13e/0x148 [ 16.772899][ C3] [ 16.790160][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.790611][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.790952][ C3] preempt_count: 101, expected: 0 [ 16.791165][ C3] RCU nest depth: 0, expected: 0 [ 16.791372][ C3] INFO: lockdep is turned off. [ 16.791573][ C3] Preemption disabled at: [ 16.791575][ C3] [<0000000000000000>] 0x0 [ 16.791938][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.791943][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.791946][ C3] Call Trace: [ 16.791947][ C3] [ 16.791950][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.791958][ C3] __might_resched+0x360/0x5a0 [ 16.791965][ C3] down_write+0x72/0x210 [ 16.791969][ C3] ? __pfx_down_write+0x10/0x10 [ 16.791971][ C3] ? simple_recursive_removal+0x3a/0x860 [ 16.791977][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.791985][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.791990][ C3] simple_recursive_removal+0x166/0x860 [ 16.791992][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.791997][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.792001][ C3] debugfs_remove+0x44/0x70 [ 16.792004][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.792011][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.792014][ C3] ? __sk_destruct+0x383/0x780 [ 16.792020][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.792025][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.792028][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.792032][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.792037][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.792042][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.792045][ C3] ? default_idle+0x9/0x10 [ 16.792048][ C3] ? default_idle_call+0x6d/0xb0 [ 16.792051][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.792056][ C3] ? do_idle+0xf6/0x160 [ 16.792059][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.792062][ C3] ? start_secondary+0x213/0x2a0 [ 16.792067][ C3] ? common_startup_64+0x13e/0x148 [ 16.792074][ C3] __put_net+0x19/0x60 [ 16.792078][ C3] __sk_destruct+0x58a/0x780 [ 16.792081][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.792084][ C3] rcu_do_batch+0x34c/0xf20 [ 16.792088][ C3] ? find_held_lock+0x2b/0x80 [ 16.792093][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.792097][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.792102][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.792105][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.792110][ C3] rcu_core+0x2bb/0x500 [ 16.792113][ C3] handle_softirqs+0x218/0x620 [ 16.792118][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.792121][ C3] irq_exit_rcu+0xe/0x30 [ 16.792123][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.792126][ C3] [ 16.792127][ C3] [ 16.792129][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.792132][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.792136][ C3] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.792139][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.792142][ C3] RAX: 000000000004efc3 RBX: 1ffff9200002afc1 RCX: ffffffffa1355a19 [ 16.792144][ C3] RDX: 0000000000000000 RSI: ffffffffa1e85f31 RDI: ffffffffa1650ce0 [ 16.792146][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 16.792147][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 16.792149][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 16.792153][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.792158][ C3] default_idle+0x9/0x10 [ 16.792160][ C3] default_idle_call+0x6d/0xb0 [ 16.792163][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.792166][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.792170][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.792175][ C3] do_idle+0xf6/0x160 [ 16.792179][ C3] cpu_startup_entry+0x54/0x60 [ 16.792183][ C3] start_secondary+0x213/0x2a0 [ 16.792186][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.792191][ C3] common_startup_64+0x13e/0x148 [ 16.792201][ C3] [ 19.092910][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.093315][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 19.093654][ C2] preempt_count: 101, expected: 0 [ 19.093893][ C2] RCU nest depth: 0, expected: 0 [ 19.094087][ C2] INFO: lockdep is turned off. [ 19.094283][ C2] Preemption disabled at: [ 19.094285][ C2] [<0000000000000000>] 0x0 [ 19.094641][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 19.094647][ C2] Tainted: [W]=WARN [ 19.094648][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.094650][ C2] Call Trace: [ 19.094653][ C2] [ 19.094656][ C2] dump_stack_lvl+0xb0/0xd0 [ 19.094668][ C2] __might_resched+0x360/0x5a0 [ 19.094677][ C2] down_write+0x72/0x210 [ 19.094681][ C2] ? __pfx_down_write+0x10/0x10 [ 19.094684][ C2] ? simple_recursive_removal+0x3a/0x860 [ 19.094691][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.094699][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.094706][ C2] simple_recursive_removal+0x166/0x860 [ 19.094708][ C2] ? __pfx_remove_one+0x10/0x10 [ 19.094714][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.094718][ C2] debugfs_remove+0x44/0x70 [ 19.094721][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 19.094728][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.094731][ C2] ? __sk_destruct+0x383/0x780 [ 19.094738][ C2] ? rcu_do_batch+0x34c/0xf20 [ 19.094744][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.094747][ C2] ? irq_exit_rcu+0xe/0x30 [ 19.094752][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.094758][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.094763][ C2] ? pv_native_safe_halt+0xf/0x20 [ 19.094766][ C2] ? default_idle+0x9/0x10 [ 19.094768][ C2] ? default_idle_call+0x6d/0xb0 [ 19.094771][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.094777][ C2] ? do_idle+0xf6/0x160 [ 19.094780][ C2] ? cpu_startup_entry+0x54/0x60 [ 19.094783][ C2] ? start_secondary+0x213/0x2a0 [ 19.094791][ C2] ? common_startup_64+0x13e/0x148 [ 19.094797][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 19.094803][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.094807][ C2] __put_net+0x19/0x60 [ 19.094811][ C2] __sk_destruct+0x58a/0x780 [ 19.094815][ C2] ? rcu_do_batch+0x34a/0xf20 [ 19.094818][ C2] rcu_do_batch+0x34c/0xf20 [ 19.094823][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.094828][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.094832][ C2] rcu_core+0x2bb/0x500 [ 19.094836][ C2] handle_softirqs+0x218/0x620 [ 19.094841][ C2] __irq_exit_rcu+0xfa/0x160 [ 19.094844][ C2] irq_exit_rcu+0xe/0x30 [ 19.094846][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.094849][ C2] [ 19.094850][ C2] [ 19.094852][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.094854][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.094858][ C2] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 19.094861][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 19.094865][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffa1355a19 [ 19.094867][ C2] RDX: ffffed1006c2667b RSI: ffffffffa1650c60 RDI: ffffffff9eb84d8f [ 19.094869][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c2667a [ 19.094870][ C2] R10: ffff8880361333d3 R11: ffff888001b9cb58 R12: 0000000000000000 [ 19.094872][ C2] R13: ffff888001bb2340 R14: dffffc0000000000 R15: 0000000000000000 [ 19.094876][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.094880][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.094884][ C2] default_idle+0x9/0x10 [ 19.094887][ C2] default_idle_call+0x6d/0xb0 [ 19.094889][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 19.094892][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.094896][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 19.094902][ C2] do_idle+0xf6/0x160 [ 19.094905][ C2] cpu_startup_entry+0x54/0x60 [ 19.094909][ C2] start_secondary+0x213/0x2a0 [ 19.094912][ C2] ? __pfx_start_secondary+0x10/0x10 [ 19.094917][ C2] common_startup_64+0x13e/0x148 [ 19.094923][ C2]