[ 17.540561][ C3] [ 17.540714][ C3] ================================ [ 17.540905][ C3] WARNING: inconsistent lock state [ 17.541100][ C3] 6.15.0-virtme #1 Not tainted [ 17.541297][ C3] -------------------------------- [ 17.541486][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.541727][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.541969][ C3] ffffffffa0dc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.542316][ C3] {SOFTIRQ-ON-W} state was registered at: [ 17.542502][ C3] __lock_acquire+0x20b/0x7e0 [ 17.542703][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.542889][ C3] _raw_spin_lock+0x33/0x40 [ 17.543081][ C3] simple_pin_fs+0x24/0x150 [ 17.543269][ C3] start_creating.part.0+0x52/0x310 [ 17.543458][ C3] debugfs_create_dir+0x6a/0x540 [ 17.543645][ C3] component_debug_init+0x17/0x30 [ 17.543837][ C3] do_one_initcall+0x8f/0x1e0 [ 17.544027][ C3] do_initcalls+0x176/0x280 [ 17.544253][ C3] kernel_init_freeable+0x22d/0x300 [ 17.544455][ C3] kernel_init+0x20/0x200 [ 17.544657][ C3] ret_from_fork+0x240/0x320 [ 17.544858][ C3] ret_from_fork_asm+0x1a/0x30 [ 17.545056][ C3] irq event stamp: 259320 [ 17.545217][ C3] hardirqs last enabled at (259320): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.545624][ C3] hardirqs last disabled at (259319): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.546028][ C3] softirqs last enabled at (258322): [] handle_softirqs+0x358/0x620 [ 17.546382][ C3] softirqs last disabled at (258329): [] __irq_exit_rcu+0xfa/0x160 [ 17.546734][ C3] [ 17.546734][ C3] other info that might help us debug this: [ 17.547025][ C3] Possible unsafe locking scenario: [ 17.547025][ C3] [ 17.547340][ C3] CPU0 [ 17.547490][ C3] ---- [ 17.547639][ C3] lock(pin_fs_lock); [ 17.547792][ C3] [ 17.547944][ C3] lock(pin_fs_lock); [ 17.548097][ C3] [ 17.548097][ C3] *** DEADLOCK *** [ 17.548097][ C3] [ 17.548394][ C3] 1 lock held by swapper/3/0: [ 17.548597][ C3] #0: ffffffffa0b774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.548954][ C3] [ 17.548954][ C3] stack backtrace: [ 17.549203][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.549208][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.549210][ C3] Call Trace: [ 17.549212][ C3] [ 17.549214][ C3] dump_stack_lvl+0x82/0xd0 [ 17.549221][ C3] print_usage_bug.part.0+0x25f/0x360 [ 17.549226][ C3] mark_lock_irq+0x343/0x400 [ 17.549230][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 17.549235][ C3] ? save_trace+0x52/0x170 [ 17.549241][ C3] mark_lock+0x174/0x2f0 [ 17.549244][ C3] mark_usage+0x46/0x150 [ 17.549247][ C3] __lock_acquire+0x20b/0x7e0 [ 17.549250][ C3] ? __lock_acquire+0x44d/0x7e0 [ 17.549255][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.549258][ C3] ? simple_pin_fs+0x24/0x150 [ 17.549263][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.549267][ C3] ? lock_acquire+0x10c/0x170 [ 17.549270][ C3] ? simple_pin_fs+0x24/0x150 [ 17.549274][ C3] _raw_spin_lock+0x33/0x40 [ 17.549277][ C3] ? simple_pin_fs+0x24/0x150 [ 17.549281][ C3] simple_pin_fs+0x24/0x150 [ 17.549285][ C3] debugfs_remove+0x35/0x70 [ 17.549288][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.549294][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.549298][ C3] ? __sk_destruct+0x383/0x780 [ 17.549303][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.549306][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.549309][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.549312][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.549317][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.549321][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.549324][ C3] ? default_idle+0x9/0x10 [ 17.549327][ C3] ? default_idle_call+0x6d/0xb0 [ 17.549329][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.549333][ C3] ? do_idle+0xf6/0x160 [ 17.549335][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.549338][ C3] ? start_secondary+0x213/0x2a0 [ 17.549341][ C3] ? common_startup_64+0x13e/0x148 [ 17.549349][ C3] __put_net+0x19/0x60 [ 17.549353][ C3] __sk_destruct+0x58a/0x780 [ 17.549357][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.549359][ C3] rcu_do_batch+0x34c/0xf20 [ 17.549363][ C3] ? find_held_lock+0x2b/0x80 [ 17.549367][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.549370][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.549374][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.549376][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.549381][ C3] rcu_core+0x2bb/0x500 [ 17.549386][ C3] handle_softirqs+0x218/0x620 [ 17.549391][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.549394][ C3] irq_exit_rcu+0xe/0x30 [ 17.549396][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.549400][ C3] [ 17.549402][ C3] [ 17.549403][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.549406][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.549410][ 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.549412][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.549416][ C3] RAX: 000000000003f117 RBX: 1ffff9200002afc1 RCX: ffffffff9fb905d9 [ 17.549418][ C3] RDX: 0000000000000000 RSI: ffffffffa068f4e4 RDI: ffffffff9fe53be0 [ 17.549420][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb66fa [ 17.549421][ C3] R10: ffff88802f5b37d3 R11: ffffffffa0811288 R12: 0000000000000000 [ 17.549423][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.549427][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.549432][ C3] default_idle+0x9/0x10 [ 17.549434][ C3] default_idle_call+0x6d/0xb0 [ 17.549437][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.549440][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.549444][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.549448][ C3] do_idle+0xf6/0x160 [ 17.549452][ C3] cpu_startup_entry+0x54/0x60 [ 17.549455][ C3] start_secondary+0x213/0x2a0 [ 17.549457][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.549462][ C3] common_startup_64+0x13e/0x148 [ 17.549469][ C3] [ 17.566432][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.566788][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.567217][ C3] preempt_count: 101, expected: 0 [ 17.567395][ C3] RCU nest depth: 0, expected: 0 [ 17.567684][ C3] INFO: lockdep is turned off. [ 17.567860][ C3] Preemption disabled at: [ 17.567862][ C3] [<0000000000000000>] 0x0 [ 17.568306][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.568311][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.568313][ C3] Call Trace: [ 17.568314][ C3] [ 17.568316][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.568325][ C3] __might_resched+0x360/0x5a0 [ 17.568331][ C3] down_write+0x72/0x210 [ 17.568336][ C3] ? __pfx_down_write+0x10/0x10 [ 17.568339][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.568343][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.568348][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.568354][ C3] simple_recursive_removal+0x6a/0x610 [ 17.568357][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.568360][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.568366][ C3] debugfs_remove+0x44/0x70 [ 17.568369][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.568376][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.568380][ C3] ? __sk_destruct+0x383/0x780 [ 17.568388][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.568392][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.568395][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.568400][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.568405][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.568409][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.568412][ C3] ? default_idle+0x9/0x10 [ 17.568415][ C3] ? default_idle_call+0x6d/0xb0 [ 17.568418][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.568421][ C3] ? do_idle+0xf6/0x160 [ 17.568424][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.568426][ C3] ? start_secondary+0x213/0x2a0 [ 17.568429][ C3] ? common_startup_64+0x13e/0x148 [ 17.568438][ C3] __put_net+0x19/0x60 [ 17.568441][ C3] __sk_destruct+0x58a/0x780 [ 17.568445][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.568448][ C3] rcu_do_batch+0x34c/0xf20 [ 17.568451][ C3] ? find_held_lock+0x2b/0x80 [ 17.568457][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.568460][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.568465][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.568468][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.568473][ C3] rcu_core+0x2bb/0x500 [ 17.568477][ C3] handle_softirqs+0x218/0x620 [ 17.568482][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.568485][ C3] irq_exit_rcu+0xe/0x30 [ 17.568488][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.568492][ C3] [ 17.568493][ C3] [ 17.568494][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.568497][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.568501][ 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.568504][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.568507][ C3] RAX: 000000000003f117 RBX: 1ffff9200002afc1 RCX: ffffffff9fb905d9 [ 17.568509][ C3] RDX: 0000000000000000 RSI: ffffffffa068f4e4 RDI: ffffffff9fe53be0 [ 17.568510][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005eb66fa [ 17.568512][ C3] R10: ffff88802f5b37d3 R11: ffffffffa0811288 R12: 0000000000000000 [ 17.568514][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.568517][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.568522][ C3] default_idle+0x9/0x10 [ 17.568525][ C3] default_idle_call+0x6d/0xb0 [ 17.568527][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.568531][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.568535][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.568539][ C3] do_idle+0xf6/0x160 [ 17.568542][ C3] cpu_startup_entry+0x54/0x60 [ 17.568545][ C3] start_secondary+0x213/0x2a0 [ 17.568548][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.568553][ C3] common_startup_64+0x13e/0x148 [ 17.568560][ C3] [ 20.203163][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.203575][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 20.203938][ C2] preempt_count: 101, expected: 0 [ 20.204157][ C2] RCU nest depth: 0, expected: 0 [ 20.204367][ C2] INFO: lockdep is turned off. [ 20.204591][ C2] Preemption disabled at: [ 20.204593][ C2] [<0000000000000000>] 0x0 [ 20.204977][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 20.204985][ C2] Tainted: [W]=WARN [ 20.204987][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.204989][ C2] Call Trace: [ 20.204991][ C2] [ 20.204993][ C2] dump_stack_lvl+0xb0/0xd0 [ 20.205003][ C2] __might_resched+0x360/0x5a0 [ 20.205010][ C2] down_write+0x72/0x210 [ 20.205015][ C2] ? __pfx_down_write+0x10/0x10 [ 20.205018][ C2] ? simple_recursive_removal+0x33/0x610 [ 20.205023][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.205030][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.205038][ C2] simple_recursive_removal+0x6a/0x610 [ 20.205043][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.205048][ C2] ? __pfx_remove_one+0x10/0x10 [ 20.205055][ C2] debugfs_remove+0x44/0x70 [ 20.205058][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 20.205064][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.205068][ C2] ? __sk_destruct+0x383/0x780 [ 20.205073][ C2] ? rcu_do_batch+0x34c/0xf20 [ 20.205077][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.205080][ C2] ? irq_exit_rcu+0xe/0x30 [ 20.205085][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.205090][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.205094][ C2] ? pv_native_safe_halt+0xf/0x20 [ 20.205098][ C2] ? default_idle+0x9/0x10 [ 20.205100][ C2] ? default_idle_call+0x6d/0xb0 [ 20.205103][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.205107][ C2] ? do_idle+0xf6/0x160 [ 20.205109][ C2] ? cpu_startup_entry+0x54/0x60 [ 20.205111][ C2] ? start_secondary+0x213/0x2a0 [ 20.205115][ C2] ? common_startup_64+0x13e/0x148 [ 20.205120][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.205124][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.205129][ C2] __put_net+0x19/0x60 [ 20.205132][ C2] __sk_destruct+0x58a/0x780 [ 20.205136][ C2] ? rcu_do_batch+0x34a/0xf20 [ 20.205139][ C2] rcu_do_batch+0x34c/0xf20 [ 20.205143][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.205147][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 20.205153][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 20.205159][ C2] rcu_core+0x2bb/0x500 [ 20.205164][ C2] handle_softirqs+0x218/0x620 [ 20.205169][ C2] __irq_exit_rcu+0xfa/0x160 [ 20.205172][ C2] irq_exit_rcu+0xe/0x30 [ 20.205175][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.205179][ C2] [ 20.205180][ C2] [ 20.205182][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.205184][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.205189][ 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.205192][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 20.205196][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff9fb905d9 [ 20.205198][ C2] RDX: ffffed1005ea66fb RSI: ffffffff9fe53b60 RDI: ffffffff9d38d18f [ 20.205200][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ea66fa [ 20.205202][ C2] R10: ffff88802f5337d3 R11: ffff888001ee4ad8 R12: 0000000000000000 [ 20.205203][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 20.205207][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.205211][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.205214][ C2] default_idle+0x9/0x10 [ 20.205217][ C2] default_idle_call+0x6d/0xb0 [ 20.205220][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 20.205223][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.205226][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 20.205231][ C2] do_idle+0xf6/0x160 [ 20.205234][ C2] cpu_startup_entry+0x54/0x60 [ 20.205237][ C2] start_secondary+0x213/0x2a0 [ 20.205240][ C2] ? __pfx_start_secondary+0x10/0x10 [ 20.205244][ C2] common_startup_64+0x13e/0x148 [ 20.205251][ C2]