[ 15.678621][ C0] [ 15.678875][ C0] ================================ [ 15.679107][ C0] WARNING: inconsistent lock state [ 15.679331][ C0] 6.15.0-virtme #1 Not tainted [ 15.679552][ C0] -------------------------------- [ 15.679773][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.680047][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.680326][ C0] ffffffffbb3c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.680735][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.680955][ C0] __lock_acquire+0x20b/0x7e0 [ 15.681191][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.681418][ C0] _raw_spin_lock+0x33/0x40 [ 15.681653][ C0] simple_pin_fs+0x24/0x150 [ 15.681877][ C0] start_creating.part.0+0x52/0x310 [ 15.682110][ C0] debugfs_create_dir+0x6a/0x540 [ 15.682335][ C0] component_debug_init+0x17/0x30 [ 15.682564][ C0] do_one_initcall+0x8f/0x1e0 [ 15.682797][ C0] do_initcalls+0x176/0x280 [ 15.683025][ C0] kernel_init_freeable+0x22d/0x300 [ 15.683246][ C0] kernel_init+0x20/0x200 [ 15.683478][ C0] ret_from_fork+0x240/0x320 [ 15.683709][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.683935][ C0] irq event stamp: 451768 [ 15.684103][ C0] hardirqs last enabled at (451768): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.684564][ C0] hardirqs last disabled at (451767): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.685008][ C0] softirqs last enabled at (449786): [] handle_softirqs+0x358/0x620 [ 15.685406][ C0] softirqs last disabled at (449801): [] __irq_exit_rcu+0xfa/0x160 [ 15.685799][ C0] [ 15.685799][ C0] other info that might help us debug this: [ 15.686129][ C0] Possible unsafe locking scenario: [ 15.686129][ C0] [ 15.686456][ C0] CPU0 [ 15.686625][ C0] ---- [ 15.686793][ C0] lock(pin_fs_lock); [ 15.686969][ C0] [ 15.687139][ C0] lock(pin_fs_lock); [ 15.687312][ C0] [ 15.687312][ C0] *** DEADLOCK *** [ 15.687312][ C0] [ 15.687650][ C0] 1 lock held by swapper/0/0: [ 15.687877][ C0] #0: ffffffffbb1774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.688281][ C0] [ 15.688281][ C0] stack backtrace: [ 15.688560][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.688564][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.688566][ C0] Call Trace: [ 15.688568][ C0] [ 15.688570][ C0] dump_stack_lvl+0x82/0xd0 [ 15.688578][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.688583][ C0] mark_lock_irq+0x343/0x400 [ 15.688587][ C0] ? is_bpf_text_address+0x67/0x120 [ 15.688593][ C0] ? __lock_release+0x5d/0x170 [ 15.688597][ C0] ? save_trace+0x52/0x170 [ 15.688606][ C0] mark_lock+0x174/0x2f0 [ 15.688609][ C0] mark_usage+0x46/0x150 [ 15.688612][ C0] __lock_acquire+0x20b/0x7e0 [ 15.688616][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.688620][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.688623][ C0] ? simple_pin_fs+0x24/0x150 [ 15.688627][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.688632][ C0] ? lock_acquire+0x10c/0x170 [ 15.688635][ C0] ? simple_pin_fs+0x24/0x150 [ 15.688639][ C0] _raw_spin_lock+0x33/0x40 [ 15.688643][ C0] ? simple_pin_fs+0x24/0x150 [ 15.688646][ C0] simple_pin_fs+0x24/0x150 [ 15.688650][ C0] debugfs_remove+0x35/0x70 [ 15.688653][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.688661][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.688665][ C0] ? __sk_destruct+0x383/0x780 [ 15.688673][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.688676][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.688679][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.688682][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.688688][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.688692][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.688695][ C0] ? default_idle+0x9/0x10 [ 15.688698][ C0] ? default_idle_call+0x6d/0xb0 [ 15.688700][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.688704][ C0] ? do_idle+0xf6/0x160 [ 15.688706][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.688709][ C0] ? rest_init+0x14b/0x260 [ 15.688711][ C0] ? start_kernel+0x350/0x410 [ 15.688717][ C0] __put_net+0x19/0x60 [ 15.688722][ C0] __sk_destruct+0x58a/0x780 [ 15.688726][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.688728][ C0] rcu_do_batch+0x34c/0xf20 [ 15.688732][ C0] ? find_held_lock+0x2b/0x80 [ 15.688736][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.688739][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.688743][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.688745][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.688750][ C0] rcu_core+0x2bb/0x500 [ 15.688755][ C0] handle_softirqs+0x218/0x620 [ 15.688760][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.688763][ C0] irq_exit_rcu+0xe/0x30 [ 15.688766][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.688770][ C0] [ 15.688771][ C0] [ 15.688772][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.688775][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.688780][ 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 [ 15.688783][ C0] RSP: 0018:ffffffffbae07df8 EFLAGS: 00000246 [ 15.688786][ C0] RAX: 000000000006dcff RBX: 1ffffffff75c0fc3 RCX: ffffffffba1905d9 [ 15.688788][ C0] RDX: 0000000000000000 RSI: ffffffffbac8f4e4 RDI: ffffffffba453be0 [ 15.688790][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ec66fa [ 15.688792][ C0] R10: ffff88802f6337d3 R11: ffffffffbae11288 R12: 0000000000000000 [ 15.688793][ C0] R13: ffffffffbae1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.688797][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.688802][ C0] default_idle+0x9/0x10 [ 15.688804][ C0] default_idle_call+0x6d/0xb0 [ 15.688807][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.688810][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.688814][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.688819][ C0] do_idle+0xf6/0x160 [ 15.688823][ C0] cpu_startup_entry+0x54/0x60 [ 15.688826][ C0] rest_init+0x14b/0x260 [ 15.688829][ C0] start_kernel+0x350/0x410 [ 15.688833][ C0] x86_64_start_reservations+0x18/0x30 [ 15.688839][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.688842][ C0] common_startup_64+0x13e/0x148 [ 15.688854][ C0] [ 15.707640][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.708019][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 15.708515][ C0] preempt_count: 101, expected: 0 [ 15.708725][ C0] RCU nest depth: 0, expected: 0 [ 15.708939][ C0] INFO: lockdep is turned off. [ 15.709149][ C0] Preemption disabled at: [ 15.709151][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.709626][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.709630][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.709632][ C0] Call Trace: [ 15.709633][ C0] [ 15.709635][ C0] dump_stack_lvl+0xb0/0xd0 [ 15.709640][ C0] __might_resched+0x360/0x5a0 [ 15.709649][ C0] down_write+0x72/0x210 [ 15.709652][ C0] ? __pfx_down_write+0x10/0x10 [ 15.709655][ C0] ? simple_recursive_removal+0x33/0x610 [ 15.709659][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.709664][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.709670][ C0] simple_recursive_removal+0x6a/0x610 [ 15.709673][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.709676][ C0] ? __pfx_remove_one+0x10/0x10 [ 15.709681][ C0] debugfs_remove+0x44/0x70 [ 15.709684][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.709689][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.709693][ C0] ? __sk_destruct+0x383/0x780 [ 15.709697][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.709700][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.709703][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.709707][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.709711][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.709715][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.709718][ C0] ? default_idle+0x9/0x10 [ 15.709721][ C0] ? default_idle_call+0x6d/0xb0 [ 15.709723][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.709726][ C0] ? do_idle+0xf6/0x160 [ 15.709728][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.709731][ C0] ? rest_init+0x14b/0x260 [ 15.709734][ C0] ? start_kernel+0x350/0x410 [ 15.709740][ C0] __put_net+0x19/0x60 [ 15.709743][ C0] __sk_destruct+0x58a/0x780 [ 15.709747][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.709750][ C0] rcu_do_batch+0x34c/0xf20 [ 15.709753][ C0] ? find_held_lock+0x2b/0x80 [ 15.709759][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.709762][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.709766][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.709769][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.709774][ C0] rcu_core+0x2bb/0x500 [ 15.709778][ C0] handle_softirqs+0x218/0x620 [ 15.709783][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.709786][ C0] irq_exit_rcu+0xe/0x30 [ 15.709789][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.709793][ C0] [ 15.709794][ C0] [ 15.709795][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.709798][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.709802][ 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 [ 15.709805][ C0] RSP: 0018:ffffffffbae07df8 EFLAGS: 00000246 [ 15.709807][ C0] RAX: 000000000006dcff RBX: 1ffffffff75c0fc3 RCX: ffffffffba1905d9 [ 15.709809][ C0] RDX: 0000000000000000 RSI: ffffffffbac8f4e4 RDI: ffffffffba453be0 [ 15.709811][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ec66fa [ 15.709813][ C0] R10: ffff88802f6337d3 R11: ffffffffbae11288 R12: 0000000000000000 [ 15.709814][ C0] R13: ffffffffbae1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.709818][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.709823][ C0] default_idle+0x9/0x10 [ 15.709825][ C0] default_idle_call+0x6d/0xb0 [ 15.709828][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.709831][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.709835][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.709840][ C0] do_idle+0xf6/0x160 [ 15.709845][ C0] cpu_startup_entry+0x54/0x60 [ 15.709848][ C0] rest_init+0x14b/0x260 [ 15.709852][ C0] start_kernel+0x350/0x410 [ 15.709856][ C0] x86_64_start_reservations+0x18/0x30 [ 15.709860][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.709864][ C0] common_startup_64+0x13e/0x148 [ 15.709871][ C0] [ 17.465148][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.465501][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 17.465803][ C1] preempt_count: 101, expected: 0 [ 17.465988][ C1] RCU nest depth: 0, expected: 0 [ 17.466160][ C1] INFO: lockdep is turned off. [ 17.466372][ C1] Preemption disabled at: [ 17.466374][ C1] [<0000000000000000>] 0x0 [ 17.466684][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.466690][ C1] Tainted: [W]=WARN [ 17.466691][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.466694][ C1] Call Trace: [ 17.466696][ C1] [ 17.466699][ C1] dump_stack_lvl+0xb0/0xd0 [ 17.466709][ C1] __might_resched+0x360/0x5a0 [ 17.466719][ C1] down_write+0x72/0x210 [ 17.466725][ C1] ? __pfx_down_write+0x10/0x10 [ 17.466728][ C1] ? simple_recursive_removal+0x33/0x610 [ 17.466733][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.466740][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 17.466748][ C1] simple_recursive_removal+0x6a/0x610 [ 17.466751][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 17.466754][ C1] ? __pfx_remove_one+0x10/0x10 [ 17.466761][ C1] debugfs_remove+0x44/0x70 [ 17.466764][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 17.466772][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.466776][ C1] ? __sk_destruct+0x383/0x780 [ 17.466783][ C1] ? rcu_do_batch+0x34c/0xf20 [ 17.466787][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.466790][ C1] ? irq_exit_rcu+0xe/0x30 [ 17.466796][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.466803][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.466808][ C1] ? pv_native_safe_halt+0xf/0x20 [ 17.466811][ C1] ? default_idle+0x9/0x10 [ 17.466814][ C1] ? default_idle_call+0x6d/0xb0 [ 17.466817][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.466822][ C1] ? do_idle+0xf6/0x160 [ 17.466824][ C1] ? cpu_startup_entry+0x54/0x60 [ 17.466827][ C1] ? start_secondary+0x213/0x2a0 [ 17.466831][ C1] ? common_startup_64+0x13e/0x148 [ 17.466839][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.466847][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.466852][ C1] __put_net+0x19/0x60 [ 17.466856][ C1] __sk_destruct+0x58a/0x780 [ 17.466860][ C1] ? rcu_do_batch+0x34a/0xf20 [ 17.466863][ C1] rcu_do_batch+0x34c/0xf20 [ 17.466867][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.466871][ C1] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.466879][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.466886][ C1] rcu_core+0x2bb/0x500 [ 17.466891][ C1] handle_softirqs+0x218/0x620 [ 17.466897][ C1] __irq_exit_rcu+0xfa/0x160 [ 17.466900][ C1] irq_exit_rcu+0xe/0x30 [ 17.466903][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.466907][ C1] [ 17.466908][ C1] [ 17.466910][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.466913][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.466918][ C1] 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.466921][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 17.466925][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffffba1905d9 [ 17.466928][ C1] RDX: ffffed1005ed66fb RSI: ffffffffba453b60 RDI: ffffffffb798d18f [ 17.466930][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ed66fa [ 17.466931][ C1] R10: ffff88802f6b37d3 R11: ffff888009774ad8 R12: 0000000000000000 [ 17.466933][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 17.466937][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.466941][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.466945][ C1] default_idle+0x9/0x10 [ 17.466947][ C1] default_idle_call+0x6d/0xb0 [ 17.466950][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 17.466953][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.466957][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.466961][ C1] do_idle+0xf6/0x160 [ 17.466965][ C1] cpu_startup_entry+0x54/0x60 [ 17.466968][ C1] start_secondary+0x213/0x2a0 [ 17.466970][ C1] ? __pfx_start_secondary+0x10/0x10 [ 17.466975][ C1] common_startup_64+0x13e/0x148 [ 17.466982][ C1]