[ 17.712799][ C0] [ 17.713027][ C0] ================================ [ 17.713254][ C0] WARNING: inconsistent lock state [ 17.713473][ C0] 6.15.0-virtme #1 Not tainted [ 17.713691][ C0] -------------------------------- [ 17.713908][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.714171][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.714436][ C0] ffffffff969c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.714819][ C0] {SOFTIRQ-ON-W} state was registered at: [ 17.715036][ C0] __lock_acquire+0x20b/0x7e0 [ 17.715252][ C0] lock_acquire.part.0+0xb6/0x240 [ 17.715462][ C0] _raw_spin_lock+0x33/0x40 [ 17.715676][ C0] simple_pin_fs+0x24/0x150 [ 17.715891][ C0] start_creating.part.0+0x52/0x310 [ 17.716102][ C0] debugfs_create_dir+0x6a/0x540 [ 17.716312][ C0] component_debug_init+0x17/0x30 [ 17.716522][ C0] do_one_initcall+0x8f/0x1e0 [ 17.716732][ C0] do_initcalls+0x176/0x280 [ 17.716945][ C0] kernel_init_freeable+0x22d/0x300 [ 17.717155][ C0] kernel_init+0x20/0x200 [ 17.717365][ C0] ret_from_fork+0x240/0x320 [ 17.717580][ C0] ret_from_fork_asm+0x1a/0x30 [ 17.717795][ C0] irq event stamp: 473228 [ 17.717955][ C0] hardirqs last enabled at (473228): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.718367][ C0] hardirqs last disabled at (473227): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.718781][ C0] softirqs last enabled at (471872): [] handle_softirqs+0x358/0x620 [ 17.719147][ C0] softirqs last disabled at (471919): [] __irq_exit_rcu+0xfa/0x160 [ 17.719511][ C0] [ 17.719511][ C0] other info that might help us debug this: [ 17.719814][ C0] Possible unsafe locking scenario: [ 17.719814][ C0] [ 17.720120][ C0] CPU0 [ 17.720275][ C0] ---- [ 17.720430][ C0] lock(pin_fs_lock); [ 17.720591][ C0] [ 17.720745][ C0] lock(pin_fs_lock); [ 17.720902][ C0] [ 17.720902][ C0] *** DEADLOCK *** [ 17.720902][ C0] [ 17.721207][ C0] 1 lock held by swapper/0/0: [ 17.721416][ C0] #0: ffffffff967774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.721799][ C0] [ 17.721799][ C0] stack backtrace: [ 17.722059][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.722064][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.722066][ C0] Call Trace: [ 17.722069][ C0] [ 17.722071][ C0] dump_stack_lvl+0x82/0xd0 [ 17.722079][ C0] print_usage_bug.part.0+0x25f/0x360 [ 17.722084][ C0] mark_lock_irq+0x343/0x400 [ 17.722087][ C0] ? is_bpf_text_address+0x67/0x120 [ 17.722093][ C0] ? __lock_release+0x5d/0x170 [ 17.722098][ C0] ? save_trace+0x52/0x170 [ 17.722105][ C0] mark_lock+0x174/0x2f0 [ 17.722109][ C0] mark_usage+0x46/0x150 [ 17.722112][ C0] __lock_acquire+0x20b/0x7e0 [ 17.722115][ C0] ? __lock_acquire+0x44d/0x7e0 [ 17.722119][ C0] lock_acquire.part.0+0xb6/0x240 [ 17.722122][ C0] ? simple_pin_fs+0x24/0x150 [ 17.722127][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.722132][ C0] ? lock_acquire+0x10c/0x170 [ 17.722134][ C0] ? simple_pin_fs+0x24/0x150 [ 17.722139][ C0] _raw_spin_lock+0x33/0x40 [ 17.722142][ C0] ? simple_pin_fs+0x24/0x150 [ 17.722146][ C0] simple_pin_fs+0x24/0x150 [ 17.722150][ C0] debugfs_remove+0x35/0x70 [ 17.722153][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.722161][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.722165][ C0] ? __sk_destruct+0x383/0x780 [ 17.722172][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.722175][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.722178][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.722181][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.722186][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.722191][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.722195][ C0] ? default_idle+0x9/0x10 [ 17.722197][ C0] ? default_idle_call+0x6d/0xb0 [ 17.722200][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.722204][ C0] ? do_idle+0xf6/0x160 [ 17.722206][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.722209][ C0] ? rest_init+0x14b/0x260 [ 17.722212][ C0] ? start_kernel+0x350/0x410 [ 17.722217][ C0] __put_net+0x19/0x60 [ 17.722222][ C0] __sk_destruct+0x58a/0x780 [ 17.722226][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.722229][ C0] rcu_do_batch+0x34c/0xf20 [ 17.722232][ C0] ? find_held_lock+0x2b/0x80 [ 17.722236][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.722240][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.722243][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.722246][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.722251][ C0] rcu_core+0x2bb/0x500 [ 17.722256][ C0] handle_softirqs+0x218/0x620 [ 17.722261][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.722264][ C0] irq_exit_rcu+0xe/0x30 [ 17.722267][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.722270][ C0] [ 17.722271][ C0] [ 17.722273][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.722276][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.722280][ 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.722283][ C0] RSP: 0018:ffffffff96407df8 EFLAGS: 00000242 [ 17.722287][ C0] RAX: 000000000007336d RBX: 1ffffffff2c80fc3 RCX: ffffffff957905d9 [ 17.722289][ C0] RDX: 0000000000000000 RSI: ffffffff9628f4e4 RDI: ffffffff95a53be0 [ 17.722291][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 17.722292][ C0] R10: ffff8880360337d3 R11: ffffffff96411288 R12: 0000000000000000 [ 17.722294][ C0] R13: ffffffff9641f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.722298][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.722303][ C0] default_idle+0x9/0x10 [ 17.722305][ C0] default_idle_call+0x6d/0xb0 [ 17.722308][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.722311][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.722315][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.722321][ C0] do_idle+0xf6/0x160 [ 17.722324][ C0] cpu_startup_entry+0x54/0x60 [ 17.722327][ C0] rest_init+0x14b/0x260 [ 17.722330][ C0] start_kernel+0x350/0x410 [ 17.722334][ C0] x86_64_start_reservations+0x18/0x30 [ 17.722338][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.722342][ C0] common_startup_64+0x13e/0x148 [ 17.722353][ C0] [ 17.740170][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.740523][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 17.740874][ C0] preempt_count: 101, expected: 0 [ 17.741082][ C0] RCU nest depth: 0, expected: 0 [ 17.741291][ C0] INFO: lockdep is turned off. [ 17.741504][ C0] Preemption disabled at: [ 17.741507][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 17.741957][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.741961][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.741964][ C0] Call Trace: [ 17.741966][ C0] [ 17.741967][ C0] dump_stack_lvl+0xb0/0xd0 [ 17.741974][ C0] __might_resched+0x360/0x5a0 [ 17.741983][ C0] down_write+0x72/0x210 [ 17.741987][ C0] ? __pfx_down_write+0x10/0x10 [ 17.741990][ C0] ? simple_recursive_removal+0x33/0x610 [ 17.741995][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.742001][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.742007][ C0] simple_recursive_removal+0x6a/0x610 [ 17.742010][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.742013][ C0] ? __pfx_remove_one+0x10/0x10 [ 17.742020][ C0] debugfs_remove+0x44/0x70 [ 17.742023][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.742030][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.742033][ C0] ? __sk_destruct+0x383/0x780 [ 17.742039][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.742043][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.742047][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.742052][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.742058][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.742062][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.742066][ C0] ? default_idle+0x9/0x10 [ 17.742068][ C0] ? default_idle_call+0x6d/0xb0 [ 17.742071][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.742074][ C0] ? do_idle+0xf6/0x160 [ 17.742077][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.742079][ C0] ? rest_init+0x14b/0x260 [ 17.742083][ C0] ? start_kernel+0x350/0x410 [ 17.742089][ C0] __put_net+0x19/0x60 [ 17.742094][ C0] __sk_destruct+0x58a/0x780 [ 17.742098][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.742100][ C0] rcu_do_batch+0x34c/0xf20 [ 17.742104][ C0] ? find_held_lock+0x2b/0x80 [ 17.742110][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.742113][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.742118][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.742121][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.742126][ C0] rcu_core+0x2bb/0x500 [ 17.742130][ C0] handle_softirqs+0x218/0x620 [ 17.742135][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.742138][ C0] irq_exit_rcu+0xe/0x30 [ 17.742141][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.742145][ C0] [ 17.742146][ C0] [ 17.742147][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.742150][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.742155][ 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.742157][ C0] RSP: 0018:ffffffff96407df8 EFLAGS: 00000242 [ 17.742161][ C0] RAX: 000000000007336d RBX: 1ffffffff2c80fc3 RCX: ffffffff957905d9 [ 17.742163][ C0] RDX: 0000000000000000 RSI: ffffffff9628f4e4 RDI: ffffffff95a53be0 [ 17.742166][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 17.742168][ C0] R10: ffff8880360337d3 R11: ffffffff96411288 R12: 0000000000000000 [ 17.742169][ C0] R13: ffffffff9641f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.742173][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.742178][ C0] default_idle+0x9/0x10 [ 17.742181][ C0] default_idle_call+0x6d/0xb0 [ 17.742183][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.742186][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.742190][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.742196][ C0] do_idle+0xf6/0x160 [ 17.742199][ C0] cpu_startup_entry+0x54/0x60 [ 17.742202][ C0] rest_init+0x14b/0x260 [ 17.742206][ C0] start_kernel+0x350/0x410 [ 17.742210][ C0] x86_64_start_reservations+0x18/0x30 [ 17.742214][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.742218][ C0] common_startup_64+0x13e/0x148 [ 17.742228][ C0] [ 20.269165][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.269579][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 20.269931][ C2] preempt_count: 101, expected: 0 [ 20.270151][ C2] RCU nest depth: 0, expected: 0 [ 20.270360][ C2] INFO: lockdep is turned off. [ 20.270568][ C2] Preemption disabled at: [ 20.270570][ C2] [<0000000000000000>] 0x0 [ 20.270942][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 20.270948][ C2] Tainted: [W]=WARN [ 20.270950][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.270952][ C2] Call Trace: [ 20.270954][ C2] [ 20.270957][ C2] dump_stack_lvl+0xb0/0xd0 [ 20.270969][ C2] __might_resched+0x360/0x5a0 [ 20.270979][ C2] down_write+0x72/0x210 [ 20.270985][ C2] ? __pfx_down_write+0x10/0x10 [ 20.270988][ C2] ? simple_recursive_removal+0x33/0x610 [ 20.270995][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.271002][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.271009][ C2] simple_recursive_removal+0x6a/0x610 [ 20.271012][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.271015][ C2] ? __pfx_remove_one+0x10/0x10 [ 20.271023][ C2] debugfs_remove+0x44/0x70 [ 20.271026][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 20.271034][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.271037][ C2] ? __sk_destruct+0x383/0x780 [ 20.271048][ C2] ? rcu_do_batch+0x34c/0xf20 [ 20.271053][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.271056][ C2] ? irq_exit_rcu+0xe/0x30 [ 20.271064][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.271070][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.271075][ C2] ? pv_native_safe_halt+0xf/0x20 [ 20.271079][ C2] ? default_idle+0x9/0x10 [ 20.271081][ C2] ? default_idle_call+0x6d/0xb0 [ 20.271084][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.271088][ C2] ? do_idle+0xf6/0x160 [ 20.271091][ C2] ? cpu_startup_entry+0x54/0x60 [ 20.271093][ C2] ? start_secondary+0x213/0x2a0 [ 20.271098][ C2] ? common_startup_64+0x13e/0x148 [ 20.271106][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.271110][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.271115][ C2] __put_net+0x19/0x60 [ 20.271120][ C2] __sk_destruct+0x58a/0x780 [ 20.271124][ C2] ? rcu_do_batch+0x34a/0xf20 [ 20.271126][ C2] rcu_do_batch+0x34c/0xf20 [ 20.271131][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.271135][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.271140][ C2] rcu_core+0x2bb/0x500 [ 20.271145][ C2] handle_softirqs+0x218/0x620 [ 20.271150][ C2] __irq_exit_rcu+0xfa/0x160 [ 20.271153][ C2] irq_exit_rcu+0xe/0x30 [ 20.271156][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.271160][ C2] [ 20.271161][ C2] [ 20.271163][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.271166][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.271170][ 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 [ 20.271173][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 20.271177][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff957905d9 [ 20.271179][ C2] RDX: ffffed1006c266fb RSI: ffffffff95a53b60 RDI: ffffffff92f8d18f [ 20.271181][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 20.271182][ C2] R10: ffff8880361337d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 20.271184][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 20.271188][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.271191][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.271195][ C2] default_idle+0x9/0x10 [ 20.271198][ C2] default_idle_call+0x6d/0xb0 [ 20.271200][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 20.271203][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.271207][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 20.271212][ C2] do_idle+0xf6/0x160 [ 20.271215][ C2] cpu_startup_entry+0x54/0x60 [ 20.271218][ C2] start_secondary+0x213/0x2a0 [ 20.271221][ C2] ? __pfx_start_secondary+0x10/0x10 [ 20.271226][ C2] common_startup_64+0x13e/0x148 [ 20.271233][ C2]