[ 17.939251][ C3] [ 17.939401][ C3] ================================ [ 17.939605][ C3] WARNING: inconsistent lock state [ 17.939806][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 17.940020][ C3] -------------------------------- [ 17.940231][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.940479][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.940729][ C3] ffffffffb97bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.941087][ C3] {SOFTIRQ-ON-W} state was registered at: [ 17.941284][ C3] __lock_acquire+0x3eb/0x9d0 [ 17.941489][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.941688][ C3] _raw_spin_lock+0x33/0x40 [ 17.941890][ C3] simple_pin_fs+0x24/0x150 [ 17.942091][ C3] start_creating.part.0+0x3f/0x2f0 [ 17.942293][ C3] debugfs_create_dir+0x6a/0x540 [ 17.942494][ C3] component_debug_init+0x17/0x30 [ 17.942698][ C3] do_one_initcall+0x8f/0x1e0 [ 17.942900][ C3] do_initcalls+0x176/0x280 [ 17.943102][ C3] kernel_init_freeable+0x22d/0x300 [ 17.943301][ C3] kernel_init+0x20/0x200 [ 17.943500][ C3] ret_from_fork+0x31/0x70 [ 17.943703][ C3] ret_from_fork_asm+0x1a/0x30 [ 17.943910][ C3] irq event stamp: 228896 [ 17.944063][ C3] hardirqs last enabled at (228896): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.944461][ C3] hardirqs last disabled at (228895): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.944860][ C3] softirqs last enabled at (228038): [] handle_softirqs+0x358/0x620 [ 17.945202][ C3] softirqs last disabled at (228081): [] __irq_exit_rcu+0xfa/0x160 [ 17.945553][ C3] [ 17.945553][ C3] other info that might help us debug this: [ 17.945858][ C3] Possible unsafe locking scenario: [ 17.945858][ C3] [ 17.946153][ C3] CPU0 [ 17.946304][ C3] ---- [ 17.946458][ C3] lock(pin_fs_lock); [ 17.946611][ C3] [ 17.946760][ C3] lock(pin_fs_lock); [ 17.946912][ C3] [ 17.946912][ C3] *** DEADLOCK *** [ 17.946912][ C3] [ 17.947205][ C3] 1 lock held by swapper/3/0: [ 17.947406][ C3] #0: ffffffffb95749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.947767][ C3] [ 17.947767][ C3] stack backtrace: [ 17.948021][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.948026][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.948028][ C3] Call Trace: [ 17.948030][ C3] [ 17.948032][ C3] dump_stack_lvl+0x82/0xd0 [ 17.948038][ C3] print_usage_bug.part.0+0x25f/0x360 [ 17.948043][ C3] mark_lock_irq+0x343/0x400 [ 17.948048][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 17.948054][ C3] ? save_trace+0x52/0x170 [ 17.948059][ C3] mark_lock+0x174/0x2f0 [ 17.948063][ C3] mark_usage+0x46/0x150 [ 17.948067][ C3] __lock_acquire+0x3eb/0x9d0 [ 17.948072][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.948075][ C3] ? simple_pin_fs+0x24/0x150 [ 17.948078][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.948084][ C3] ? lock_acquire+0x10c/0x170 [ 17.948086][ C3] ? simple_pin_fs+0x24/0x150 [ 17.948090][ C3] _raw_spin_lock+0x33/0x40 [ 17.948093][ C3] ? simple_pin_fs+0x24/0x150 [ 17.948095][ C3] simple_pin_fs+0x24/0x150 [ 17.948098][ C3] debugfs_remove+0x35/0x70 [ 17.948101][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.948107][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.948110][ C3] ? __sk_destruct+0x383/0x780 [ 17.948116][ C3] ? rcu_do_batch+0x34f/0xf20 [ 17.948119][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.948122][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.948124][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.948129][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.948132][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.948135][ C3] ? default_idle+0x9/0x10 [ 17.948137][ C3] ? default_idle_call+0x6d/0xb0 [ 17.948140][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.948145][ C3] ? do_idle+0xf6/0x160 [ 17.948148][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.948151][ C3] ? start_secondary+0x213/0x2a0 [ 17.948155][ C3] ? common_startup_64+0x13e/0x148 [ 17.948162][ C3] __put_net+0x19/0x60 [ 17.948165][ C3] __sk_destruct+0x58a/0x780 [ 17.948169][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.948172][ C3] rcu_do_batch+0x34f/0xf20 [ 17.948176][ C3] ? find_held_lock+0x2b/0x80 [ 17.948180][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.948184][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.948188][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.948191][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.948196][ C3] rcu_core+0x2bb/0x500 [ 17.948200][ C3] handle_softirqs+0x218/0x620 [ 17.948205][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.948208][ C3] irq_exit_rcu+0xe/0x30 [ 17.948210][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.948214][ C3] [ 17.948215][ C3] [ 17.948216][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.948219][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.948223][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 17.948226][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 17.948229][ C3] RAX: 0000000000037aef RBX: 1ffff9200002afc1 RCX: ffffffffb855ba19 [ 17.948231][ C3] RDX: 0000000000000000 RSI: ffffffffb9087785 RDI: ffffffffb8851260 [ 17.948233][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 17.948235][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 17.948236][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 17.948240][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.948245][ C3] default_idle+0x9/0x10 [ 17.948248][ C3] default_idle_call+0x6d/0xb0 [ 17.948250][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.948254][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.948259][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.948264][ C3] do_idle+0xf6/0x160 [ 17.948268][ C3] cpu_startup_entry+0x54/0x60 [ 17.948271][ C3] start_secondary+0x213/0x2a0 [ 17.948275][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.948280][ C3] common_startup_64+0x13e/0x148 [ 17.948287][ C3] [ 17.964152][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.964490][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.964836][ C3] preempt_count: 101, expected: 0 [ 17.965025][ C3] RCU nest depth: 0, expected: 0 [ 17.965221][ C3] INFO: lockdep is turned off. [ 17.965413][ C3] Preemption disabled at: [ 17.965415][ C3] [<0000000000000000>] 0x0 [ 17.965755][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.965759][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.965761][ C3] Call Trace: [ 17.965763][ C3] [ 17.965766][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.965773][ C3] __might_resched+0x360/0x5a0 [ 17.965780][ C3] down_write+0x72/0x210 [ 17.965783][ C3] ? __pfx_down_write+0x10/0x10 [ 17.965786][ C3] ? simple_recursive_removal+0x3a/0x860 [ 17.965791][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.965797][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.965810][ C3] simple_recursive_removal+0x166/0x860 [ 17.965813][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.965817][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.965821][ C3] debugfs_remove+0x44/0x70 [ 17.965824][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.965829][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.965833][ C3] ? __sk_destruct+0x383/0x780 [ 17.965837][ C3] ? rcu_do_batch+0x34f/0xf20 [ 17.965841][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.965844][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.965848][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.965852][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.965856][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.965860][ C3] ? default_idle+0x9/0x10 [ 17.965862][ C3] ? default_idle_call+0x6d/0xb0 [ 17.965864][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.965869][ C3] ? do_idle+0xf6/0x160 [ 17.965872][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.965875][ C3] ? start_secondary+0x213/0x2a0 [ 17.965880][ C3] ? common_startup_64+0x13e/0x148 [ 17.965885][ C3] __put_net+0x19/0x60 [ 17.965889][ C3] __sk_destruct+0x58a/0x780 [ 17.965893][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.965896][ C3] rcu_do_batch+0x34f/0xf20 [ 17.965900][ C3] ? find_held_lock+0x2b/0x80 [ 17.965905][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.965909][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.965913][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.965916][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.965921][ C3] rcu_core+0x2bb/0x500 [ 17.965925][ C3] handle_softirqs+0x218/0x620 [ 17.965930][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.965932][ C3] irq_exit_rcu+0xe/0x30 [ 17.965935][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.965939][ C3] [ 17.965940][ C3] [ 17.965941][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.965944][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.965948][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 17.965951][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 17.965954][ C3] RAX: 0000000000037aef RBX: 1ffff9200002afc1 RCX: ffffffffb855ba19 [ 17.965956][ C3] RDX: 0000000000000000 RSI: ffffffffb9087785 RDI: ffffffffb8851260 [ 17.965958][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 17.965960][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 17.965962][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 17.965966][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.965970][ C3] default_idle+0x9/0x10 [ 17.965973][ C3] default_idle_call+0x6d/0xb0 [ 17.965975][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.965979][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.965983][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.965988][ C3] do_idle+0xf6/0x160 [ 17.965992][ C3] cpu_startup_entry+0x54/0x60 [ 17.965996][ C3] start_secondary+0x213/0x2a0 [ 17.965999][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.966005][ C3] common_startup_64+0x13e/0x148 [ 17.966011][ C3] [ 20.845055][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.845679][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 20.846059][ C2] preempt_count: 101, expected: 0 [ 20.846252][ C2] RCU nest depth: 0, expected: 0 [ 20.846457][ C2] INFO: lockdep is turned off. [ 20.846654][ C2] Preemption disabled at: [ 20.846656][ C2] [<0000000000000000>] 0x0 [ 20.847033][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 20.847039][ C2] Tainted: [W]=WARN [ 20.847040][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.847042][ C2] Call Trace: [ 20.847045][ C2] [ 20.847047][ C2] dump_stack_lvl+0xb0/0xd0 [ 20.847055][ C2] __might_resched+0x360/0x5a0 [ 20.847062][ C2] down_write+0x72/0x210 [ 20.847067][ C2] ? __pfx_down_write+0x10/0x10 [ 20.847070][ C2] ? simple_recursive_removal+0x3a/0x860 [ 20.847074][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.847081][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.847086][ C2] simple_recursive_removal+0x166/0x860 [ 20.847089][ C2] ? __pfx_remove_one+0x10/0x10 [ 20.847093][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.847098][ C2] debugfs_remove+0x44/0x70 [ 20.847101][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 20.847106][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.847109][ C2] ? __sk_destruct+0x383/0x780 [ 20.847114][ C2] ? rcu_do_batch+0x34f/0xf20 [ 20.847119][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.847122][ C2] ? irq_exit_rcu+0xe/0x30 [ 20.847126][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.847131][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.847135][ C2] ? pv_native_safe_halt+0xf/0x20 [ 20.847138][ C2] ? default_idle+0x9/0x10 [ 20.847141][ C2] ? default_idle_call+0x6d/0xb0 [ 20.847143][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.847148][ C2] ? do_idle+0xf6/0x160 [ 20.847151][ C2] ? cpu_startup_entry+0x54/0x60 [ 20.847154][ C2] ? start_secondary+0x213/0x2a0 [ 20.847159][ C2] ? common_startup_64+0x13e/0x148 [ 20.847163][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.847168][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.847173][ C2] __put_net+0x19/0x60 [ 20.847177][ C2] __sk_destruct+0x58a/0x780 [ 20.847181][ C2] ? rcu_do_batch+0x34a/0xf20 [ 20.847185][ C2] rcu_do_batch+0x34f/0xf20 [ 20.847190][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.847194][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 20.847199][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 20.847204][ C2] rcu_core+0x2bb/0x500 [ 20.847208][ C2] handle_softirqs+0x218/0x620 [ 20.847213][ C2] __irq_exit_rcu+0xfa/0x160 [ 20.847215][ C2] irq_exit_rcu+0xe/0x30 [ 20.847218][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.847221][ C2] [ 20.847223][ C2] [ 20.847224][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.847227][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.847232][ C2] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 20.847235][ C2] RSP: 0000:ffffc90000147de8 EFLAGS: 00000246 [ 20.847239][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffb855ba19 [ 20.847241][ C2] RDX: ffffed1006c2667b RSI: ffffffffb88511e0 RDI: ffffffffb5d8633f [ 20.847243][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c2667a [ 20.847244][ C2] R10: ffff8880361333d3 R11: ffff888001eda858 R12: 0000000000000000 [ 20.847246][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 20.847250][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.847253][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.847258][ C2] default_idle+0x9/0x10 [ 20.847261][ C2] default_idle_call+0x6d/0xb0 [ 20.847263][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 20.847267][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.847271][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 20.847276][ C2] do_idle+0xf6/0x160 [ 20.847280][ C2] cpu_startup_entry+0x54/0x60 [ 20.847284][ C2] start_secondary+0x213/0x2a0 [ 20.847288][ C2] ? __pfx_start_secondary+0x10/0x10 [ 20.847293][ C2] common_startup_64+0x13e/0x148 [ 20.847300][ C2]