[ 17.464883][ C0] [ 17.465039][ C0] ================================ [ 17.465270][ C0] WARNING: inconsistent lock state [ 17.465507][ C0] 6.15.0-virtme #1 Not tainted [ 17.465727][ C0] -------------------------------- [ 17.465955][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.466231][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.466505][ C0] ffffffffafdc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.466928][ C0] {SOFTIRQ-ON-W} state was registered at: [ 17.467154][ C0] __lock_acquire+0x20b/0x7e0 [ 17.467391][ C0] lock_acquire.part.0+0xb6/0x240 [ 17.467614][ C0] _raw_spin_lock+0x33/0x40 [ 17.467858][ C0] simple_pin_fs+0x24/0x150 [ 17.468082][ C0] start_creating.part.0+0x52/0x310 [ 17.468309][ C0] debugfs_create_dir+0x6a/0x540 [ 17.468532][ C0] component_debug_init+0x17/0x30 [ 17.468769][ C0] do_one_initcall+0x8f/0x1e0 [ 17.469004][ C0] do_initcalls+0x176/0x280 [ 17.469241][ C0] kernel_init_freeable+0x22d/0x300 [ 17.469465][ C0] kernel_init+0x20/0x200 [ 17.469693][ C0] ret_from_fork+0x240/0x320 [ 17.469924][ C0] ret_from_fork_asm+0x1a/0x30 [ 17.470147][ C0] irq event stamp: 461530 [ 17.470315][ C0] hardirqs last enabled at (461530): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.470764][ C0] hardirqs last disabled at (461529): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.471210][ C0] softirqs last enabled at (459464): [] handle_softirqs+0x358/0x620 [ 17.471608][ C0] softirqs last disabled at (459471): [] __irq_exit_rcu+0xfa/0x160 [ 17.471997][ C0] [ 17.471997][ C0] other info that might help us debug this: [ 17.472331][ C0] Possible unsafe locking scenario: [ 17.472331][ C0] [ 17.472659][ C0] CPU0 [ 17.472828][ C0] ---- [ 17.472995][ C0] lock(pin_fs_lock); [ 17.473167][ C0] [ 17.473331][ C0] lock(pin_fs_lock); [ 17.473501][ C0] [ 17.473501][ C0] *** DEADLOCK *** [ 17.473501][ C0] [ 17.473828][ C0] 1 lock held by swapper/0/0: [ 17.474046][ C0] #0: ffffffffafb774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.474446][ C0] [ 17.474446][ C0] stack backtrace: [ 17.474727][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.474734][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.474739][ C0] Call Trace: [ 17.474741][ C0] [ 17.474743][ C0] dump_stack_lvl+0x82/0xd0 [ 17.474754][ C0] print_usage_bug.part.0+0x25f/0x360 [ 17.474758][ C0] mark_lock_irq+0x343/0x400 [ 17.474761][ C0] ? is_bpf_text_address+0x67/0x120 [ 17.474774][ C0] ? __lock_release+0x5d/0x170 [ 17.474778][ C0] ? save_trace+0x52/0x170 [ 17.474785][ C0] mark_lock+0x174/0x2f0 [ 17.474789][ C0] mark_usage+0x46/0x150 [ 17.474792][ C0] __lock_acquire+0x20b/0x7e0 [ 17.474795][ C0] ? __lock_acquire+0x44d/0x7e0 [ 17.474799][ C0] lock_acquire.part.0+0xb6/0x240 [ 17.474804][ C0] ? simple_pin_fs+0x24/0x150 [ 17.474808][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.474814][ C0] ? lock_acquire+0x10c/0x170 [ 17.474817][ C0] ? simple_pin_fs+0x24/0x150 [ 17.474821][ C0] _raw_spin_lock+0x33/0x40 [ 17.474824][ C0] ? simple_pin_fs+0x24/0x150 [ 17.474828][ C0] simple_pin_fs+0x24/0x150 [ 17.474832][ C0] debugfs_remove+0x35/0x70 [ 17.474835][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.474849][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.474853][ C0] ? __sk_destruct+0x383/0x780 [ 17.474866][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.474869][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.474872][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.474875][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.474882][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.474889][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.474893][ C0] ? default_idle+0x9/0x10 [ 17.474895][ C0] ? default_idle_call+0x6d/0xb0 [ 17.474898][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.474903][ C0] ? do_idle+0xf6/0x160 [ 17.474905][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.474907][ C0] ? rest_init+0x14b/0x260 [ 17.474910][ C0] ? start_kernel+0x350/0x410 [ 17.474915][ C0] __put_net+0x19/0x60 [ 17.474921][ C0] __sk_destruct+0x58a/0x780 [ 17.474925][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.474927][ C0] rcu_do_batch+0x34c/0xf20 [ 17.474931][ C0] ? find_held_lock+0x2b/0x80 [ 17.474935][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.474938][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.474942][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.474945][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.474950][ C0] rcu_core+0x2bb/0x500 [ 17.474955][ C0] handle_softirqs+0x218/0x620 [ 17.474960][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.474963][ C0] irq_exit_rcu+0xe/0x30 [ 17.474966][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.474969][ C0] [ 17.474970][ C0] [ 17.474972][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.474975][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.474979][ 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 [ 17.474981][ C0] RSP: 0018:ffffffffaf807df8 EFLAGS: 00000242 [ 17.474986][ C0] RAX: 00000000000702cd RBX: 1ffffffff5f00fc3 RCX: ffffffffaeb905d9 [ 17.474988][ C0] RDX: 0000000000000000 RSI: ffffffffaf68f4e4 RDI: ffffffffaee53be0 [ 17.474990][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e866fa [ 17.474992][ C0] R10: ffff88802f4337d3 R11: ffffffffaf811288 R12: 0000000000000000 [ 17.474993][ C0] R13: ffffffffaf81f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.474998][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.475002][ C0] default_idle+0x9/0x10 [ 17.475005][ C0] default_idle_call+0x6d/0xb0 [ 17.475007][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.475011][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.475014][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.475023][ C0] do_idle+0xf6/0x160 [ 17.475026][ C0] cpu_startup_entry+0x54/0x60 [ 17.475029][ C0] rest_init+0x14b/0x260 [ 17.475033][ C0] start_kernel+0x350/0x410 [ 17.475037][ C0] x86_64_start_reservations+0x18/0x30 [ 17.475043][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.475047][ C0] common_startup_64+0x13e/0x148 [ 17.475063][ C0] [ 17.494572][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.494962][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 17.495452][ C0] preempt_count: 101, expected: 0 [ 17.495682][ C0] RCU nest depth: 0, expected: 0 [ 17.496018][ C0] INFO: lockdep is turned off. [ 17.496227][ C0] Preemption disabled at: [ 17.496228][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 17.496843][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.496847][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.496849][ C0] Call Trace: [ 17.496851][ C0] [ 17.496853][ C0] dump_stack_lvl+0xb0/0xd0 [ 17.496859][ C0] __might_resched+0x360/0x5a0 [ 17.496868][ C0] down_write+0x72/0x210 [ 17.496873][ C0] ? __pfx_down_write+0x10/0x10 [ 17.496876][ C0] ? simple_recursive_removal+0x33/0x610 [ 17.496880][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.496885][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.496892][ C0] simple_recursive_removal+0x6a/0x610 [ 17.496895][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.496898][ C0] ? __pfx_remove_one+0x10/0x10 [ 17.496905][ C0] debugfs_remove+0x44/0x70 [ 17.496909][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.496914][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.496918][ C0] ? __sk_destruct+0x383/0x780 [ 17.496923][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.496926][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.496930][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.496934][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.496939][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.496943][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.496946][ C0] ? default_idle+0x9/0x10 [ 17.496948][ C0] ? default_idle_call+0x6d/0xb0 [ 17.496951][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.496955][ C0] ? do_idle+0xf6/0x160 [ 17.496957][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.496959][ C0] ? rest_init+0x14b/0x260 [ 17.496962][ C0] ? start_kernel+0x350/0x410 [ 17.496970][ C0] __put_net+0x19/0x60 [ 17.496974][ C0] __sk_destruct+0x58a/0x780 [ 17.496978][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.496980][ C0] rcu_do_batch+0x34c/0xf20 [ 17.496984][ C0] ? find_held_lock+0x2b/0x80 [ 17.496990][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.496993][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.496998][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.497001][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.497005][ C0] rcu_core+0x2bb/0x500 [ 17.497010][ C0] handle_softirqs+0x218/0x620 [ 17.497015][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.497018][ C0] irq_exit_rcu+0xe/0x30 [ 17.497021][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.497024][ C0] [ 17.497025][ C0] [ 17.497027][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.497030][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.497034][ 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 [ 17.497036][ C0] RSP: 0018:ffffffffaf807df8 EFLAGS: 00000242 [ 17.497040][ C0] RAX: 00000000000702cd RBX: 1ffffffff5f00fc3 RCX: ffffffffaeb905d9 [ 17.497041][ C0] RDX: 0000000000000000 RSI: ffffffffaf68f4e4 RDI: ffffffffaee53be0 [ 17.497043][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e866fa [ 17.497045][ C0] R10: ffff88802f4337d3 R11: ffffffffaf811288 R12: 0000000000000000 [ 17.497047][ C0] R13: ffffffffaf81f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.497051][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.497055][ C0] default_idle+0x9/0x10 [ 17.497058][ C0] default_idle_call+0x6d/0xb0 [ 17.497063][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.497066][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.497070][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.497075][ C0] do_idle+0xf6/0x160 [ 17.497079][ C0] cpu_startup_entry+0x54/0x60 [ 17.497082][ C0] rest_init+0x14b/0x260 [ 17.497085][ C0] start_kernel+0x350/0x410 [ 17.497089][ C0] x86_64_start_reservations+0x18/0x30 [ 17.497094][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.497098][ C0] common_startup_64+0x13e/0x148 [ 17.497107][ C0] [ 20.014867][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.015247][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 20.015573][ C2] preempt_count: 101, expected: 0 [ 20.015768][ C2] RCU nest depth: 0, expected: 0 [ 20.015962][ C2] INFO: lockdep is turned off. [ 20.016153][ C2] Preemption disabled at: [ 20.016155][ C2] [<0000000000000000>] 0x0 [ 20.016515][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 20.016521][ C2] Tainted: [W]=WARN [ 20.016522][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.016524][ C2] Call Trace: [ 20.016526][ C2] [ 20.016528][ C2] dump_stack_lvl+0xb0/0xd0 [ 20.016537][ C2] __might_resched+0x360/0x5a0 [ 20.016544][ C2] down_write+0x72/0x210 [ 20.016548][ C2] ? __pfx_down_write+0x10/0x10 [ 20.016552][ C2] ? simple_recursive_removal+0x33/0x610 [ 20.016556][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.016561][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.016566][ C2] simple_recursive_removal+0x6a/0x610 [ 20.016569][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.016573][ C2] ? __pfx_remove_one+0x10/0x10 [ 20.016581][ C2] debugfs_remove+0x44/0x70 [ 20.016584][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 20.016590][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.016593][ C2] ? __sk_destruct+0x383/0x780 [ 20.016599][ C2] ? rcu_do_batch+0x34c/0xf20 [ 20.016602][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.016608][ C2] ? irq_exit_rcu+0xe/0x30 [ 20.016612][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.016617][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.016621][ C2] ? pv_native_safe_halt+0xf/0x20 [ 20.016625][ C2] ? default_idle+0x9/0x10 [ 20.016627][ C2] ? default_idle_call+0x6d/0xb0 [ 20.016630][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.016634][ C2] ? do_idle+0xf6/0x160 [ 20.016636][ C2] ? cpu_startup_entry+0x54/0x60 [ 20.016638][ C2] ? start_secondary+0x213/0x2a0 [ 20.016642][ C2] ? common_startup_64+0x13e/0x148 [ 20.016647][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.016655][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.016659][ C2] __put_net+0x19/0x60 [ 20.016663][ C2] __sk_destruct+0x58a/0x780 [ 20.016667][ C2] ? rcu_do_batch+0x34a/0xf20 [ 20.016670][ C2] rcu_do_batch+0x34c/0xf20 [ 20.016675][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.016678][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 20.016690][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 20.016696][ C2] rcu_core+0x2bb/0x500 [ 20.016700][ C2] handle_softirqs+0x218/0x620 [ 20.016706][ C2] __irq_exit_rcu+0xfa/0x160 [ 20.016709][ C2] irq_exit_rcu+0xe/0x30 [ 20.016711][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.016715][ C2] [ 20.016716][ C2] [ 20.016718][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.016721][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.016725][ C2] 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 [ 20.016728][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 20.016732][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffaeb905d9 [ 20.016734][ C2] RDX: ffffed1005ea66fb RSI: ffffffffaee53b60 RDI: ffffffffac38d18f [ 20.016736][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ea66fa [ 20.016738][ C2] R10: ffff88802f5337d3 R11: ffffffffb24ecde8 R12: 0000000000000000 [ 20.016740][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 20.016744][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.016747][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.016751][ C2] default_idle+0x9/0x10 [ 20.016753][ C2] default_idle_call+0x6d/0xb0 [ 20.016756][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 20.016759][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.016763][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 20.016767][ C2] do_idle+0xf6/0x160 [ 20.016771][ C2] cpu_startup_entry+0x54/0x60 [ 20.016774][ C2] start_secondary+0x213/0x2a0 [ 20.016776][ C2] ? __pfx_start_secondary+0x10/0x10 [ 20.016781][ C2] common_startup_64+0x13e/0x148 [ 20.016788][ C2]