[ 14.737742][ C0] [ 14.737890][ C0] ================================ [ 14.738096][ C0] WARNING: inconsistent lock state [ 14.738303][ C0] 6.15.0-rc5-virtme #1 Not tainted [ 14.738503][ C0] -------------------------------- [ 14.738701][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.738957][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.739215][ C0] ffffffffae7bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.739582][ C0] {SOFTIRQ-ON-W} state was registered at: [ 14.739782][ C0] __lock_acquire+0x3eb/0x9d0 [ 14.739992][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.740199][ C0] _raw_spin_lock+0x33/0x40 [ 14.740405][ C0] simple_pin_fs+0x24/0x150 [ 14.740609][ C0] start_creating.part.0+0x3f/0x2f0 [ 14.740809][ C0] debugfs_create_dir+0x6a/0x540 [ 14.741011][ C0] component_debug_init+0x17/0x30 [ 14.741221][ C0] do_one_initcall+0x8c/0x1e0 [ 14.741430][ C0] do_initcalls+0x176/0x280 [ 14.741634][ C0] kernel_init_freeable+0x22d/0x300 [ 14.741842][ C0] kernel_init+0x20/0x200 [ 14.742044][ C0] ret_from_fork+0x31/0x70 [ 14.742253][ C0] ret_from_fork_asm+0x1a/0x30 [ 14.742455][ C0] irq event stamp: 439870 [ 14.742609][ C0] hardirqs last enabled at (439870): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.743013][ C0] hardirqs last disabled at (439869): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.743410][ C0] softirqs last enabled at (439816): [] handle_softirqs+0x358/0x620 [ 14.743765][ C0] softirqs last disabled at (439835): [] __irq_exit_rcu+0xfa/0x160 [ 14.744118][ C0] [ 14.744118][ C0] other info that might help us debug this: [ 14.744427][ C0] Possible unsafe locking scenario: [ 14.744427][ C0] [ 14.744726][ C0] CPU0 [ 14.744882][ C0] ---- [ 14.745033][ C0] lock(pin_fs_lock); [ 14.745191][ C0] [ 14.745343][ C0] lock(pin_fs_lock); [ 14.745495][ C0] [ 14.745495][ C0] *** DEADLOCK *** [ 14.745495][ C0] [ 14.745799][ C0] 1 lock held by swapper/0/0: [ 14.746005][ C0] #0: ffffffffae574480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.746372][ C0] [ 14.746372][ C0] stack backtrace: [ 14.746625][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.746629][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.746631][ C0] Call Trace: [ 14.746633][ C0] [ 14.746635][ C0] dump_stack_lvl+0x82/0xd0 [ 14.746640][ C0] print_usage_bug.part.0+0x25f/0x360 [ 14.746645][ C0] mark_lock_irq+0x343/0x400 [ 14.746649][ C0] ? is_bpf_text_address+0x67/0x120 [ 14.746654][ C0] ? __lock_release+0x5d/0x170 [ 14.746659][ C0] ? save_trace+0x52/0x170 [ 14.746663][ C0] mark_lock+0x174/0x2f0 [ 14.746667][ C0] mark_usage+0x46/0x150 [ 14.746671][ C0] __lock_acquire+0x3eb/0x9d0 [ 14.746676][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.746680][ C0] ? simple_pin_fs+0x24/0x150 [ 14.746684][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.746689][ C0] ? lock_acquire+0x10c/0x170 [ 14.746693][ C0] ? simple_pin_fs+0x24/0x150 [ 14.746697][ C0] _raw_spin_lock+0x33/0x40 [ 14.746700][ C0] ? simple_pin_fs+0x24/0x150 [ 14.746703][ C0] simple_pin_fs+0x24/0x150 [ 14.746707][ C0] debugfs_remove+0x35/0x70 [ 14.746710][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.746715][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.746718][ C0] ? __sk_destruct+0x383/0x780 [ 14.746723][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.746726][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.746729][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.746732][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.746735][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.746739][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.746742][ C0] ? default_idle+0x9/0x10 [ 14.746744][ C0] ? default_idle_call+0x6d/0xb0 [ 14.746746][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.746751][ C0] ? do_idle+0xf6/0x160 [ 14.746753][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.746756][ C0] ? rest_init+0x14b/0x260 [ 14.746759][ C0] ? start_kernel+0x350/0x410 [ 14.746764][ C0] __put_net+0x19/0x60 [ 14.746767][ C0] __sk_destruct+0x58a/0x780 [ 14.746771][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.746774][ C0] rcu_do_batch+0x34c/0xf20 [ 14.746778][ C0] ? find_held_lock+0x2b/0x80 [ 14.746782][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.746786][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.746789][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.746792][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.746797][ C0] rcu_core+0x2bb/0x500 [ 14.746800][ C0] handle_softirqs+0x218/0x620 [ 14.746805][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.746807][ C0] irq_exit_rcu+0xe/0x30 [ 14.746809][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.746813][ C0] [ 14.746813][ C0] [ 14.746815][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.746818][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.746822][ C0] 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 [ 14.746825][ C0] RSP: 0018:ffffffffae207df8 EFLAGS: 00000242 [ 14.746828][ C0] RAX: 000000000006b619 RBX: 1ffffffff5c40fc3 RCX: ffffffffad555a19 [ 14.746830][ C0] RDX: 0000000000000000 RSI: ffffffffae085f31 RDI: ffffffffad850ce0 [ 14.746832][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 14.746834][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.746835][ C0] R13: ffffffffae21f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.746839][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.746845][ C0] default_idle+0x9/0x10 [ 14.746847][ C0] default_idle_call+0x6d/0xb0 [ 14.746849][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.746853][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.746857][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.746863][ C0] do_idle+0xf6/0x160 [ 14.746867][ C0] cpu_startup_entry+0x54/0x60 [ 14.746870][ C0] rest_init+0x14b/0x260 [ 14.746873][ C0] start_kernel+0x350/0x410 [ 14.746877][ C0] x86_64_start_reservations+0x18/0x30 [ 14.746881][ C0] x86_64_start_kernel+0xba/0x110 [ 14.746885][ C0] common_startup_64+0x13e/0x148 [ 14.746893][ C0] [ 14.763573][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.763916][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 14.764378][ C0] preempt_count: 101, expected: 0 [ 14.764576][ C0] RCU nest depth: 0, expected: 0 [ 14.764891][ C0] INFO: lockdep is turned off. [ 14.765081][ C0] Preemption disabled at: [ 14.765083][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 14.765635][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.765639][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.765641][ C0] Call Trace: [ 14.765642][ C0] [ 14.765644][ C0] dump_stack_lvl+0xb0/0xd0 [ 14.765648][ C0] __might_resched+0x360/0x5a0 [ 14.765654][ C0] down_write+0x72/0x210 [ 14.765657][ C0] ? __pfx_down_write+0x10/0x10 [ 14.765660][ C0] ? simple_recursive_removal+0x3a/0x860 [ 14.765663][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.765668][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.765672][ C0] simple_recursive_removal+0x166/0x860 [ 14.765675][ C0] ? __pfx_remove_one+0x10/0x10 [ 14.765678][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.765685][ C0] debugfs_remove+0x44/0x70 [ 14.765688][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.765692][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.765695][ C0] ? __sk_destruct+0x383/0x780 [ 14.765699][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.765703][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.765705][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.765708][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.765712][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.765716][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.765719][ C0] ? default_idle+0x9/0x10 [ 14.765721][ C0] ? default_idle_call+0x6d/0xb0 [ 14.765723][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.765727][ C0] ? do_idle+0xf6/0x160 [ 14.765730][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.765733][ C0] ? rest_init+0x14b/0x260 [ 14.765736][ C0] ? start_kernel+0x350/0x410 [ 14.765741][ C0] __put_net+0x19/0x60 [ 14.765744][ C0] __sk_destruct+0x58a/0x780 [ 14.765748][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.765751][ C0] rcu_do_batch+0x34c/0xf20 [ 14.765754][ C0] ? find_held_lock+0x2b/0x80 [ 14.765759][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.765763][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.765767][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.765770][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.765774][ C0] rcu_core+0x2bb/0x500 [ 14.765777][ C0] handle_softirqs+0x218/0x620 [ 14.765782][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.765784][ C0] irq_exit_rcu+0xe/0x30 [ 14.765786][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.765789][ C0] [ 14.765790][ C0] [ 14.765792][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.765795][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.765798][ C0] 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 [ 14.765801][ C0] RSP: 0018:ffffffffae207df8 EFLAGS: 00000242 [ 14.765804][ C0] RAX: 000000000006b619 RBX: 1ffffffff5c40fc3 RCX: ffffffffad555a19 [ 14.765806][ C0] RDX: 0000000000000000 RSI: ffffffffae085f31 RDI: ffffffffad850ce0 [ 14.765808][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 14.765810][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.765811][ C0] R13: ffffffffae21f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.765815][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.765821][ C0] default_idle+0x9/0x10 [ 14.765823][ C0] default_idle_call+0x6d/0xb0 [ 14.765825][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.765829][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.765833][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.765838][ C0] do_idle+0xf6/0x160 [ 14.765842][ C0] cpu_startup_entry+0x54/0x60 [ 14.765846][ C0] rest_init+0x14b/0x260 [ 14.765849][ C0] start_kernel+0x350/0x410 [ 14.765852][ C0] x86_64_start_reservations+0x18/0x30 [ 14.765856][ C0] x86_64_start_kernel+0xba/0x110 [ 14.765860][ C0] common_startup_64+0x13e/0x148 [ 14.765867][ C0] [ 16.545043][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.545414][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 16.545731][ C1] preempt_count: 100, expected: 0 [ 16.545897][ C1] RCU nest depth: 0, expected: 0 [ 16.546064][ C1] INFO: lockdep is turned off. [ 16.546229][ C1] Preemption disabled at: [ 16.546230][ C1] [] handle_softirqs+0xe5/0x620 [ 16.546572][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.546579][ C1] Tainted: [W]=WARN [ 16.546581][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.546583][ C1] Call Trace: [ 16.546585][ C1] [ 16.546587][ C1] dump_stack_lvl+0xb0/0xd0 [ 16.546597][ C1] __might_resched+0x360/0x5a0 [ 16.546608][ C1] down_write+0x72/0x210 [ 16.546615][ C1] ? __pfx_down_write+0x10/0x10 [ 16.546620][ C1] ? simple_recursive_removal+0x3a/0x860 [ 16.546630][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.546643][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 16.546651][ C1] simple_recursive_removal+0x166/0x860 [ 16.546654][ C1] ? __pfx_remove_one+0x10/0x10 [ 16.546659][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 16.546663][ C1] debugfs_remove+0x44/0x70 [ 16.546666][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 16.546673][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.546676][ C1] ? __sk_destruct+0x383/0x780 [ 16.546686][ C1] ? rcu_do_batch+0x34c/0xf20 [ 16.546692][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.546695][ C1] ? smpboot_thread_fn+0x307/0x960 [ 16.546699][ C1] ? kthread+0x37b/0x600 [ 16.546704][ C1] ? ret_from_fork+0x31/0x70 [ 16.546711][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 16.546717][ C1] ? migrate_enable+0x1f2/0x270 [ 16.546722][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 16.546726][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.546731][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.546736][ C1] __put_net+0x19/0x60 [ 16.546739][ C1] __sk_destruct+0x58a/0x780 [ 16.546743][ C1] ? rcu_do_batch+0x34a/0xf20 [ 16.546746][ C1] rcu_do_batch+0x34c/0xf20 [ 16.546751][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.546756][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.546761][ C1] rcu_core+0x2bb/0x500 [ 16.546764][ C1] handle_softirqs+0x218/0x620 [ 16.546768][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 16.546771][ C1] run_ksoftirqd+0x3f/0x70 [ 16.546774][ C1] smpboot_thread_fn+0x307/0x960 [ 16.546777][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 16.546780][ C1] kthread+0x37b/0x600 [ 16.546784][ C1] ? __pfx_kthread+0x10/0x10 [ 16.546786][ C1] ? ret_from_fork+0x1b/0x70 [ 16.546789][ C1] ? __lock_release+0x5d/0x170 [ 16.546795][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.546798][ C1] ? __pfx_kthread+0x10/0x10 [ 16.546802][ C1] ret_from_fork+0x31/0x70 [ 16.546805][ C1] ? __pfx_kthread+0x10/0x10 [ 16.546808][ C1] ret_from_fork_asm+0x1a/0x30 [ 16.546814][ C1]