[ 39.014557][ C2] [ 39.014846][ C2] ================================ [ 39.015270][ C2] WARNING: inconsistent lock state [ 39.015639][ C2] 6.15.0-virtme #1 Not tainted [ 39.016009][ C2] -------------------------------- [ 39.016431][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 39.016904][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 39.017388][ C2] ffffffffbb1c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 39.018107][ C2] {SOFTIRQ-ON-W} state was registered at: [ 39.018491][ C2] __lock_acquire+0x20b/0x7e0 [ 39.018890][ C2] lock_acquire.part.0+0xb6/0x240 [ 39.019288][ C2] _raw_spin_lock+0x33/0x40 [ 39.019662][ C2] simple_pin_fs+0x24/0x150 [ 39.020036][ C2] start_creating.part.0+0x52/0x310 [ 39.020442][ C2] debugfs_create_dir+0x6a/0x540 [ 39.020813][ C2] component_debug_init+0x17/0x30 [ 39.021244][ C2] do_one_initcall+0x8f/0x1e0 [ 39.021636][ C2] do_initcalls+0x176/0x280 [ 39.022004][ C2] kernel_init_freeable+0x22d/0x300 [ 39.022396][ C2] kernel_init+0x20/0x200 [ 39.022762][ C2] ret_from_fork+0x240/0x320 [ 39.023202][ C2] ret_from_fork_asm+0x1a/0x30 [ 39.023587][ C2] irq event stamp: 298508 [ 39.023882][ C2] hardirqs last enabled at (298508): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 39.024734][ C2] hardirqs last disabled at (298507): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 39.025592][ C2] softirqs last enabled at (297398): [] handle_softirqs+0x358/0x620 [ 39.026301][ C2] softirqs last disabled at (297435): [] __irq_exit_rcu+0xfa/0x160 [ 39.026954][ C2] [ 39.026954][ C2] other info that might help us debug this: [ 39.027531][ C2] Possible unsafe locking scenario: [ 39.027531][ C2] [ 39.028125][ C2] CPU0 [ 39.028399][ C2] ---- [ 39.028687][ C2] lock(pin_fs_lock); [ 39.028988][ C2] [ 39.029298][ C2] lock(pin_fs_lock); [ 39.029583][ C2] [ 39.029583][ C2] *** DEADLOCK *** [ 39.029583][ C2] [ 39.030192][ C2] 1 lock held by swapper/2/0: [ 39.030568][ C2] #0: ffffffffbaf774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 39.031278][ C2] [ 39.031278][ C2] stack backtrace: [ 39.031757][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 39.031766][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.031772][ C2] Call Trace: [ 39.031780][ C2] [ 39.031784][ C2] dump_stack_lvl+0x82/0xd0 [ 39.031799][ C2] print_usage_bug.part.0+0x25f/0x360 [ 39.031809][ C2] mark_lock_irq+0x343/0x400 [ 39.031818][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 39.031829][ C2] ? save_trace+0x52/0x170 [ 39.031841][ C2] mark_lock+0x174/0x2f0 [ 39.031848][ C2] mark_usage+0x46/0x150 [ 39.031853][ C2] __lock_acquire+0x20b/0x7e0 [ 39.031871][ C2] ? __lock_acquire+0x44d/0x7e0 [ 39.031879][ C2] lock_acquire.part.0+0xb6/0x240 [ 39.031885][ C2] ? simple_pin_fs+0x24/0x150 [ 39.031894][ C2] ? rcu_is_watching+0x12/0xc0 [ 39.031901][ C2] ? lock_acquire+0x10c/0x170 [ 39.031906][ C2] ? simple_pin_fs+0x24/0x150 [ 39.031914][ C2] _raw_spin_lock+0x33/0x40 [ 39.031921][ C2] ? simple_pin_fs+0x24/0x150 [ 39.031927][ C2] simple_pin_fs+0x24/0x150 [ 39.031934][ C2] debugfs_remove+0x35/0x70 [ 39.031943][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 39.031957][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 39.031963][ C2] ? __sk_destruct+0x383/0x780 [ 39.031983][ C2] ? rcu_do_batch+0x34c/0xf20 [ 39.031987][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 39.031992][ C2] ? irq_exit_rcu+0xe/0x30 [ 39.031998][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 39.032004][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 39.032013][ C2] ? pv_native_safe_halt+0xf/0x20 [ 39.032018][ C2] ? default_idle+0x9/0x10 [ 39.032022][ C2] ? default_idle_call+0x6d/0xb0 [ 39.032026][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 39.032031][ C2] ? do_idle+0xf6/0x160 [ 39.032035][ C2] ? cpu_startup_entry+0x54/0x60 [ 39.032039][ C2] ? start_secondary+0x213/0x2a0 [ 39.032045][ C2] ? common_startup_64+0x13e/0x148 [ 39.032100][ C2] __put_net+0x19/0x60 [ 39.032108][ C2] __sk_destruct+0x58a/0x780 [ 39.032115][ C2] ? rcu_do_batch+0x34a/0xf20 [ 39.032119][ C2] rcu_do_batch+0x34c/0xf20 [ 39.032125][ C2] ? find_held_lock+0x2b/0x80 [ 39.032132][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 39.032138][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 39.032145][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 39.032151][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 39.032159][ C2] rcu_core+0x2bb/0x500 [ 39.032166][ C2] handle_softirqs+0x218/0x620 [ 39.032176][ C2] __irq_exit_rcu+0xfa/0x160 [ 39.032181][ C2] irq_exit_rcu+0xe/0x30 [ 39.032186][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 39.032193][ C2] [ 39.032195][ C2] [ 39.032198][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 39.032203][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 39.032214][ 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 [ 39.032218][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 39.032230][ C2] RAX: 00000000000489d9 RBX: 1ffff92000028fc1 RCX: ffffffffb9f905d9 [ 39.032234][ C2] RDX: 0000000000000000 RSI: ffffffffbaa8f4e4 RDI: ffffffffba253be0 [ 39.032237][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 39.032240][ C2] R10: ffff8880361337d3 R11: ffffffffbac11288 R12: 0000000000000000 [ 39.032243][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 39.032250][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 39.032259][ C2] default_idle+0x9/0x10 [ 39.032264][ C2] default_idle_call+0x6d/0xb0 [ 39.032269][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 39.032275][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 39.032285][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 39.032293][ C2] do_idle+0xf6/0x160 [ 39.032299][ C2] cpu_startup_entry+0x54/0x60 [ 39.032304][ C2] start_secondary+0x213/0x2a0 [ 39.032309][ C2] ? __pfx_start_secondary+0x10/0x10 [ 39.032317][ C2] common_startup_64+0x13e/0x148 [ 39.032329][ C2] [ 39.069534][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 39.070506][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 39.071220][ C2] preempt_count: 101, expected: 0 [ 39.071598][ C2] RCU nest depth: 0, expected: 0 [ 39.072261][ C2] INFO: lockdep is turned off. [ 39.072649][ C2] Preemption disabled at: [ 39.072653][ C2] [<0000000000000000>] 0x0 [ 39.073379][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 39.073388][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 39.073391][ C2] Call Trace: [ 39.073395][ C2] [ 39.073399][ C2] dump_stack_lvl+0xb0/0xd0 [ 39.073413][ C2] __might_resched+0x360/0x5a0 [ 39.073429][ C2] down_write+0x72/0x210 [ 39.073436][ C2] ? __pfx_down_write+0x10/0x10 [ 39.073441][ C2] ? simple_recursive_removal+0x33/0x610 [ 39.073448][ C2] ? rcu_is_watching+0x12/0xc0 [ 39.073456][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 39.073468][ C2] simple_recursive_removal+0x6a/0x610 [ 39.073474][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 39.073479][ C2] ? __pfx_remove_one+0x10/0x10 [ 39.073488][ C2] debugfs_remove+0x44/0x70 [ 39.073493][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 39.073503][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 39.073509][ C2] ? __sk_destruct+0x383/0x780 [ 39.073516][ C2] ? rcu_do_batch+0x34c/0xf20 [ 39.073522][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 39.073527][ C2] ? irq_exit_rcu+0xe/0x30 [ 39.073534][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 39.073541][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 39.073547][ C2] ? pv_native_safe_halt+0xf/0x20 [ 39.073552][ C2] ? default_idle+0x9/0x10 [ 39.073557][ C2] ? default_idle_call+0x6d/0xb0 [ 39.073561][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 39.073567][ C2] ? do_idle+0xf6/0x160 [ 39.073571][ C2] ? cpu_startup_entry+0x54/0x60 [ 39.073575][ C2] ? start_secondary+0x213/0x2a0 [ 39.073581][ C2] ? common_startup_64+0x13e/0x148 [ 39.073593][ C2] __put_net+0x19/0x60 [ 39.073599][ C2] __sk_destruct+0x58a/0x780 [ 39.073609][ C2] ? rcu_do_batch+0x34a/0xf20 [ 39.073613][ C2] rcu_do_batch+0x34c/0xf20 [ 39.073620][ C2] ? find_held_lock+0x2b/0x80 [ 39.073629][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 39.073635][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 39.073642][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 39.073647][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 39.073655][ C2] rcu_core+0x2bb/0x500 [ 39.073663][ C2] handle_softirqs+0x218/0x620 [ 39.073673][ C2] __irq_exit_rcu+0xfa/0x160 [ 39.073678][ C2] irq_exit_rcu+0xe/0x30 [ 39.073682][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 39.073689][ C2] [ 39.073690][ C2] [ 39.073693][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 39.073699][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 39.073707][ 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 [ 39.073711][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 39.073718][ C2] RAX: 00000000000489d9 RBX: 1ffff92000028fc1 RCX: ffffffffb9f905d9 [ 39.073722][ C2] RDX: 0000000000000000 RSI: ffffffffbaa8f4e4 RDI: ffffffffba253be0 [ 39.073725][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 39.073728][ C2] R10: ffff8880361337d3 R11: ffffffffbac11288 R12: 0000000000000000 [ 39.073731][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 39.073739][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 39.073748][ C2] default_idle+0x9/0x10 [ 39.073753][ C2] default_idle_call+0x6d/0xb0 [ 39.073757][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 39.073763][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 39.073773][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 39.073781][ C2] do_idle+0xf6/0x160 [ 39.073787][ C2] cpu_startup_entry+0x54/0x60 [ 39.073793][ C2] start_secondary+0x213/0x2a0 [ 39.073798][ C2] ? __pfx_start_secondary+0x10/0x10 [ 39.073807][ C2] common_startup_64+0x13e/0x148 [ 39.073820][ C2] [ 43.552286][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 43.553097][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 43.553780][ C0] preempt_count: 101, expected: 0 [ 43.554168][ C0] RCU nest depth: 0, expected: 0 [ 43.554556][ C0] INFO: lockdep is turned off. [ 43.554953][ C0] Preemption disabled at: [ 43.554957][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 43.555867][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 43.555877][ C0] Tainted: [W]=WARN [ 43.555880][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 43.555883][ C0] Call Trace: [ 43.555887][ C0] [ 43.555891][ C0] dump_stack_lvl+0xb0/0xd0 [ 43.555902][ C0] __might_resched+0x360/0x5a0 [ 43.555913][ C0] down_write+0x72/0x210 [ 43.555920][ C0] ? __pfx_down_write+0x10/0x10 [ 43.555926][ C0] ? simple_recursive_removal+0x33/0x610 [ 43.555932][ C0] ? rcu_is_watching+0x12/0xc0 [ 43.555941][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 43.555951][ C0] simple_recursive_removal+0x6a/0x610 [ 43.555956][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 43.555962][ C0] ? __pfx_remove_one+0x10/0x10 [ 43.555972][ C0] debugfs_remove+0x44/0x70 [ 43.555977][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 43.555986][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 43.555992][ C0] ? __sk_destruct+0x383/0x780 [ 43.555999][ C0] ? rcu_do_batch+0x34c/0xf20 [ 43.556005][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 43.556010][ C0] ? irq_exit_rcu+0xe/0x30 [ 43.556016][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 43.556023][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 43.556029][ C0] ? pv_native_safe_halt+0xf/0x20 [ 43.556035][ C0] ? default_idle+0x9/0x10 [ 43.556040][ C0] ? default_idle_call+0x6d/0xb0 [ 43.556044][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 43.556050][ C0] ? do_idle+0xf6/0x160 [ 43.556054][ C0] ? cpu_startup_entry+0x54/0x60 [ 43.556059][ C0] ? rest_init+0x14b/0x260 [ 43.556067][ C0] ? start_kernel+0x350/0x410 [ 43.556075][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 43.556098][ C0] ? rcu_is_watching+0x12/0xc0 [ 43.556107][ C0] __put_net+0x19/0x60 [ 43.556113][ C0] __sk_destruct+0x58a/0x780 [ 43.556120][ C0] ? rcu_do_batch+0x34a/0xf20 [ 43.556125][ C0] rcu_do_batch+0x34c/0xf20 [ 43.556134][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 43.556142][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 43.556153][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 43.556163][ C0] rcu_core+0x2bb/0x500 [ 43.556172][ C0] handle_softirqs+0x218/0x620 [ 43.556182][ C0] __irq_exit_rcu+0xfa/0x160 [ 43.556188][ C0] irq_exit_rcu+0xe/0x30 [ 43.556193][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 43.556200][ C0] [ 43.556202][ C0] [ 43.556205][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 43.556211][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 43.556218][ 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 [ 43.556223][ C0] RSP: 0018:ffffffffbac07df8 EFLAGS: 00000246 [ 43.556230][ C0] RAX: 0000000000000000 RBX: 1ffffffff7580fc3 RCX: ffffffffb9f905d9 [ 43.556234][ C0] RDX: ffffed1006c066fb RSI: ffffffffba253b60 RDI: ffffffffb778d18f [ 43.556238][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c066fa [ 43.556241][ C0] R10: ffff8880360337d3 R11: ffff888001bda818 R12: 0000000000000000 [ 43.556244][ C0] R13: ffffffffbac1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 43.556253][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 43.556259][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 43.556267][ C0] default_idle+0x9/0x10 [ 43.556272][ C0] default_idle_call+0x6d/0xb0 [ 43.556277][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 43.556283][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 43.556291][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 43.556300][ C0] do_idle+0xf6/0x160 [ 43.556307][ C0] cpu_startup_entry+0x54/0x60 [ 43.556313][ C0] rest_init+0x14b/0x260 [ 43.556319][ C0] start_kernel+0x350/0x410 [ 43.556327][ C0] x86_64_start_reservations+0x18/0x30 [ 43.556335][ C0] x86_64_start_kernel+0xf8/0x150 [ 43.556342][ C0] common_startup_64+0x13e/0x148 [ 43.556360][ C0]