[ 15.639428][ C0] [ 15.639570][ C0] ================================ [ 15.639783][ C0] WARNING: inconsistent lock state [ 15.639996][ C0] 6.15.0-rc7-virtme #1 Not tainted [ 15.640203][ C0] -------------------------------- [ 15.640410][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.640675][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.640938][ C0] ffffffff90dbff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.641319][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.641528][ C0] __lock_acquire+0x3eb/0x9d0 [ 15.641742][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.641949][ C0] _raw_spin_lock+0x33/0x40 [ 15.642160][ C0] simple_pin_fs+0x24/0x150 [ 15.642372][ C0] start_creating.part.0+0x3f/0x2f0 [ 15.642584][ C0] debugfs_create_dir+0x6a/0x540 [ 15.642792][ C0] component_debug_init+0x17/0x30 [ 15.643000][ C0] do_one_initcall+0x8f/0x1e0 [ 15.643209][ C0] do_initcalls+0x176/0x280 [ 15.643426][ C0] kernel_init_freeable+0x22d/0x300 [ 15.643638][ C0] kernel_init+0x20/0x200 [ 15.643849][ C0] ret_from_fork+0x31/0x70 [ 15.644059][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.644266][ C0] irq event stamp: 475484 [ 15.644423][ C0] hardirqs last enabled at (475484): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.644833][ C0] hardirqs last disabled at (475483): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.645241][ C0] softirqs last enabled at (473534): [] handle_softirqs+0x358/0x620 [ 15.645611][ C0] softirqs last disabled at (473541): [] __irq_exit_rcu+0xfa/0x160 [ 15.645969][ C0] [ 15.645969][ C0] other info that might help us debug this: [ 15.646280][ C0] Possible unsafe locking scenario: [ 15.646280][ C0] [ 15.646590][ C0] CPU0 [ 15.646744][ C0] ---- [ 15.646901][ C0] lock(pin_fs_lock); [ 15.647060][ C0] [ 15.647217][ C0] lock(pin_fs_lock); [ 15.647373][ C0] [ 15.647373][ C0] *** DEADLOCK *** [ 15.647373][ C0] [ 15.647681][ C0] 1 lock held by swapper/0/0: [ 15.647887][ C0] #0: ffffffff90b749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.648260][ C0] [ 15.648260][ C0] stack backtrace: [ 15.648517][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.648522][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.648524][ C0] Call Trace: [ 15.648526][ C0] [ 15.648528][ C0] dump_stack_lvl+0x82/0xd0 [ 15.648534][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.648539][ C0] mark_lock_irq+0x343/0x400 [ 15.648543][ C0] ? is_bpf_text_address+0x67/0x120 [ 15.648549][ C0] ? __lock_release+0x5d/0x170 [ 15.648552][ C0] ? save_trace+0x52/0x170 [ 15.648557][ C0] mark_lock+0x174/0x2f0 [ 15.648561][ C0] mark_usage+0x46/0x150 [ 15.648565][ C0] __lock_acquire+0x3eb/0x9d0 [ 15.648570][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.648573][ C0] ? simple_pin_fs+0x24/0x150 [ 15.648576][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.648582][ C0] ? lock_acquire+0x10c/0x170 [ 15.648584][ C0] ? simple_pin_fs+0x24/0x150 [ 15.648587][ C0] _raw_spin_lock+0x33/0x40 [ 15.648590][ C0] ? simple_pin_fs+0x24/0x150 [ 15.648592][ C0] simple_pin_fs+0x24/0x150 [ 15.648596][ C0] debugfs_remove+0x35/0x70 [ 15.648599][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.648604][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.648607][ C0] ? __sk_destruct+0x383/0x780 [ 15.648612][ C0] ? rcu_do_batch+0x34f/0xf20 [ 15.648615][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.648618][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.648621][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.648625][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.648629][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.648632][ C0] ? default_idle+0x9/0x10 [ 15.648634][ C0] ? default_idle_call+0x6d/0xb0 [ 15.648636][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.648640][ C0] ? do_idle+0xf6/0x160 [ 15.648643][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.648646][ C0] ? rest_init+0x14b/0x260 [ 15.648649][ C0] ? start_kernel+0x350/0x410 [ 15.648654][ C0] __put_net+0x19/0x60 [ 15.648658][ C0] __sk_destruct+0x58a/0x780 [ 15.648662][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.648665][ C0] rcu_do_batch+0x34f/0xf20 [ 15.648669][ C0] ? find_held_lock+0x2b/0x80 [ 15.648673][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.648676][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.648680][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.648684][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.648688][ C0] rcu_core+0x2bb/0x500 [ 15.648692][ C0] handle_softirqs+0x218/0x620 [ 15.648697][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.648699][ C0] irq_exit_rcu+0xe/0x30 [ 15.648702][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.648705][ C0] [ 15.648706][ C0] [ 15.648707][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.648710][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.648714][ C0] 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 [ 15.648717][ C0] RSP: 0018:ffffffff90807df8 EFLAGS: 00000246 [ 15.648720][ C0] RAX: 00000000000739c3 RBX: 1ffffffff2100fc3 RCX: ffffffff8fb5ba19 [ 15.648723][ C0] RDX: 0000000000000000 RSI: ffffffff90687785 RDI: ffffffff8fe51260 [ 15.648724][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e8667a [ 15.648726][ C0] R10: ffff88802f4333d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.648728][ C0] R13: ffffffff9081f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.648732][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.648736][ C0] default_idle+0x9/0x10 [ 15.648739][ C0] default_idle_call+0x6d/0xb0 [ 15.648741][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.648745][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.648749][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.648756][ C0] do_idle+0xf6/0x160 [ 15.648760][ C0] cpu_startup_entry+0x54/0x60 [ 15.648764][ C0] rest_init+0x14b/0x260 [ 15.648767][ C0] start_kernel+0x350/0x410 [ 15.648771][ C0] x86_64_start_reservations+0x18/0x30 [ 15.648776][ C0] x86_64_start_kernel+0xba/0x110 [ 15.648780][ C0] common_startup_64+0x13e/0x148 [ 15.648788][ C0] [ 15.665763][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.666116][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 15.666452][ C0] preempt_count: 101, expected: 0 [ 15.666647][ C0] RCU nest depth: 0, expected: 0 [ 15.666840][ C0] INFO: lockdep is turned off. [ 15.667038][ C0] Preemption disabled at: [ 15.667039][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.667604][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.667609][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.667611][ C0] Call Trace: [ 15.667612][ C0] [ 15.667613][ C0] dump_stack_lvl+0xb0/0xd0 [ 15.667618][ C0] __might_resched+0x360/0x5a0 [ 15.667624][ C0] down_write+0x72/0x210 [ 15.667628][ C0] ? __pfx_down_write+0x10/0x10 [ 15.667631][ C0] ? simple_recursive_removal+0x3a/0x860 [ 15.667635][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.667640][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.667645][ C0] simple_recursive_removal+0x166/0x860 [ 15.667648][ C0] ? __pfx_remove_one+0x10/0x10 [ 15.667651][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.667656][ C0] debugfs_remove+0x44/0x70 [ 15.667659][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.667663][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.667666][ C0] ? __sk_destruct+0x383/0x780 [ 15.667671][ C0] ? rcu_do_batch+0x34f/0xf20 [ 15.667675][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.667678][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.667681][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.667685][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.667689][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.667692][ C0] ? default_idle+0x9/0x10 [ 15.667694][ C0] ? default_idle_call+0x6d/0xb0 [ 15.667697][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.667701][ C0] ? do_idle+0xf6/0x160 [ 15.667704][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.667707][ C0] ? rest_init+0x14b/0x260 [ 15.667710][ C0] ? start_kernel+0x350/0x410 [ 15.667717][ C0] __put_net+0x19/0x60 [ 15.667720][ C0] __sk_destruct+0x58a/0x780 [ 15.667724][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.667727][ C0] rcu_do_batch+0x34f/0xf20 [ 15.667731][ C0] ? find_held_lock+0x2b/0x80 [ 15.667735][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.667739][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.667744][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.667747][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.667752][ C0] rcu_core+0x2bb/0x500 [ 15.667755][ C0] handle_softirqs+0x218/0x620 [ 15.667760][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.667762][ C0] irq_exit_rcu+0xe/0x30 [ 15.667765][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.667768][ C0] [ 15.667769][ C0] [ 15.667771][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.667774][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.667778][ C0] 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 [ 15.667780][ C0] RSP: 0018:ffffffff90807df8 EFLAGS: 00000246 [ 15.667783][ C0] RAX: 00000000000739c3 RBX: 1ffffffff2100fc3 RCX: ffffffff8fb5ba19 [ 15.667785][ C0] RDX: 0000000000000000 RSI: ffffffff90687785 RDI: ffffffff8fe51260 [ 15.667787][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e8667a [ 15.667789][ C0] R10: ffff88802f4333d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.667791][ C0] R13: ffffffff9081f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.667795][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.667799][ C0] default_idle+0x9/0x10 [ 15.667801][ C0] default_idle_call+0x6d/0xb0 [ 15.667804][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.667808][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.667812][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.667818][ C0] do_idle+0xf6/0x160 [ 15.667822][ C0] cpu_startup_entry+0x54/0x60 [ 15.667826][ C0] rest_init+0x14b/0x260 [ 15.667829][ C0] start_kernel+0x350/0x410 [ 15.667833][ C0] x86_64_start_reservations+0x18/0x30 [ 15.667838][ C0] x86_64_start_kernel+0xba/0x110 [ 15.667842][ C0] common_startup_64+0x13e/0x148 [ 15.667849][ C0] [ 17.456012][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.456358][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.456667][ C3] preempt_count: 101, expected: 0 [ 17.456843][ C3] RCU nest depth: 0, expected: 0 [ 17.457032][ C3] INFO: lockdep is turned off. [ 17.457205][ C3] Preemption disabled at: [ 17.457207][ C3] [<0000000000000000>] 0x0 [ 17.457516][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.457522][ C3] Tainted: [W]=WARN [ 17.457523][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.457525][ C3] Call Trace: [ 17.457527][ C3] [ 17.457529][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.457537][ C3] __might_resched+0x360/0x5a0 [ 17.457544][ C3] down_write+0x72/0x210 [ 17.457549][ C3] ? __pfx_down_write+0x10/0x10 [ 17.457552][ C3] ? simple_recursive_removal+0x3a/0x860 [ 17.457557][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.457563][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.457568][ C3] simple_recursive_removal+0x166/0x860 [ 17.457571][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.457575][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.457580][ C3] debugfs_remove+0x44/0x70 [ 17.457583][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.457588][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.457591][ C3] ? __sk_destruct+0x383/0x780 [ 17.457596][ C3] ? rcu_do_batch+0x34f/0xf20 [ 17.457600][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.457603][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.457607][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.457612][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.457616][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.457619][ C3] ? default_idle+0x9/0x10 [ 17.457621][ C3] ? default_idle_call+0x6d/0xb0 [ 17.457624][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.457629][ C3] ? do_idle+0xf6/0x160 [ 17.457632][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.457635][ C3] ? start_secondary+0x213/0x2a0 [ 17.457640][ C3] ? common_startup_64+0x13e/0x148 [ 17.457644][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.457648][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.457653][ C3] __put_net+0x19/0x60 [ 17.457657][ C3] __sk_destruct+0x58a/0x780 [ 17.457660][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.457663][ C3] rcu_do_batch+0x34f/0xf20 [ 17.457669][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.457673][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.457677][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.457683][ C3] rcu_core+0x2bb/0x500 [ 17.457687][ C3] handle_softirqs+0x218/0x620 [ 17.457692][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.457695][ C3] irq_exit_rcu+0xe/0x30 [ 17.457697][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.457700][ C3] [ 17.457702][ C3] [ 17.457703][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.457706][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.457710][ 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.457713][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.457716][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff8fb5ba19 [ 17.457719][ C3] RDX: ffffed1005eb667b RSI: ffffffff8fe511e0 RDI: ffffffff8d38633f [ 17.457720][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005eb667a [ 17.457722][ C3] R10: ffff88802f5b33d3 R11: ffff888001ef0558 R12: 0000000000000000 [ 17.457724][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 17.457728][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.457731][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.457735][ C3] default_idle+0x9/0x10 [ 17.457738][ C3] default_idle_call+0x6d/0xb0 [ 17.457740][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.457744][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.457748][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.457753][ C3] do_idle+0xf6/0x160 [ 17.457757][ C3] cpu_startup_entry+0x54/0x60 [ 17.457761][ C3] start_secondary+0x213/0x2a0 [ 17.457765][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.457770][ C3] common_startup_64+0x13e/0x148 [ 17.457776][ C3]