[ 14.689877][ C2] [ 14.690069][ C2] ================================ [ 14.690247][ C2] WARNING: inconsistent lock state [ 14.690420][ C2] 6.15.0-virtme #1 Not tainted [ 14.690590][ C2] -------------------------------- [ 14.690759][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.690969][ C2] ksoftirqd/2/27 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.691179][ C2] ffffffffa87c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.691479][ C2] {SOFTIRQ-ON-W} state was registered at: [ 14.691647][ C2] __lock_acquire+0x20b/0x7e0 [ 14.691820][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.691991][ C2] _raw_spin_lock+0x33/0x40 [ 14.692161][ C2] simple_pin_fs+0x24/0x150 [ 14.692330][ C2] start_creating.part.0+0x52/0x310 [ 14.692499][ C2] debugfs_create_dir+0x6a/0x540 [ 14.692669][ C2] component_debug_init+0x17/0x30 [ 14.692839][ C2] do_one_initcall+0x8f/0x1e0 [ 14.693010][ C2] do_initcalls+0x176/0x280 [ 14.693177][ C2] kernel_init_freeable+0x22d/0x300 [ 14.693344][ C2] kernel_init+0x20/0x200 [ 14.693512][ C2] ret_from_fork+0x240/0x320 [ 14.693681][ C2] ret_from_fork_asm+0x1a/0x30 [ 14.693848][ C2] irq event stamp: 218426 [ 14.693977][ C2] hardirqs last enabled at (218426): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.694309][ C2] hardirqs last disabled at (218425): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.694644][ C2] softirqs last enabled at (218396): [] handle_softirqs+0x358/0x620 [ 14.694939][ C2] softirqs last disabled at (218399): [] run_ksoftirqd+0x3f/0x70 [ 14.695232][ C2] [ 14.695232][ C2] other info that might help us debug this: [ 14.695483][ C2] Possible unsafe locking scenario: [ 14.695483][ C2] [ 14.695730][ C2] CPU0 [ 14.695854][ C2] ---- [ 14.695978][ C2] lock(pin_fs_lock); [ 14.696107][ C2] [ 14.696233][ C2] lock(pin_fs_lock); [ 14.696363][ C2] [ 14.696363][ C2] *** DEADLOCK *** [ 14.696363][ C2] [ 14.696608][ C2] 1 lock held by ksoftirqd/2/27: [ 14.696778][ C2] #0: ffffffffa85774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.697079][ C2] [ 14.697079][ C2] stack backtrace: [ 14.697285][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.697289][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.697291][ C2] Call Trace: [ 14.697293][ C2] [ 14.697296][ C2] dump_stack_lvl+0x82/0xd0 [ 14.697302][ C2] print_usage_bug.part.0+0x25f/0x360 [ 14.697306][ C2] mark_lock_irq+0x343/0x400 [ 14.697311][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.697315][ C2] ? save_trace+0x52/0x170 [ 14.697321][ C2] mark_lock+0x174/0x2f0 [ 14.697325][ C2] mark_usage+0x46/0x150 [ 14.697328][ C2] __lock_acquire+0x20b/0x7e0 [ 14.697331][ C2] ? __lock_acquire+0x44d/0x7e0 [ 14.697335][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.697338][ C2] ? simple_pin_fs+0x24/0x150 [ 14.697343][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.697347][ C2] ? lock_acquire+0x10c/0x170 [ 14.697350][ C2] ? simple_pin_fs+0x24/0x150 [ 14.697354][ C2] _raw_spin_lock+0x33/0x40 [ 14.697358][ C2] ? simple_pin_fs+0x24/0x150 [ 14.697361][ C2] simple_pin_fs+0x24/0x150 [ 14.697365][ C2] debugfs_remove+0x35/0x70 [ 14.697368][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.697374][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.697378][ C2] ? __sk_destruct+0x383/0x780 [ 14.697384][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.697386][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.697390][ C2] ? smpboot_thread_fn+0x30a/0x960 [ 14.697394][ C2] ? kthread+0x37e/0x600 [ 14.697397][ C2] ? ret_from_fork+0x240/0x320 [ 14.697400][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 14.697403][ C2] ? migrate_enable+0x1f2/0x270 [ 14.697407][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 14.697412][ C2] __put_net+0x19/0x60 [ 14.697417][ C2] __sk_destruct+0x58a/0x780 [ 14.697421][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.697423][ C2] rcu_do_batch+0x34c/0xf20 [ 14.697428][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.697431][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.697434][ C2] ? note_gp_changes+0x182/0x1e0 [ 14.697437][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.697441][ C2] rcu_core+0x2bb/0x500 [ 14.697445][ C2] handle_softirqs+0x218/0x620 [ 14.697449][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.697453][ C2] run_ksoftirqd+0x3f/0x70 [ 14.697456][ C2] smpboot_thread_fn+0x30a/0x960 [ 14.697459][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.697463][ C2] kthread+0x37e/0x600 [ 14.697466][ C2] ? __pfx_kthread+0x10/0x10 [ 14.697468][ C2] ? ret_from_fork+0x1b/0x320 [ 14.697471][ C2] ? __lock_release+0x5d/0x170 [ 14.697474][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.697477][ C2] ? __pfx_kthread+0x10/0x10 [ 14.697480][ C2] ret_from_fork+0x240/0x320 [ 14.697483][ C2] ? __pfx_kthread+0x10/0x10 [ 14.697485][ C2] ret_from_fork_asm+0x1a/0x30 [ 14.697492][ C2] [ 14.707074][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.707367][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 27, name: ksoftirqd/2 [ 14.707655][ C2] preempt_count: 100, expected: 0 [ 14.707836][ C2] RCU nest depth: 0, expected: 0 [ 14.708005][ C2] INFO: lockdep is turned off. [ 14.708174][ C2] Preemption disabled at: [ 14.708175][ C2] [] handle_softirqs+0xe5/0x620 [ 14.708516][ C2] CPU: 2 UID: 0 PID: 27 Comm: ksoftirqd/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.708521][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.708522][ C2] Call Trace: [ 14.708524][ C2] [ 14.708526][ C2] dump_stack_lvl+0xb0/0xd0 [ 14.708531][ C2] __might_resched+0x360/0x5a0 [ 14.708538][ C2] down_write+0x72/0x210 [ 14.708542][ C2] ? __pfx_down_write+0x10/0x10 [ 14.708544][ C2] ? simple_recursive_removal+0x33/0x610 [ 14.708548][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.708552][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.708558][ C2] simple_recursive_removal+0x6a/0x610 [ 14.708561][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.708564][ C2] ? __pfx_remove_one+0x10/0x10 [ 14.708569][ C2] debugfs_remove+0x44/0x70 [ 14.708572][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.708577][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.708580][ C2] ? __sk_destruct+0x383/0x780 [ 14.708585][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.708588][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.708591][ C2] ? smpboot_thread_fn+0x30a/0x960 [ 14.708595][ C2] ? kthread+0x37e/0x600 [ 14.708597][ C2] ? ret_from_fork+0x240/0x320 [ 14.708600][ C2] ? ret_from_fork_asm+0x1a/0x30 [ 14.708605][ C2] ? migrate_enable+0x1f2/0x270 [ 14.708609][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 14.708614][ C2] __put_net+0x19/0x60 [ 14.708617][ C2] __sk_destruct+0x58a/0x780 [ 14.708621][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.708624][ C2] rcu_do_batch+0x34c/0xf20 [ 14.708628][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.708632][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.708634][ C2] ? note_gp_changes+0x182/0x1e0 [ 14.708638][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.708642][ C2] rcu_core+0x2bb/0x500 [ 14.708646][ C2] handle_softirqs+0x218/0x620 [ 14.708650][ C2] ? __pfx_run_ksoftirqd+0x10/0x10 [ 14.708653][ C2] run_ksoftirqd+0x3f/0x70 [ 14.708656][ C2] smpboot_thread_fn+0x30a/0x960 [ 14.708660][ C2] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 14.708664][ C2] kthread+0x37e/0x600 [ 14.708667][ C2] ? __pfx_kthread+0x10/0x10 [ 14.708669][ C2] ? ret_from_fork+0x1b/0x320 [ 14.708671][ C2] ? __lock_release+0x5d/0x170 [ 14.708675][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.708678][ C2] ? __pfx_kthread+0x10/0x10 [ 14.708681][ C2] ret_from_fork+0x240/0x320 [ 14.708684][ C2] ? __pfx_kthread+0x10/0x10 [ 14.708686][ C2] ret_from_fork_asm+0x1a/0x30 [ 14.708693][ C2] [ 16.283012][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.283346][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.283649][ C3] preempt_count: 101, expected: 0 [ 16.283831][ C3] RCU nest depth: 0, expected: 0 [ 16.284004][ C3] INFO: lockdep is turned off. [ 16.284176][ C3] Preemption disabled at: [ 16.284178][ C3] [<0000000000000000>] 0x0 [ 16.284485][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.284490][ C3] Tainted: [W]=WARN [ 16.284492][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.284494][ C3] Call Trace: [ 16.284496][ C3] [ 16.284497][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.284506][ C3] __might_resched+0x360/0x5a0 [ 16.284513][ C3] down_write+0x72/0x210 [ 16.284518][ C3] ? __pfx_down_write+0x10/0x10 [ 16.284521][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.284525][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.284530][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.284536][ C3] simple_recursive_removal+0x6a/0x610 [ 16.284539][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.284542][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.284548][ C3] debugfs_remove+0x44/0x70 [ 16.284551][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.284557][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.284560][ C3] ? __sk_destruct+0x383/0x780 [ 16.284566][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.284569][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.284572][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.284577][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.284582][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.284586][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.284589][ C3] ? default_idle+0x9/0x10 [ 16.284592][ C3] ? default_idle_call+0x6d/0xb0 [ 16.284594][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.284598][ C3] ? do_idle+0xf6/0x160 [ 16.284600][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.284602][ C3] ? start_secondary+0x213/0x2a0 [ 16.284606][ C3] ? common_startup_64+0x13e/0x148 [ 16.284611][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.284616][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.284620][ C3] __put_net+0x19/0x60 [ 16.284624][ C3] __sk_destruct+0x58a/0x780 [ 16.284628][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.284630][ C3] rcu_do_batch+0x34c/0xf20 [ 16.284635][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.284639][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.284643][ C3] rcu_core+0x2bb/0x500 [ 16.284648][ C3] handle_softirqs+0x218/0x620 [ 16.284653][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.284656][ C3] irq_exit_rcu+0xe/0x30 [ 16.284659][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.284662][ C3] [ 16.284664][ C3] [ 16.284665][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.284668][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.284672][ C3] Code: a2 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 47 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 [ 16.284674][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.284678][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffa758f5d9 [ 16.284680][ C3] RDX: ffffed1006c366fb RSI: ffffffffa7853b60 RDI: ffffffffa4d8d18f [ 16.284681][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 16.284683][ C3] R10: ffff8880361b37d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 16.284685][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.284688][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.284692][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.284696][ C3] default_idle+0x9/0x10 [ 16.284698][ C3] default_idle_call+0x6d/0xb0 [ 16.284701][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.284704][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.284707][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.284712][ C3] do_idle+0xf6/0x160 [ 16.284715][ C3] cpu_startup_entry+0x54/0x60 [ 16.284718][ C3] start_secondary+0x213/0x2a0 [ 16.284721][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.284726][ C3] common_startup_64+0x13e/0x148 [ 16.284732][ C3]