[ 12.643518][ C0] [ 12.643665][ C0] ================================ [ 12.643875][ C0] WARNING: inconsistent lock state [ 12.644085][ C0] 6.15.0-virtme #1 Not tainted [ 12.644294][ C0] -------------------------------- [ 12.644501][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.644760][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.645015][ C0] ffffffff9ddc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.645382][ C0] {SOFTIRQ-ON-W} state was registered at: [ 12.645588][ C0] __lock_acquire+0x20b/0x7e0 [ 12.645805][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.646015][ C0] _raw_spin_lock+0x33/0x40 [ 12.646222][ C0] simple_pin_fs+0x24/0x150 [ 12.646426][ C0] start_creating.part.0+0x52/0x310 [ 12.646633][ C0] debugfs_create_dir+0x6a/0x540 [ 12.646840][ C0] component_debug_init+0x17/0x30 [ 12.647049][ C0] do_one_initcall+0x8f/0x1e0 [ 12.647257][ C0] do_initcalls+0x176/0x280 [ 12.647466][ C0] kernel_init_freeable+0x22d/0x300 [ 12.647675][ C0] kernel_init+0x20/0x200 [ 12.647884][ C0] ret_from_fork+0x240/0x320 [ 12.648093][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.648300][ C0] irq event stamp: 419330 [ 12.648456][ C0] hardirqs last enabled at (419330): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.648874][ C0] hardirqs last disabled at (419329): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.649288][ C0] softirqs last enabled at (417494): [] handle_softirqs+0x358/0x620 [ 12.649646][ C0] softirqs last disabled at (417501): [] __irq_exit_rcu+0xfa/0x160 [ 12.650007][ C0] [ 12.650007][ C0] other info that might help us debug this: [ 12.650313][ C0] Possible unsafe locking scenario: [ 12.650313][ C0] [ 12.650614][ C0] CPU0 [ 12.650768][ C0] ---- [ 12.650921][ C0] lock(pin_fs_lock); [ 12.651083][ C0] [ 12.651242][ C0] lock(pin_fs_lock); [ 12.651399][ C0] [ 12.651399][ C0] *** DEADLOCK *** [ 12.651399][ C0] [ 12.651700][ C0] 1 lock held by swapper/0/0: [ 12.651905][ C0] #0: ffffffff9db774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.652272][ C0] [ 12.652272][ C0] stack backtrace: [ 12.652528][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.652533][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.652535][ C0] Call Trace: [ 12.652537][ C0] [ 12.652539][ C0] dump_stack_lvl+0x82/0xd0 [ 12.652544][ C0] print_usage_bug.part.0+0x25f/0x360 [ 12.652549][ C0] mark_lock_irq+0x343/0x400 [ 12.652553][ C0] ? is_bpf_text_address+0x67/0x120 [ 12.652559][ C0] ? __lock_release+0x5d/0x170 [ 12.652563][ C0] ? save_trace+0x52/0x170 [ 12.652567][ C0] mark_lock+0x174/0x2f0 [ 12.652579][ C0] mark_usage+0x46/0x150 [ 12.652583][ C0] __lock_acquire+0x20b/0x7e0 [ 12.652586][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.652591][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.652594][ C0] ? simple_pin_fs+0x24/0x150 [ 12.652598][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.652603][ C0] ? lock_acquire+0x10c/0x170 [ 12.652606][ C0] ? simple_pin_fs+0x24/0x150 [ 12.652609][ C0] _raw_spin_lock+0x33/0x40 [ 12.652613][ C0] ? simple_pin_fs+0x24/0x150 [ 12.652615][ C0] simple_pin_fs+0x24/0x150 [ 12.652618][ C0] debugfs_remove+0x35/0x70 [ 12.652622][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.652627][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.652630][ C0] ? __sk_destruct+0x383/0x780 [ 12.652635][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.652638][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.652641][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.652644][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.652649][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.652652][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.652656][ C0] ? default_idle+0x9/0x10 [ 12.652658][ C0] ? default_idle_call+0x6d/0xb0 [ 12.652660][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.652665][ C0] ? do_idle+0xf6/0x160 [ 12.652667][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.652670][ C0] ? rest_init+0x14b/0x260 [ 12.652673][ C0] ? start_kernel+0x350/0x410 [ 12.652678][ C0] __put_net+0x19/0x60 [ 12.652682][ C0] __sk_destruct+0x58a/0x780 [ 12.652686][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.652689][ C0] rcu_do_batch+0x34c/0xf20 [ 12.652693][ C0] ? find_held_lock+0x2b/0x80 [ 12.652696][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.652700][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.652703][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.652707][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.652712][ C0] rcu_core+0x2bb/0x500 [ 12.652717][ C0] handle_softirqs+0x218/0x620 [ 12.652722][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.652725][ C0] irq_exit_rcu+0xe/0x30 [ 12.652729][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.652732][ C0] [ 12.652733][ C0] [ 12.652735][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.652738][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.652742][ C0] Code: 92 b4 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 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.652744][ C0] RSP: 0000:ffffffff9d807df8 EFLAGS: 00000246 [ 12.652748][ C0] RAX: 0000000000065edb RBX: 1ffffffff3b00fc3 RCX: ffffffff9cba35d9 [ 12.652750][ C0] RDX: 0000000000000000 RSI: ffffffff9d69175c RDI: ffffffff9ce53ca0 [ 12.652751][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.652753][ C0] R10: ffff8880360337d3 R11: ffffffff9d811288 R12: 0000000000000000 [ 12.652755][ C0] R13: ffffffff9d81f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.652759][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.652763][ C0] default_idle+0x9/0x10 [ 12.652766][ C0] default_idle_call+0x6d/0xb0 [ 12.652768][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.652771][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.652775][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.652781][ C0] do_idle+0xf6/0x160 [ 12.652785][ C0] cpu_startup_entry+0x54/0x60 [ 12.652788][ C0] rest_init+0x14b/0x260 [ 12.652792][ C0] start_kernel+0x350/0x410 [ 12.652796][ C0] x86_64_start_reservations+0x18/0x30 [ 12.652800][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.652805][ C0] common_startup_64+0x13e/0x148 [ 12.652814][ C0] [ 12.670409][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.670744][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 12.671076][ C0] preempt_count: 101, expected: 0 [ 12.671274][ C0] RCU nest depth: 0, expected: 0 [ 12.671469][ C0] INFO: lockdep is turned off. [ 12.671660][ C0] Preemption disabled at: [ 12.671662][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 12.672096][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.672100][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.672102][ C0] Call Trace: [ 12.672104][ C0] [ 12.672105][ C0] dump_stack_lvl+0xb0/0xd0 [ 12.672111][ C0] __might_resched+0x360/0x5a0 [ 12.672119][ C0] down_write+0x72/0x210 [ 12.672122][ C0] ? __pfx_down_write+0x10/0x10 [ 12.672125][ C0] ? simple_recursive_removal+0x33/0x610 [ 12.672129][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.672135][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.672139][ C0] simple_recursive_removal+0x6a/0x610 [ 12.672143][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.672145][ C0] ? __pfx_remove_one+0x10/0x10 [ 12.672150][ C0] debugfs_remove+0x44/0x70 [ 12.672154][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.672158][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.672161][ C0] ? __sk_destruct+0x383/0x780 [ 12.672166][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.672170][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.672172][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.672177][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.672181][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.672184][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.672187][ C0] ? default_idle+0x9/0x10 [ 12.672190][ C0] ? default_idle_call+0x6d/0xb0 [ 12.672192][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.672196][ C0] ? do_idle+0xf6/0x160 [ 12.672198][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.672201][ C0] ? rest_init+0x14b/0x260 [ 12.672203][ C0] ? start_kernel+0x350/0x410 [ 12.672211][ C0] __put_net+0x19/0x60 [ 12.672215][ C0] __sk_destruct+0x58a/0x780 [ 12.672219][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.672222][ C0] rcu_do_batch+0x34c/0xf20 [ 12.672225][ C0] ? find_held_lock+0x2b/0x80 [ 12.672229][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.672233][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.672237][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.672241][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.672246][ C0] rcu_core+0x2bb/0x500 [ 12.672250][ C0] handle_softirqs+0x218/0x620 [ 12.672258][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.672261][ C0] irq_exit_rcu+0xe/0x30 [ 12.672264][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.672268][ C0] [ 12.672269][ C0] [ 12.672270][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.672273][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.672277][ C0] Code: 92 b4 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 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.672279][ C0] RSP: 0000:ffffffff9d807df8 EFLAGS: 00000246 [ 12.672283][ C0] RAX: 0000000000065edb RBX: 1ffffffff3b00fc3 RCX: ffffffff9cba35d9 [ 12.672285][ C0] RDX: 0000000000000000 RSI: ffffffff9d69175c RDI: ffffffff9ce53ca0 [ 12.672286][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.672288][ C0] R10: ffff8880360337d3 R11: ffffffff9d811288 R12: 0000000000000000 [ 12.672289][ C0] R13: ffffffff9d81f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.672293][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.672298][ C0] default_idle+0x9/0x10 [ 12.672300][ C0] default_idle_call+0x6d/0xb0 [ 12.672303][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.672306][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.672310][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.672316][ C0] do_idle+0xf6/0x160 [ 12.672320][ C0] cpu_startup_entry+0x54/0x60 [ 12.672324][ C0] rest_init+0x14b/0x260 [ 12.672327][ C0] start_kernel+0x350/0x410 [ 12.672331][ C0] x86_64_start_reservations+0x18/0x30 [ 12.672335][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.672339][ C0] common_startup_64+0x13e/0x148 [ 12.672348][ C0]