[ 14.409915][ C3] [ 14.410060][ C3] ================================ [ 14.410251][ C3] WARNING: inconsistent lock state [ 14.410447][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 14.410636][ C3] -------------------------------- [ 14.410824][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.411051][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.411289][ C3] ffffffff957bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.411616][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.411798][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.411987][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.412177][ C3] _raw_spin_lock+0x33/0x40 [ 14.412358][ C3] simple_pin_fs+0x24/0x150 [ 14.412541][ C3] start_creating.part.0+0x3f/0x2f0 [ 14.412721][ C3] debugfs_create_dir+0x6a/0x540 [ 14.412910][ C3] component_debug_init+0x17/0x30 [ 14.413093][ C3] do_one_initcall+0x8c/0x1e0 [ 14.413281][ C3] do_initcalls+0x176/0x280 [ 14.413462][ C3] kernel_init_freeable+0x22d/0x300 [ 14.413646][ C3] kernel_init+0x20/0x200 [ 14.413829][ C3] ret_from_fork+0x31/0x70 [ 14.414024][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.414204][ C3] irq event stamp: 276902 [ 14.414345][ C3] hardirqs last enabled at (276902): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.414711][ C3] hardirqs last disabled at (276901): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.415077][ C3] softirqs last enabled at (274960): [] handle_softirqs+0x358/0x620 [ 14.415400][ C3] softirqs last disabled at (274985): [] __irq_exit_rcu+0xfa/0x160 [ 14.415716][ C3] [ 14.415716][ C3] other info that might help us debug this: [ 14.415986][ C3] Possible unsafe locking scenario: [ 14.415986][ C3] [ 14.416255][ C3] CPU0 [ 14.416395][ C3] ---- [ 14.416534][ C3] lock(pin_fs_lock); [ 14.416672][ C3] [ 14.416810][ C3] lock(pin_fs_lock); [ 14.416947][ C3] [ 14.416947][ C3] *** DEADLOCK *** [ 14.416947][ C3] [ 14.417211][ C3] 1 lock held by swapper/3/0: [ 14.417400][ C3] #0: ffffffff95574480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.417730][ C3] [ 14.417730][ C3] stack backtrace: [ 14.417955][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.417960][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.417963][ C3] Call Trace: [ 14.417964][ C3] [ 14.417967][ C3] dump_stack_lvl+0x82/0xd0 [ 14.417972][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.417978][ C3] mark_lock_irq+0x343/0x400 [ 14.417983][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.417989][ C3] ? save_trace+0x52/0x170 [ 14.417993][ C3] mark_lock+0x174/0x2f0 [ 14.417997][ C3] mark_usage+0x46/0x150 [ 14.418001][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.418006][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.418009][ C3] ? simple_pin_fs+0x24/0x150 [ 14.418014][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.418021][ C3] ? lock_acquire+0x10c/0x170 [ 14.418024][ C3] ? simple_pin_fs+0x24/0x150 [ 14.418028][ C3] _raw_spin_lock+0x33/0x40 [ 14.418031][ C3] ? simple_pin_fs+0x24/0x150 [ 14.418035][ C3] simple_pin_fs+0x24/0x150 [ 14.418038][ C3] debugfs_remove+0x35/0x70 [ 14.418042][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.418047][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.418049][ C3] ? __sk_destruct+0x383/0x780 [ 14.418054][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.418057][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.418060][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.418062][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.418065][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.418069][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.418071][ C3] ? default_idle+0x9/0x10 [ 14.418073][ C3] ? default_idle_call+0x6d/0xb0 [ 14.418076][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.418080][ C3] ? do_idle+0xf6/0x160 [ 14.418083][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.418086][ C3] ? start_secondary+0x213/0x2a0 [ 14.418091][ C3] ? common_startup_64+0x13e/0x148 [ 14.418097][ C3] __put_net+0x19/0x60 [ 14.418101][ C3] __sk_destruct+0x58a/0x780 [ 14.418104][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.418107][ C3] rcu_do_batch+0x34c/0xf20 [ 14.418111][ C3] ? find_held_lock+0x2b/0x80 [ 14.418115][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.418118][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.418121][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.418125][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.418130][ C3] rcu_core+0x2bb/0x500 [ 14.418133][ C3] handle_softirqs+0x218/0x620 [ 14.418137][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.418140][ C3] irq_exit_rcu+0xe/0x30 [ 14.418142][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.418145][ C3] [ 14.418146][ C3] [ 14.418148][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.418150][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.418154][ C3] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.418157][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.418161][ C3] RAX: 0000000000043227 RBX: 1ffff9200002afc1 RCX: ffffffff94555a19 [ 14.418163][ C3] RDX: 0000000000000000 RSI: ffffffff95085f31 RDI: ffffffff94850ce0 [ 14.418165][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.418166][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.418168][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.418172][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.418177][ C3] default_idle+0x9/0x10 [ 14.418179][ C3] default_idle_call+0x6d/0xb0 [ 14.418181][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.418185][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.418189][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.418194][ C3] do_idle+0xf6/0x160 [ 14.418198][ C3] cpu_startup_entry+0x54/0x60 [ 14.418201][ C3] start_secondary+0x213/0x2a0 [ 14.418205][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.418210][ C3] common_startup_64+0x13e/0x148 [ 14.418216][ C3] [ 14.433204][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.433518][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.433821][ C3] preempt_count: 101, expected: 0 [ 14.434097][ C3] RCU nest depth: 0, expected: 0 [ 14.434283][ C3] INFO: lockdep is turned off. [ 14.434455][ C3] Preemption disabled at: [ 14.434457][ C3] [<0000000000000000>] 0x0 [ 14.434854][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.434858][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.434860][ C3] Call Trace: [ 14.434862][ C3] [ 14.434864][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.434870][ C3] __might_resched+0x360/0x5a0 [ 14.434876][ C3] down_write+0x72/0x210 [ 14.434880][ C3] ? __pfx_down_write+0x10/0x10 [ 14.434882][ C3] ? simple_recursive_removal+0x3a/0x860 [ 14.434886][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.434893][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.434897][ C3] simple_recursive_removal+0x166/0x860 [ 14.434899][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.434903][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.434907][ C3] debugfs_remove+0x44/0x70 [ 14.434910][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.434915][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.434918][ C3] ? __sk_destruct+0x383/0x780 [ 14.434923][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.434927][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.434930][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.434933][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.434938][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.434942][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.434945][ C3] ? default_idle+0x9/0x10 [ 14.434947][ C3] ? default_idle_call+0x6d/0xb0 [ 14.434949][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.434953][ C3] ? do_idle+0xf6/0x160 [ 14.434956][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.434959][ C3] ? start_secondary+0x213/0x2a0 [ 14.434964][ C3] ? common_startup_64+0x13e/0x148 [ 14.434969][ C3] __put_net+0x19/0x60 [ 14.434972][ C3] __sk_destruct+0x58a/0x780 [ 14.434976][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.434979][ C3] rcu_do_batch+0x34c/0xf20 [ 14.434982][ C3] ? find_held_lock+0x2b/0x80 [ 14.434987][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.434991][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.434995][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.434999][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.435003][ C3] rcu_core+0x2bb/0x500 [ 14.435006][ C3] handle_softirqs+0x218/0x620 [ 14.435011][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.435013][ C3] irq_exit_rcu+0xe/0x30 [ 14.435015][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.435019][ C3] [ 14.435020][ C3] [ 14.435021][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.435024][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.435027][ C3] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 14.435030][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.435033][ C3] RAX: 0000000000043227 RBX: 1ffff9200002afc1 RCX: ffffffff94555a19 [ 14.435035][ C3] RDX: 0000000000000000 RSI: ffffffff95085f31 RDI: ffffffff94850ce0 [ 14.435037][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.435039][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.435040][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.435044][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.435049][ C3] default_idle+0x9/0x10 [ 14.435052][ C3] default_idle_call+0x6d/0xb0 [ 14.435054][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.435058][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.435062][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.435066][ C3] do_idle+0xf6/0x160 [ 14.435070][ C3] cpu_startup_entry+0x54/0x60 [ 14.435074][ C3] start_secondary+0x213/0x2a0 [ 14.435077][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.435082][ C3] common_startup_64+0x13e/0x148 [ 14.435088][ C3] [ 16.062471][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.062867][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.063195][ C2] preempt_count: 101, expected: 0 [ 16.063403][ C2] RCU nest depth: 0, expected: 0 [ 16.063607][ C2] INFO: lockdep is turned off. [ 16.063806][ C2] Preemption disabled at: [ 16.063808][ C2] [<0000000000000000>] 0x0 [ 16.064174][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.064180][ C2] Tainted: [W]=WARN [ 16.064182][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.064184][ C2] Call Trace: [ 16.064187][ C2] [ 16.064188][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.064199][ C2] __might_resched+0x360/0x5a0 [ 16.064207][ C2] down_write+0x72/0x210 [ 16.064215][ C2] ? __pfx_down_write+0x10/0x10 [ 16.064217][ C2] ? simple_recursive_removal+0x3a/0x860 [ 16.064223][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.064231][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.064237][ C2] simple_recursive_removal+0x166/0x860 [ 16.064239][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.064244][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.064248][ C2] debugfs_remove+0x44/0x70 [ 16.064251][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.064257][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.064260][ C2] ? __sk_destruct+0x383/0x780 [ 16.064267][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.064272][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.064274][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.064279][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.064285][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.064289][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.064292][ C2] ? default_idle+0x9/0x10 [ 16.064295][ C2] ? default_idle_call+0x6d/0xb0 [ 16.064297][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.064303][ C2] ? do_idle+0xf6/0x160 [ 16.064306][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.064309][ C2] ? start_secondary+0x213/0x2a0 [ 16.064315][ C2] ? common_startup_64+0x13e/0x148 [ 16.064320][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.064325][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.064329][ C2] __put_net+0x19/0x60 [ 16.064333][ C2] __sk_destruct+0x58a/0x780 [ 16.064337][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.064340][ C2] rcu_do_batch+0x34c/0xf20 [ 16.064345][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.064349][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.064354][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.064360][ C2] rcu_core+0x2bb/0x500 [ 16.064363][ C2] handle_softirqs+0x218/0x620 [ 16.064368][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.064371][ C2] irq_exit_rcu+0xe/0x30 [ 16.064373][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.064376][ C2] [ 16.064377][ C2] [ 16.064379][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.064381][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.064386][ C2] Code: b0 b8 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 a3 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.064389][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.064393][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff94555a19 [ 16.064395][ C2] RDX: ffffed1006c2667b RSI: ffffffff94850c60 RDI: ffffffff91d84d8f [ 16.064397][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c2667a [ 16.064398][ C2] R10: ffff8880361333d3 R11: ffff888001d5a858 R12: 0000000000000000 [ 16.064400][ C2] R13: ffff888001bb2340 R14: dffffc0000000000 R15: 0000000000000000 [ 16.064404][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.064407][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.064412][ C2] default_idle+0x9/0x10 [ 16.064414][ C2] default_idle_call+0x6d/0xb0 [ 16.064416][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.064420][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.064424][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.064429][ C2] do_idle+0xf6/0x160 [ 16.064433][ C2] cpu_startup_entry+0x54/0x60 [ 16.064436][ C2] start_secondary+0x213/0x2a0 [ 16.064440][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.064444][ C2] common_startup_64+0x13e/0x148 [ 16.064450][ C2]