[ 14.385134][ C0] [ 14.385272][ C0] ================================ [ 14.385480][ C0] WARNING: inconsistent lock state [ 14.385686][ C0] 6.15.0-virtme #1 Not tainted [ 14.385900][ C0] -------------------------------- [ 14.386109][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.386367][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.386622][ C0] ffffffffa53c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.386986][ C0] {SOFTIRQ-ON-W} state was registered at: [ 14.387188][ C0] __lock_acquire+0x20b/0x7e0 [ 14.387397][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.387599][ C0] _raw_spin_lock+0x33/0x40 [ 14.387806][ C0] simple_pin_fs+0x24/0x150 [ 14.388009][ C0] start_creating.part.0+0x52/0x310 [ 14.388215][ C0] debugfs_create_dir+0x6a/0x540 [ 14.388420][ C0] component_debug_init+0x17/0x30 [ 14.388624][ C0] do_one_initcall+0x8f/0x1e0 [ 14.388830][ C0] do_initcalls+0x176/0x280 [ 14.389033][ C0] kernel_init_freeable+0x22d/0x300 [ 14.389236][ C0] kernel_init+0x20/0x200 [ 14.389439][ C0] ret_from_fork+0x240/0x320 [ 14.389651][ C0] ret_from_fork_asm+0x1a/0x30 [ 14.389862][ C0] irq event stamp: 417372 [ 14.390023][ C0] hardirqs last enabled at (417372): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.390427][ C0] hardirqs last disabled at (417371): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.390832][ C0] softirqs last enabled at (415328): [] handle_softirqs+0x358/0x620 [ 14.391188][ C0] softirqs last disabled at (415335): [] __irq_exit_rcu+0xfa/0x160 [ 14.391545][ C0] [ 14.391545][ C0] other info that might help us debug this: [ 14.391845][ C0] Possible unsafe locking scenario: [ 14.391845][ C0] [ 14.392144][ C0] CPU0 [ 14.392297][ C0] ---- [ 14.392452][ C0] lock(pin_fs_lock); [ 14.392607][ C0] [ 14.392760][ C0] lock(pin_fs_lock); [ 14.392920][ C0] [ 14.392920][ C0] *** DEADLOCK *** [ 14.392920][ C0] [ 14.393221][ C0] 1 lock held by swapper/0/0: [ 14.393425][ C0] #0: ffffffffa51774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.393795][ C0] [ 14.393795][ C0] stack backtrace: [ 14.394048][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.394053][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.394055][ C0] Call Trace: [ 14.394057][ C0] [ 14.394058][ C0] dump_stack_lvl+0x82/0xd0 [ 14.394065][ C0] print_usage_bug.part.0+0x25f/0x360 [ 14.394069][ C0] mark_lock_irq+0x343/0x400 [ 14.394073][ C0] ? is_bpf_text_address+0x67/0x120 [ 14.394078][ C0] ? __lock_release+0x5d/0x170 [ 14.394082][ C0] ? save_trace+0x52/0x170 [ 14.394087][ C0] mark_lock+0x174/0x2f0 [ 14.394091][ C0] mark_usage+0x46/0x150 [ 14.394094][ C0] __lock_acquire+0x20b/0x7e0 [ 14.394097][ C0] ? __lock_acquire+0x44d/0x7e0 [ 14.394100][ C0] ? pcim_iomap_regions+0x16/0x1e0 [ 14.394106][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.394109][ C0] ? simple_pin_fs+0x24/0x150 [ 14.394113][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.394117][ C0] ? lock_acquire+0x10c/0x170 [ 14.394120][ C0] ? simple_pin_fs+0x24/0x150 [ 14.394124][ C0] _raw_spin_lock+0x33/0x40 [ 14.394128][ C0] ? simple_pin_fs+0x24/0x150 [ 14.394131][ C0] simple_pin_fs+0x24/0x150 [ 14.394135][ C0] debugfs_remove+0x35/0x70 [ 14.394138][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.394143][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.394147][ C0] ? __sk_destruct+0x383/0x780 [ 14.394152][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.394155][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.394158][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.394161][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.394166][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.394169][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.394172][ C0] ? default_idle+0x9/0x10 [ 14.394175][ C0] ? default_idle_call+0x6d/0xb0 [ 14.394177][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.394180][ C0] ? do_idle+0xf6/0x160 [ 14.394183][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.394185][ C0] ? rest_init+0x14b/0x260 [ 14.394188][ C0] ? start_kernel+0x350/0x410 [ 14.394193][ C0] __put_net+0x19/0x60 [ 14.394197][ C0] __sk_destruct+0x58a/0x780 [ 14.394201][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.394204][ C0] rcu_do_batch+0x34c/0xf20 [ 14.394207][ C0] ? find_held_lock+0x2b/0x80 [ 14.394211][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.394214][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.394218][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.394220][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.394225][ C0] rcu_core+0x2bb/0x500 [ 14.394229][ C0] handle_softirqs+0x218/0x620 [ 14.394235][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.394238][ C0] irq_exit_rcu+0xe/0x30 [ 14.394240][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.394244][ C0] [ 14.394245][ C0] [ 14.394247][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.394249][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.394253][ 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 [ 14.394256][ C0] RSP: 0018:ffffffffa4e07df8 EFLAGS: 00000246 [ 14.394259][ C0] RAX: 0000000000065665 RBX: 1ffffffff49c0fc3 RCX: ffffffffa41905d9 [ 14.394261][ C0] RDX: 0000000000000000 RSI: ffffffffa4c8f4e4 RDI: ffffffffa4453be0 [ 14.394263][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.394264][ C0] R10: ffff8880360337d3 R11: ffffffffa4e11288 R12: 0000000000000000 [ 14.394266][ C0] R13: ffffffffa4e1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.394270][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.394275][ C0] default_idle+0x9/0x10 [ 14.394277][ C0] default_idle_call+0x6d/0xb0 [ 14.394280][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.394283][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.394287][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.394292][ C0] do_idle+0xf6/0x160 [ 14.394295][ C0] cpu_startup_entry+0x54/0x60 [ 14.394298][ C0] rest_init+0x14b/0x260 [ 14.394302][ C0] start_kernel+0x350/0x410 [ 14.394306][ C0] x86_64_start_reservations+0x18/0x30 [ 14.394310][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.394314][ C0] common_startup_64+0x13e/0x148 [ 14.394323][ C0] [ 14.411748][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.412077][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 14.412407][ C0] preempt_count: 101, expected: 0 [ 14.412851][ C0] RCU nest depth: 0, expected: 0 [ 14.413044][ C0] INFO: lockdep is turned off. [ 14.413235][ C0] Preemption disabled at: [ 14.413237][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 14.413800][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.413804][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.413806][ C0] Call Trace: [ 14.413807][ C0] [ 14.413809][ C0] dump_stack_lvl+0xb0/0xd0 [ 14.413814][ C0] __might_resched+0x360/0x5a0 [ 14.413821][ C0] down_write+0x72/0x210 [ 14.413825][ C0] ? __pfx_down_write+0x10/0x10 [ 14.413828][ C0] ? simple_recursive_removal+0x33/0x610 [ 14.413831][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.413835][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.413841][ C0] simple_recursive_removal+0x6a/0x610 [ 14.413844][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.413847][ C0] ? __pfx_remove_one+0x10/0x10 [ 14.413852][ C0] debugfs_remove+0x44/0x70 [ 14.413855][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.413860][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.413864][ C0] ? __sk_destruct+0x383/0x780 [ 14.413868][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.413871][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.413874][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.413879][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.413883][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.413887][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.413890][ C0] ? default_idle+0x9/0x10 [ 14.413893][ C0] ? default_idle_call+0x6d/0xb0 [ 14.413895][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.413898][ C0] ? do_idle+0xf6/0x160 [ 14.413900][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.413903][ C0] ? rest_init+0x14b/0x260 [ 14.413906][ C0] ? start_kernel+0x350/0x410 [ 14.413912][ C0] __put_net+0x19/0x60 [ 14.413915][ C0] __sk_destruct+0x58a/0x780 [ 14.413920][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.413922][ C0] rcu_do_batch+0x34c/0xf20 [ 14.413926][ C0] ? find_held_lock+0x2b/0x80 [ 14.413931][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.413934][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.413938][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.413941][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.413946][ C0] rcu_core+0x2bb/0x500 [ 14.413950][ C0] handle_softirqs+0x218/0x620 [ 14.413955][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.413958][ C0] irq_exit_rcu+0xe/0x30 [ 14.413961][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.413964][ C0] [ 14.413966][ C0] [ 14.413967][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.413970][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.413973][ 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 [ 14.413976][ C0] RSP: 0018:ffffffffa4e07df8 EFLAGS: 00000246 [ 14.413979][ C0] RAX: 0000000000065665 RBX: 1ffffffff49c0fc3 RCX: ffffffffa41905d9 [ 14.413981][ C0] RDX: 0000000000000000 RSI: ffffffffa4c8f4e4 RDI: ffffffffa4453be0 [ 14.413982][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.413984][ C0] R10: ffff8880360337d3 R11: ffffffffa4e11288 R12: 0000000000000000 [ 14.413986][ C0] R13: ffffffffa4e1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.413990][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.413995][ C0] default_idle+0x9/0x10 [ 14.413997][ C0] default_idle_call+0x6d/0xb0 [ 14.414000][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.414003][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.414007][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.414012][ C0] do_idle+0xf6/0x160 [ 14.414015][ C0] cpu_startup_entry+0x54/0x60 [ 14.414018][ C0] rest_init+0x14b/0x260 [ 14.414021][ C0] start_kernel+0x350/0x410 [ 14.414025][ C0] x86_64_start_reservations+0x18/0x30 [ 14.414030][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.414034][ C0] common_startup_64+0x13e/0x148 [ 14.414043][ C0] [ 15.952875][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.953207][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.953503][ C3] preempt_count: 101, expected: 0 [ 15.953682][ C3] RCU nest depth: 0, expected: 0 [ 15.953856][ C3] INFO: lockdep is turned off. [ 15.954027][ C3] Preemption disabled at: [ 15.954029][ C3] [<0000000000000000>] 0x0 [ 15.954334][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 15.954340][ C3] Tainted: [W]=WARN [ 15.954342][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.954343][ C3] Call Trace: [ 15.954345][ C3] [ 15.954347][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.954356][ C3] __might_resched+0x360/0x5a0 [ 15.954363][ C3] down_write+0x72/0x210 [ 15.954367][ C3] ? __pfx_down_write+0x10/0x10 [ 15.954370][ C3] ? simple_recursive_removal+0x33/0x610 [ 15.954375][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.954380][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.954386][ C3] simple_recursive_removal+0x6a/0x610 [ 15.954388][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.954392][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.954397][ C3] debugfs_remove+0x44/0x70 [ 15.954400][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.954406][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.954410][ C3] ? __sk_destruct+0x383/0x780 [ 15.954415][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.954419][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.954422][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.954426][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.954432][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.954435][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.954439][ C3] ? default_idle+0x9/0x10 [ 15.954441][ C3] ? default_idle_call+0x6d/0xb0 [ 15.954444][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.954447][ C3] ? do_idle+0xf6/0x160 [ 15.954450][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.954452][ C3] ? start_secondary+0x213/0x2a0 [ 15.954456][ C3] ? common_startup_64+0x13e/0x148 [ 15.954461][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 15.954466][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.954470][ C3] __put_net+0x19/0x60 [ 15.954474][ C3] __sk_destruct+0x58a/0x780 [ 15.954478][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.954480][ C3] rcu_do_batch+0x34c/0xf20 [ 15.954485][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.954488][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 15.954494][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.954500][ C3] rcu_core+0x2bb/0x500 [ 15.954504][ C3] handle_softirqs+0x218/0x620 [ 15.954509][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.954512][ C3] irq_exit_rcu+0xe/0x30 [ 15.954515][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.954519][ C3] [ 15.954520][ C3] [ 15.954522][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.954524][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.954529][ C3] 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.954531][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.954535][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffa41905d9 [ 15.954537][ C3] RDX: ffffed1006c366fb RSI: ffffffffa4453b60 RDI: ffffffffa198d18f [ 15.954539][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 15.954540][ C3] R10: ffff8880361b37d3 R11: ffffffffa7acbe00 R12: 0000000000000000 [ 15.954542][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.954546][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.954549][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.954553][ C3] default_idle+0x9/0x10 [ 15.954556][ C3] default_idle_call+0x6d/0xb0 [ 15.954558][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.954562][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.954565][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.954570][ C3] do_idle+0xf6/0x160 [ 15.954573][ C3] cpu_startup_entry+0x54/0x60 [ 15.954576][ C3] start_secondary+0x213/0x2a0 [ 15.954579][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.954583][ C3] common_startup_64+0x13e/0x148 [ 15.954593][ C3]