[ 15.293999][ C2] [ 15.294184][ C2] ================================ [ 15.294458][ C2] WARNING: inconsistent lock state [ 15.294692][ C2] 6.15.0-virtme #1 Not tainted [ 15.294892][ C2] -------------------------------- [ 15.295093][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.295445][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.295767][ C2] ffffffffab3c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.296240][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.296511][ C2] __lock_acquire+0x20b/0x7e0 [ 15.296711][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.296907][ C2] _raw_spin_lock+0x33/0x40 [ 15.297185][ C2] simple_pin_fs+0x24/0x150 [ 15.297405][ C2] start_creating.part.0+0x52/0x310 [ 15.297605][ C2] debugfs_create_dir+0x6a/0x540 [ 15.297818][ C2] component_debug_init+0x17/0x30 [ 15.298018][ C2] do_one_initcall+0x8f/0x1e0 [ 15.298221][ C2] do_initcalls+0x176/0x280 [ 15.298434][ C2] kernel_init_freeable+0x22d/0x300 [ 15.298691][ C2] kernel_init+0x20/0x200 [ 15.298953][ C2] ret_from_fork+0x240/0x320 [ 15.299203][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.299402][ C2] irq event stamp: 284608 [ 15.299550][ C2] hardirqs last enabled at (284608): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.300068][ C2] hardirqs last disabled at (284607): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.300568][ C2] softirqs last enabled at (282468): [] handle_softirqs+0x358/0x620 [ 15.300916][ C2] softirqs last disabled at (282475): [] __irq_exit_rcu+0xfa/0x160 [ 15.301262][ C2] [ 15.301262][ C2] other info that might help us debug this: [ 15.301559][ C2] Possible unsafe locking scenario: [ 15.301559][ C2] [ 15.301845][ C2] CPU0 [ 15.301991][ C2] ---- [ 15.302150][ C2] lock(pin_fs_lock); [ 15.302302][ C2] [ 15.302457][ C2] lock(pin_fs_lock); [ 15.302666][ C2] [ 15.302666][ C2] *** DEADLOCK *** [ 15.302666][ C2] [ 15.303050][ C2] 1 lock held by swapper/2/0: [ 15.303329][ C2] #0: ffffffffab1774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.303677][ C2] [ 15.303677][ C2] stack backtrace: [ 15.303918][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.303922][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.303924][ C2] Call Trace: [ 15.303926][ C2] [ 15.303928][ C2] dump_stack_lvl+0x82/0xd0 [ 15.303935][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.303940][ C2] mark_lock_irq+0x343/0x400 [ 15.303944][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.303948][ C2] ? save_trace+0x52/0x170 [ 15.303954][ C2] mark_lock+0x174/0x2f0 [ 15.303957][ C2] mark_usage+0x46/0x150 [ 15.303961][ C2] __lock_acquire+0x20b/0x7e0 [ 15.303964][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.303968][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.303971][ C2] ? simple_pin_fs+0x24/0x150 [ 15.303976][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.303980][ C2] ? lock_acquire+0x10c/0x170 [ 15.303982][ C2] ? simple_pin_fs+0x24/0x150 [ 15.303987][ C2] _raw_spin_lock+0x33/0x40 [ 15.303990][ C2] ? simple_pin_fs+0x24/0x150 [ 15.303993][ C2] simple_pin_fs+0x24/0x150 [ 15.303997][ C2] debugfs_remove+0x35/0x70 [ 15.304001][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.304006][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.304010][ C2] ? __sk_destruct+0x383/0x780 [ 15.304016][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.304018][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.304021][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.304024][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.304029][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.304032][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.304035][ C2] ? default_idle+0x9/0x10 [ 15.304038][ C2] ? default_idle_call+0x6d/0xb0 [ 15.304041][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.304044][ C2] ? do_idle+0xf6/0x160 [ 15.304046][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.304049][ C2] ? start_secondary+0x213/0x2a0 [ 15.304052][ C2] ? common_startup_64+0x13e/0x148 [ 15.304059][ C2] __put_net+0x19/0x60 [ 15.304063][ C2] __sk_destruct+0x58a/0x780 [ 15.304067][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.304069][ C2] rcu_do_batch+0x34c/0xf20 [ 15.304072][ C2] ? find_held_lock+0x2b/0x80 [ 15.304076][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.304080][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.304083][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.304086][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.304091][ C2] rcu_core+0x2bb/0x500 [ 15.304095][ C2] handle_softirqs+0x218/0x620 [ 15.304100][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.304103][ C2] irq_exit_rcu+0xe/0x30 [ 15.304106][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.304109][ C2] [ 15.304110][ C2] [ 15.304112][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.304115][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.304119][ 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 [ 15.304121][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 15.304124][ C2] RAX: 0000000000044f69 RBX: 1ffff92000028fc1 RCX: ffffffffaa1905d9 [ 15.304126][ C2] RDX: 0000000000000000 RSI: ffffffffaac8f4e4 RDI: ffffffffaa453be0 [ 15.304128][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ee66fa [ 15.304130][ C2] R10: ffff88802f7337d3 R11: ffffffffaae11288 R12: 0000000000000000 [ 15.304131][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.304135][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.304140][ C2] default_idle+0x9/0x10 [ 15.304142][ C2] default_idle_call+0x6d/0xb0 [ 15.304145][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.304148][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.304152][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.304156][ C2] do_idle+0xf6/0x160 [ 15.304160][ C2] cpu_startup_entry+0x54/0x60 [ 15.304163][ C2] start_secondary+0x213/0x2a0 [ 15.304166][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.304170][ C2] common_startup_64+0x13e/0x148 [ 15.304177][ C2] [ 15.321233][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.321753][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.322210][ C2] preempt_count: 101, expected: 0 [ 15.322418][ C2] RCU nest depth: 0, expected: 0 [ 15.322721][ C2] INFO: lockdep is turned off. [ 15.322928][ C2] Preemption disabled at: [ 15.322929][ C2] [<0000000000000000>] 0x0 [ 15.323347][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.323351][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.323353][ C2] Call Trace: [ 15.323355][ C2] [ 15.323356][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.323363][ C2] __might_resched+0x360/0x5a0 [ 15.323369][ C2] down_write+0x72/0x210 [ 15.323374][ C2] ? __pfx_down_write+0x10/0x10 [ 15.323377][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.323381][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.323385][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.323391][ C2] simple_recursive_removal+0x6a/0x610 [ 15.323394][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.323397][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.323402][ C2] debugfs_remove+0x44/0x70 [ 15.323405][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.323411][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.323414][ C2] ? __sk_destruct+0x383/0x780 [ 15.323418][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.323421][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.323425][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.323429][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.323433][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.323437][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.323440][ C2] ? default_idle+0x9/0x10 [ 15.323443][ C2] ? default_idle_call+0x6d/0xb0 [ 15.323445][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.323449][ C2] ? do_idle+0xf6/0x160 [ 15.323451][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.323453][ C2] ? start_secondary+0x213/0x2a0 [ 15.323456][ C2] ? common_startup_64+0x13e/0x148 [ 15.323464][ C2] __put_net+0x19/0x60 [ 15.323467][ C2] __sk_destruct+0x58a/0x780 [ 15.323472][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.323474][ C2] rcu_do_batch+0x34c/0xf20 [ 15.323477][ C2] ? find_held_lock+0x2b/0x80 [ 15.323483][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.323486][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.323490][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.323493][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.323498][ C2] rcu_core+0x2bb/0x500 [ 15.323502][ C2] handle_softirqs+0x218/0x620 [ 15.323507][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.323510][ C2] irq_exit_rcu+0xe/0x30 [ 15.323513][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.323517][ C2] [ 15.323518][ C2] [ 15.323519][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.323522][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.323526][ 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 [ 15.323528][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 15.323531][ C2] RAX: 0000000000044f69 RBX: 1ffff92000028fc1 RCX: ffffffffaa1905d9 [ 15.323534][ C2] RDX: 0000000000000000 RSI: ffffffffaac8f4e4 RDI: ffffffffaa453be0 [ 15.323535][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ee66fa [ 15.323537][ C2] R10: ffff88802f7337d3 R11: ffffffffaae11288 R12: 0000000000000000 [ 15.323539][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.323543][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.323547][ C2] default_idle+0x9/0x10 [ 15.323550][ C2] default_idle_call+0x6d/0xb0 [ 15.323552][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.323556][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.323559][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.323563][ C2] do_idle+0xf6/0x160 [ 15.323567][ C2] cpu_startup_entry+0x54/0x60 [ 15.323570][ C2] start_secondary+0x213/0x2a0 [ 15.323573][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.323577][ C2] common_startup_64+0x13e/0x148 [ 15.323584][ C2] [ 17.095773][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.096285][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.096731][ C2] preempt_count: 101, expected: 0 [ 17.096951][ C2] RCU nest depth: 0, expected: 0 [ 17.097156][ C2] INFO: lockdep is turned off. [ 17.097400][ C2] Preemption disabled at: [ 17.097402][ C2] [<0000000000000000>] 0x0 [ 17.097884][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.097890][ C2] Tainted: [W]=WARN [ 17.097891][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.097893][ C2] Call Trace: [ 17.097895][ C2] [ 17.097896][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.097905][ C2] __might_resched+0x360/0x5a0 [ 17.097912][ C2] down_write+0x72/0x210 [ 17.097916][ C2] ? __pfx_down_write+0x10/0x10 [ 17.097919][ C2] ? simple_recursive_removal+0x33/0x610 [ 17.097924][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.097929][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.097935][ C2] simple_recursive_removal+0x6a/0x610 [ 17.097938][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.097941][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.097947][ C2] debugfs_remove+0x44/0x70 [ 17.097950][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.097956][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.097960][ C2] ? __sk_destruct+0x383/0x780 [ 17.097965][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.097968][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.097972][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.097977][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.097981][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.097985][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.097988][ C2] ? default_idle+0x9/0x10 [ 17.097991][ C2] ? default_idle_call+0x6d/0xb0 [ 17.097994][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.097997][ C2] ? do_idle+0xf6/0x160 [ 17.097999][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.098002][ C2] ? start_secondary+0x213/0x2a0 [ 17.098005][ C2] ? common_startup_64+0x13e/0x148 [ 17.098010][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.098014][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.098019][ C2] __put_net+0x19/0x60 [ 17.098022][ C2] __sk_destruct+0x58a/0x780 [ 17.098027][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.098029][ C2] rcu_do_batch+0x34c/0xf20 [ 17.098034][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.098037][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.098044][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.098049][ C2] rcu_core+0x2bb/0x500 [ 17.098054][ C2] handle_softirqs+0x218/0x620 [ 17.098059][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.098062][ C2] irq_exit_rcu+0xe/0x30 [ 17.098065][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.098071][ C2] [ 17.098072][ C2] [ 17.098074][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.098077][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.098081][ 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 [ 17.098084][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.098087][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffaa1905d9 [ 17.098090][ C2] RDX: ffffed1005ee66fb RSI: ffffffffaa453b60 RDI: ffffffffa798d18f [ 17.098092][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ee66fa [ 17.098093][ C2] R10: ffff88802f7337d3 R11: ffffffffadb318c0 R12: 0000000000000000 [ 17.098095][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.098099][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.098102][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.098106][ C2] default_idle+0x9/0x10 [ 17.098109][ C2] default_idle_call+0x6d/0xb0 [ 17.098111][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.098114][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.098118][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.098122][ C2] do_idle+0xf6/0x160 [ 17.098126][ C2] cpu_startup_entry+0x54/0x60 [ 17.098129][ C2] start_secondary+0x213/0x2a0 [ 17.098131][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.098136][ C2] common_startup_64+0x13e/0x148 [ 17.098143][ C2]