[ 15.299817][ C0] [ 15.299994][ C0] ================================ [ 15.300242][ C0] WARNING: inconsistent lock state [ 15.300485][ C0] 6.15.0-virtme #1 Not tainted [ 15.300735][ C0] -------------------------------- [ 15.300984][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.301286][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.301589][ C0] ffffffffb37c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.302018][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.302259][ C0] __lock_acquire+0x20b/0x7e0 [ 15.302507][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.302748][ C0] _raw_spin_lock+0x33/0x40 [ 15.302993][ C0] simple_pin_fs+0x24/0x150 [ 15.303234][ C0] start_creating.part.0+0x52/0x310 [ 15.303477][ C0] debugfs_create_dir+0x6a/0x540 [ 15.303716][ C0] component_debug_init+0x17/0x30 [ 15.303958][ C0] do_one_initcall+0x8f/0x1e0 [ 15.304201][ C0] do_initcalls+0x176/0x280 [ 15.304441][ C0] kernel_init_freeable+0x22d/0x300 [ 15.304681][ C0] kernel_init+0x20/0x200 [ 15.304926][ C0] ret_from_fork+0x240/0x320 [ 15.305168][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.305408][ C0] irq event stamp: 442172 [ 15.305594][ C0] hardirqs last enabled at (442172): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.306070][ C0] hardirqs last disabled at (442171): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.306549][ C0] softirqs last enabled at (441638): [] handle_softirqs+0x358/0x620 [ 15.306971][ C0] softirqs last disabled at (441645): [] __irq_exit_rcu+0xfa/0x160 [ 15.307392][ C0] [ 15.307392][ C0] other info that might help us debug this: [ 15.307749][ C0] Possible unsafe locking scenario: [ 15.307749][ C0] [ 15.308106][ C0] CPU0 [ 15.308286][ C0] ---- [ 15.308467][ C0] lock(pin_fs_lock); [ 15.308652][ C0] [ 15.308837][ C0] lock(pin_fs_lock); [ 15.309023][ C0] [ 15.309023][ C0] *** DEADLOCK *** [ 15.309023][ C0] [ 15.309381][ C0] 1 lock held by swapper/0/0: [ 15.309624][ C0] #0: ffffffffb35774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.310056][ C0] [ 15.310056][ C0] stack backtrace: [ 15.310367][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.310372][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.310374][ C0] Call Trace: [ 15.310376][ C0] [ 15.310377][ C0] dump_stack_lvl+0x82/0xd0 [ 15.310384][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.310389][ C0] mark_lock_irq+0x343/0x400 [ 15.310392][ C0] ? is_bpf_text_address+0x67/0x120 [ 15.310397][ C0] ? __lock_release+0x5d/0x170 [ 15.310401][ C0] ? save_trace+0x52/0x170 [ 15.310406][ C0] mark_lock+0x174/0x2f0 [ 15.310410][ C0] mark_usage+0x46/0x150 [ 15.310413][ C0] __lock_acquire+0x20b/0x7e0 [ 15.310416][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.310420][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.310423][ C0] ? simple_pin_fs+0x24/0x150 [ 15.310428][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.310432][ C0] ? lock_acquire+0x10c/0x170 [ 15.310435][ C0] ? simple_pin_fs+0x24/0x150 [ 15.310439][ C0] _raw_spin_lock+0x33/0x40 [ 15.310443][ C0] ? simple_pin_fs+0x24/0x150 [ 15.310446][ C0] simple_pin_fs+0x24/0x150 [ 15.310450][ C0] debugfs_remove+0x35/0x70 [ 15.310454][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.310460][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.310463][ C0] ? __sk_destruct+0x383/0x780 [ 15.310469][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.310471][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.310475][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.310478][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.310483][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.310487][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.310490][ C0] ? default_idle+0x9/0x10 [ 15.310493][ C0] ? default_idle_call+0x6d/0xb0 [ 15.310495][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.310499][ C0] ? do_idle+0xf6/0x160 [ 15.310501][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.310504][ C0] ? rest_init+0x14b/0x260 [ 15.310506][ C0] ? start_kernel+0x350/0x410 [ 15.310513][ C0] __put_net+0x19/0x60 [ 15.310516][ C0] __sk_destruct+0x58a/0x780 [ 15.310520][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.310523][ C0] rcu_do_batch+0x34c/0xf20 [ 15.310526][ C0] ? find_held_lock+0x2b/0x80 [ 15.310530][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.310533][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.310537][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.310540][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.310544][ C0] rcu_core+0x2bb/0x500 [ 15.310548][ C0] handle_softirqs+0x218/0x620 [ 15.310553][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.310556][ C0] irq_exit_rcu+0xe/0x30 [ 15.310559][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.310563][ C0] [ 15.310564][ C0] [ 15.310565][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.310568][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.310572][ 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.310575][ C0] RSP: 0018:ffffffffb3207df8 EFLAGS: 00000246 [ 15.310578][ C0] RAX: 000000000006bd2b RBX: 1ffffffff6640fc3 RCX: ffffffffb25905d9 [ 15.310580][ C0] RDX: 0000000000000000 RSI: ffffffffb308f4e4 RDI: ffffffffb2853be0 [ 15.310582][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 15.310583][ C0] R10: ffff8880360337d3 R11: ffffffffb3211288 R12: 0000000000000000 [ 15.310585][ C0] R13: ffffffffb321f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.310589][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.310594][ C0] default_idle+0x9/0x10 [ 15.310596][ C0] default_idle_call+0x6d/0xb0 [ 15.310599][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.310602][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.310606][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.310612][ C0] do_idle+0xf6/0x160 [ 15.310615][ C0] cpu_startup_entry+0x54/0x60 [ 15.310618][ C0] rest_init+0x14b/0x260 [ 15.310622][ C0] start_kernel+0x350/0x410 [ 15.310626][ C0] x86_64_start_reservations+0x18/0x30 [ 15.310631][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.310634][ C0] common_startup_64+0x13e/0x148 [ 15.310644][ C0] [ 15.330802][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.331231][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 15.331631][ C0] preempt_count: 101, expected: 0 [ 15.331862][ C0] RCU nest depth: 0, expected: 0 [ 15.332090][ C0] INFO: lockdep is turned off. [ 15.332326][ C0] Preemption disabled at: [ 15.332328][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.332859][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.332864][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.332866][ C0] Call Trace: [ 15.332868][ C0] [ 15.332869][ C0] dump_stack_lvl+0xb0/0xd0 [ 15.332876][ C0] __might_resched+0x360/0x5a0 [ 15.332883][ C0] down_write+0x72/0x210 [ 15.332887][ C0] ? __pfx_down_write+0x10/0x10 [ 15.332890][ C0] ? simple_recursive_removal+0x33/0x610 [ 15.332894][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.332899][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.332905][ C0] simple_recursive_removal+0x6a/0x610 [ 15.332908][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.332911][ C0] ? __pfx_remove_one+0x10/0x10 [ 15.332916][ C0] debugfs_remove+0x44/0x70 [ 15.332919][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.332925][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.332928][ C0] ? __sk_destruct+0x383/0x780 [ 15.332934][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.332937][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.332941][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.332946][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.332950][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.332954][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.332957][ C0] ? default_idle+0x9/0x10 [ 15.332960][ C0] ? default_idle_call+0x6d/0xb0 [ 15.332963][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.332966][ C0] ? do_idle+0xf6/0x160 [ 15.332968][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.332971][ C0] ? rest_init+0x14b/0x260 [ 15.332974][ C0] ? start_kernel+0x350/0x410 [ 15.332981][ C0] __put_net+0x19/0x60 [ 15.332985][ C0] __sk_destruct+0x58a/0x780 [ 15.332989][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.332991][ C0] rcu_do_batch+0x34c/0xf20 [ 15.332995][ C0] ? find_held_lock+0x2b/0x80 [ 15.333001][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.333004][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.333009][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.333012][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.333016][ C0] rcu_core+0x2bb/0x500 [ 15.333021][ C0] handle_softirqs+0x218/0x620 [ 15.333026][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.333029][ C0] irq_exit_rcu+0xe/0x30 [ 15.333032][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.333035][ C0] [ 15.333037][ C0] [ 15.333038][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.333041][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.333045][ 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.333048][ C0] RSP: 0018:ffffffffb3207df8 EFLAGS: 00000246 [ 15.333051][ C0] RAX: 000000000006bd2b RBX: 1ffffffff6640fc3 RCX: ffffffffb25905d9 [ 15.333053][ C0] RDX: 0000000000000000 RSI: ffffffffb308f4e4 RDI: ffffffffb2853be0 [ 15.333055][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 15.333057][ C0] R10: ffff8880360337d3 R11: ffffffffb3211288 R12: 0000000000000000 [ 15.333058][ C0] R13: ffffffffb321f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.333062][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.333067][ C0] default_idle+0x9/0x10 [ 15.333070][ C0] default_idle_call+0x6d/0xb0 [ 15.333072][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.333075][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.333079][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.333084][ C0] do_idle+0xf6/0x160 [ 15.333088][ C0] cpu_startup_entry+0x54/0x60 [ 15.333091][ C0] rest_init+0x14b/0x260 [ 15.333094][ C0] start_kernel+0x350/0x410 [ 15.333098][ C0] x86_64_start_reservations+0x18/0x30 [ 15.333102][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.333106][ C0] common_startup_64+0x13e/0x148 [ 15.333119][ C0] [ 17.086146][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.086490][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.086792][ C3] preempt_count: 101, expected: 0 [ 17.086965][ C3] RCU nest depth: 0, expected: 0 [ 17.087154][ C3] INFO: lockdep is turned off. [ 17.087332][ C3] Preemption disabled at: [ 17.087335][ C3] [<0000000000000000>] 0x0 [ 17.087643][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.087649][ C3] Tainted: [W]=WARN [ 17.087650][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.087653][ C3] Call Trace: [ 17.087654][ C3] [ 17.087656][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.087664][ C3] __might_resched+0x360/0x5a0 [ 17.087672][ C3] down_write+0x72/0x210 [ 17.087676][ C3] ? __pfx_down_write+0x10/0x10 [ 17.087679][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.087683][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.087689][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.087694][ C3] simple_recursive_removal+0x6a/0x610 [ 17.087697][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.087701][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.087706][ C3] debugfs_remove+0x44/0x70 [ 17.087710][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.087715][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.087719][ C3] ? __sk_destruct+0x383/0x780 [ 17.087724][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.087727][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.087731][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.087735][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.087740][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.087744][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.087747][ C3] ? default_idle+0x9/0x10 [ 17.087750][ C3] ? default_idle_call+0x6d/0xb0 [ 17.087752][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.087756][ C3] ? do_idle+0xf6/0x160 [ 17.087758][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.087761][ C3] ? start_secondary+0x213/0x2a0 [ 17.087764][ C3] ? common_startup_64+0x13e/0x148 [ 17.087770][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.087774][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.087778][ C3] __put_net+0x19/0x60 [ 17.087782][ C3] __sk_destruct+0x58a/0x780 [ 17.087786][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.087788][ C3] rcu_do_batch+0x34c/0xf20 [ 17.087793][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.087796][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.087802][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.087808][ C3] rcu_core+0x2bb/0x500 [ 17.087812][ C3] handle_softirqs+0x218/0x620 [ 17.087817][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.087820][ C3] irq_exit_rcu+0xe/0x30 [ 17.087823][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.087827][ C3] [ 17.087828][ C3] [ 17.087830][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.087832][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.087837][ 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 [ 17.087839][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.087843][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffb25905d9 [ 17.087845][ C3] RDX: ffffed1006c366fb RSI: ffffffffb2853b60 RDI: ffffffffafd8d18f [ 17.087847][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 17.087849][ C3] R10: ffff8880361b37d3 R11: ffff888001ef8558 R12: 0000000000000000 [ 17.087850][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.087854][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.087858][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.087862][ C3] default_idle+0x9/0x10 [ 17.087865][ C3] default_idle_call+0x6d/0xb0 [ 17.087867][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.087870][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.087874][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.087878][ C3] do_idle+0xf6/0x160 [ 17.087882][ C3] cpu_startup_entry+0x54/0x60 [ 17.087884][ C3] start_secondary+0x213/0x2a0 [ 17.087887][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.087892][ C3] common_startup_64+0x13e/0x148 [ 17.087899][ C3]