[ 21.896340][ C3] [ 21.896489][ C3] ================================ [ 21.896690][ C3] WARNING: inconsistent lock state [ 21.896920][ C3] 6.15.0-virtme #1 Not tainted [ 21.897119][ C3] -------------------------------- [ 21.897312][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 21.897553][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 21.897792][ C3] ffffffffaf9c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 21.898157][ C3] {SOFTIRQ-ON-W} state was registered at: [ 21.898350][ C3] __lock_acquire+0x20b/0x7e0 [ 21.898553][ C3] lock_acquire.part.0+0xb6/0x240 [ 21.898749][ C3] _raw_spin_lock+0x33/0x40 [ 21.898951][ C3] simple_pin_fs+0x24/0x150 [ 21.899145][ C3] start_creating.part.0+0x52/0x310 [ 21.899338][ C3] debugfs_create_dir+0x6a/0x540 [ 21.899531][ C3] component_debug_init+0x17/0x30 [ 21.899735][ C3] do_one_initcall+0x8f/0x1e0 [ 21.899935][ C3] do_initcalls+0x176/0x280 [ 21.900136][ C3] kernel_init_freeable+0x22d/0x300 [ 21.900337][ C3] kernel_init+0x20/0x200 [ 21.900531][ C3] ret_from_fork+0x240/0x320 [ 21.900738][ C3] ret_from_fork_asm+0x1a/0x30 [ 21.900948][ C3] irq event stamp: 302712 [ 21.901098][ C3] hardirqs last enabled at (302712): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 21.901484][ C3] hardirqs last disabled at (302711): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 21.901880][ C3] softirqs last enabled at (302148): [] handle_softirqs+0x358/0x620 [ 21.902222][ C3] softirqs last disabled at (302179): [] __irq_exit_rcu+0xfa/0x160 [ 21.902560][ C3] [ 21.902560][ C3] other info that might help us debug this: [ 21.902868][ C3] Possible unsafe locking scenario: [ 21.902868][ C3] [ 21.903157][ C3] CPU0 [ 21.903299][ C3] ---- [ 21.903444][ C3] lock(pin_fs_lock); [ 21.903595][ C3] [ 21.903740][ C3] lock(pin_fs_lock); [ 21.903888][ C3] [ 21.903888][ C3] *** DEADLOCK *** [ 21.903888][ C3] [ 21.904173][ C3] 1 lock held by swapper/3/0: [ 21.904377][ C3] #0: ffffffffaf7774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 21.904729][ C3] [ 21.904729][ C3] stack backtrace: [ 21.904981][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 21.904986][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.904989][ C3] Call Trace: [ 21.904991][ C3] [ 21.904994][ C3] dump_stack_lvl+0x82/0xd0 [ 21.905002][ C3] print_usage_bug.part.0+0x25f/0x360 [ 21.905008][ C3] mark_lock_irq+0x343/0x400 [ 21.905013][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 21.905019][ C3] ? save_trace+0x52/0x170 [ 21.905025][ C3] mark_lock+0x174/0x2f0 [ 21.905029][ C3] mark_usage+0x46/0x150 [ 21.905032][ C3] __lock_acquire+0x20b/0x7e0 [ 21.905036][ C3] ? __lock_acquire+0x44d/0x7e0 [ 21.905040][ C3] lock_acquire.part.0+0xb6/0x240 [ 21.905043][ C3] ? simple_pin_fs+0x24/0x150 [ 21.905048][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.905053][ C3] ? lock_acquire+0x10c/0x170 [ 21.905056][ C3] ? simple_pin_fs+0x24/0x150 [ 21.905061][ C3] _raw_spin_lock+0x33/0x40 [ 21.905065][ C3] ? simple_pin_fs+0x24/0x150 [ 21.905068][ C3] simple_pin_fs+0x24/0x150 [ 21.905072][ C3] debugfs_remove+0x35/0x70 [ 21.905076][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 21.905084][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 21.905087][ C3] ? __sk_destruct+0x383/0x780 [ 21.905095][ C3] ? rcu_do_batch+0x34c/0xf20 [ 21.905098][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 21.905101][ C3] ? irq_exit_rcu+0xe/0x30 [ 21.905105][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.905111][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.905115][ C3] ? pv_native_safe_halt+0xf/0x20 [ 21.905119][ C3] ? default_idle+0x9/0x10 [ 21.905122][ C3] ? default_idle_call+0x6d/0xb0 [ 21.905124][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.905129][ C3] ? do_idle+0xf6/0x160 [ 21.905131][ C3] ? cpu_startup_entry+0x54/0x60 [ 21.905134][ C3] ? start_secondary+0x213/0x2a0 [ 21.905139][ C3] ? common_startup_64+0x13e/0x148 [ 21.905146][ C3] __put_net+0x19/0x60 [ 21.905150][ C3] __sk_destruct+0x58a/0x780 [ 21.905154][ C3] ? rcu_do_batch+0x34a/0xf20 [ 21.905156][ C3] rcu_do_batch+0x34c/0xf20 [ 21.905160][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.905163][ C3] ? __lock_release+0x5d/0x170 [ 21.905167][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.905170][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 21.905174][ C3] rcu_core+0x2bb/0x500 [ 21.905179][ C3] handle_softirqs+0x218/0x620 [ 21.905184][ C3] __irq_exit_rcu+0xfa/0x160 [ 21.905187][ C3] irq_exit_rcu+0xe/0x30 [ 21.905189][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.905193][ C3] [ 21.905194][ C3] [ 21.905196][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.905198][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 21.905203][ C3] 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 [ 21.905206][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 21.905209][ C3] RAX: 0000000000049c61 RBX: 1ffff9200002afc1 RCX: ffffffffae7905d9 [ 21.905211][ C3] RDX: 0000000000000000 RSI: ffffffffaf28f4e4 RDI: ffffffffaea53be0 [ 21.905213][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 21.905215][ C3] R10: ffff8880361b37d3 R11: ffffffffaf411288 R12: 0000000000000000 [ 21.905217][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 21.905221][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 21.905226][ C3] default_idle+0x9/0x10 [ 21.905229][ C3] default_idle_call+0x6d/0xb0 [ 21.905231][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 21.905235][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.905239][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 21.905243][ C3] do_idle+0xf6/0x160 [ 21.905247][ C3] cpu_startup_entry+0x54/0x60 [ 21.905250][ C3] start_secondary+0x213/0x2a0 [ 21.905252][ C3] ? __pfx_start_secondary+0x10/0x10 [ 21.905257][ C3] common_startup_64+0x13e/0x148 [ 21.905264][ C3] [ 21.920568][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 21.920910][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 21.921229][ C3] preempt_count: 101, expected: 0 [ 21.921410][ C3] RCU nest depth: 0, expected: 0 [ 21.921584][ C3] INFO: lockdep is turned off. [ 21.921765][ C3] Preemption disabled at: [ 21.921767][ C3] [<0000000000000000>] 0x0 [ 21.922096][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 21.922101][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.922103][ C3] Call Trace: [ 21.922105][ C3] [ 21.922108][ C3] dump_stack_lvl+0xb0/0xd0 [ 21.922119][ C3] __might_resched+0x360/0x5a0 [ 21.922127][ C3] down_write+0x72/0x210 [ 21.922132][ C3] ? __pfx_down_write+0x10/0x10 [ 21.922135][ C3] ? simple_recursive_removal+0x33/0x610 [ 21.922140][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.922145][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 21.922152][ C3] simple_recursive_removal+0x6a/0x610 [ 21.922155][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 21.922158][ C3] ? __pfx_remove_one+0x10/0x10 [ 21.922164][ C3] debugfs_remove+0x44/0x70 [ 21.922166][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 21.922174][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 21.922177][ C3] ? __sk_destruct+0x383/0x780 [ 21.922184][ C3] ? rcu_do_batch+0x34c/0xf20 [ 21.922187][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 21.922191][ C3] ? irq_exit_rcu+0xe/0x30 [ 21.922197][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.922202][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.922207][ C3] ? pv_native_safe_halt+0xf/0x20 [ 21.922210][ C3] ? default_idle+0x9/0x10 [ 21.922213][ C3] ? default_idle_call+0x6d/0xb0 [ 21.922216][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.922219][ C3] ? do_idle+0xf6/0x160 [ 21.922222][ C3] ? cpu_startup_entry+0x54/0x60 [ 21.922224][ C3] ? start_secondary+0x213/0x2a0 [ 21.922229][ C3] ? common_startup_64+0x13e/0x148 [ 21.922236][ C3] __put_net+0x19/0x60 [ 21.922241][ C3] __sk_destruct+0x58a/0x780 [ 21.922245][ C3] ? rcu_do_batch+0x34a/0xf20 [ 21.922248][ C3] rcu_do_batch+0x34c/0xf20 [ 21.922253][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.922256][ C3] ? __lock_release+0x5d/0x170 [ 21.922259][ C3] ? rcu_is_watching+0x12/0xc0 [ 21.922262][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 21.922268][ C3] rcu_core+0x2bb/0x500 [ 21.922274][ C3] handle_softirqs+0x218/0x620 [ 21.922279][ C3] __irq_exit_rcu+0xfa/0x160 [ 21.922282][ C3] irq_exit_rcu+0xe/0x30 [ 21.922285][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.922289][ C3] [ 21.922290][ C3] [ 21.922291][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.922294][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 21.922298][ C3] 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 [ 21.922302][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 21.922305][ C3] RAX: 0000000000049c61 RBX: 1ffff9200002afc1 RCX: ffffffffae7905d9 [ 21.922307][ C3] RDX: 0000000000000000 RSI: ffffffffaf28f4e4 RDI: ffffffffaea53be0 [ 21.922309][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 21.922310][ C3] R10: ffff8880361b37d3 R11: ffffffffaf411288 R12: 0000000000000000 [ 21.922312][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 21.922316][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 21.922321][ C3] default_idle+0x9/0x10 [ 21.922323][ C3] default_idle_call+0x6d/0xb0 [ 21.922326][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 21.922329][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.922333][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 21.922337][ C3] do_idle+0xf6/0x160 [ 21.922341][ C3] cpu_startup_entry+0x54/0x60 [ 21.922344][ C3] start_secondary+0x213/0x2a0 [ 21.922347][ C3] ? __pfx_start_secondary+0x10/0x10 [ 21.922351][ C3] common_startup_64+0x13e/0x148 [ 21.922359][ C3] [ 28.330217][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 28.330544][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 [ 28.330836][ C0] preempt_count: 100, expected: 0 [ 28.330998][ C0] RCU nest depth: 0, expected: 0 [ 28.331159][ C0] INFO: lockdep is turned off. [ 28.331318][ C0] Preemption disabled at: [ 28.331320][ C0] [] handle_softirqs+0xe5/0x620 [ 28.331660][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 28.331666][ C0] Tainted: [W]=WARN [ 28.331668][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 28.331670][ C0] Call Trace: [ 28.331672][ C0] [ 28.331674][ C0] dump_stack_lvl+0xb0/0xd0 [ 28.331684][ C0] __might_resched+0x360/0x5a0 [ 28.331692][ C0] down_write+0x72/0x210 [ 28.331697][ C0] ? __pfx_down_write+0x10/0x10 [ 28.331701][ C0] ? simple_recursive_removal+0x33/0x610 [ 28.331706][ C0] ? rcu_is_watching+0x12/0xc0 [ 28.331712][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 28.331720][ C0] simple_recursive_removal+0x6a/0x610 [ 28.331723][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 28.331726][ C0] ? __pfx_remove_one+0x10/0x10 [ 28.331733][ C0] debugfs_remove+0x44/0x70 [ 28.331737][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 28.331744][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 28.331747][ C0] ? __sk_destruct+0x383/0x780 [ 28.331755][ C0] ? rcu_do_batch+0x34c/0xf20 [ 28.331759][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 28.331762][ C0] ? smpboot_thread_fn+0x30a/0x960 [ 28.331767][ C0] ? kthread+0x37e/0x600 [ 28.331770][ C0] ? ret_from_fork+0x240/0x320 [ 28.331776][ C0] ? ret_from_fork_asm+0x1a/0x30 [ 28.331783][ C0] ? migrate_enable+0x1f2/0x270 [ 28.331787][ C0] ? __pfx_migrate_enable+0x10/0x10 [ 28.331791][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 28.331796][ C0] ? rcu_is_watching+0x12/0xc0 [ 28.331801][ C0] __put_net+0x19/0x60 [ 28.331807][ C0] __sk_destruct+0x58a/0x780 [ 28.331812][ C0] ? rcu_do_batch+0x34a/0xf20 [ 28.331814][ C0] rcu_do_batch+0x34c/0xf20 [ 28.331819][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 28.331822][ C0] ? rcu_is_watching+0x12/0xc0 [ 28.331825][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 28.331834][ C0] rcu_core+0x2bb/0x500 [ 28.331839][ C0] handle_softirqs+0x218/0x620 [ 28.331844][ C0] ? __pfx_run_ksoftirqd+0x10/0x10 [ 28.331848][ C0] run_ksoftirqd+0x3f/0x70 [ 28.331850][ C0] smpboot_thread_fn+0x30a/0x960 [ 28.331854][ C0] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 28.331859][ C0] kthread+0x37e/0x600 [ 28.331861][ C0] ? __pfx_kthread+0x10/0x10 [ 28.331863][ C0] ? ret_from_fork+0x1b/0x320 [ 28.331866][ C0] ? __lock_release+0x5d/0x170 [ 28.331869][ C0] ? rcu_is_watching+0x12/0xc0 [ 28.331872][ C0] ? __pfx_kthread+0x10/0x10 [ 28.331876][ C0] ret_from_fork+0x240/0x320 [ 28.331878][ C0] ? __pfx_kthread+0x10/0x10 [ 28.331881][ C0] ret_from_fork_asm+0x1a/0x30 [ 28.331888][ C0]