[ 15.539598][ C2] [ 15.539815][ C2] ================================ [ 15.540020][ C2] WARNING: inconsistent lock state [ 15.540234][ C2] 6.15.0-rc7-virtme #1 Not tainted [ 15.540442][ C2] -------------------------------- [ 15.540644][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.540892][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.541144][ C2] ffffffffb9fbff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.541505][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.541705][ C2] __lock_acquire+0x3eb/0x9d0 [ 15.541914][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.542112][ C2] _raw_spin_lock+0x33/0x40 [ 15.542320][ C2] simple_pin_fs+0x24/0x150 [ 15.542519][ C2] start_creating.part.0+0x3f/0x2f0 [ 15.542725][ C2] debugfs_create_dir+0x6a/0x540 [ 15.542927][ C2] component_debug_init+0x17/0x30 [ 15.543131][ C2] do_one_initcall+0x8f/0x1e0 [ 15.543337][ C2] do_initcalls+0x176/0x280 [ 15.543540][ C2] kernel_init_freeable+0x22d/0x300 [ 15.543742][ C2] kernel_init+0x20/0x200 [ 15.543942][ C2] ret_from_fork+0x31/0x70 [ 15.544143][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.544346][ C2] irq event stamp: 255832 [ 15.544505][ C2] hardirqs last enabled at (255832): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.544912][ C2] hardirqs last disabled at (255831): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.545323][ C2] softirqs last enabled at (254784): [] handle_softirqs+0x358/0x620 [ 15.545685][ C2] softirqs last disabled at (254791): [] __irq_exit_rcu+0xfa/0x160 [ 15.546043][ C2] [ 15.546043][ C2] other info that might help us debug this: [ 15.546347][ C2] Possible unsafe locking scenario: [ 15.546347][ C2] [ 15.546649][ C2] CPU0 [ 15.546801][ C2] ---- [ 15.546954][ C2] lock(pin_fs_lock); [ 15.547114][ C2] [ 15.547265][ C2] lock(pin_fs_lock); [ 15.547421][ C2] [ 15.547421][ C2] *** DEADLOCK *** [ 15.547421][ C2] [ 15.547724][ C2] 1 lock held by swapper/2/0: [ 15.547933][ C2] #0: ffffffffb9d749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.548301][ C2] [ 15.548301][ C2] stack backtrace: [ 15.548558][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.548563][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.548566][ C2] Call Trace: [ 15.548568][ C2] [ 15.548571][ C2] dump_stack_lvl+0x82/0xd0 [ 15.548578][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.548583][ C2] mark_lock_irq+0x343/0x400 [ 15.548588][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.548595][ C2] ? save_trace+0x52/0x170 [ 15.548600][ C2] mark_lock+0x174/0x2f0 [ 15.548604][ C2] mark_usage+0x46/0x150 [ 15.548608][ C2] __lock_acquire+0x3eb/0x9d0 [ 15.548613][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.548616][ C2] ? simple_pin_fs+0x24/0x150 [ 15.548619][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.548626][ C2] ? lock_acquire+0x10c/0x170 [ 15.548628][ C2] ? simple_pin_fs+0x24/0x150 [ 15.548631][ C2] _raw_spin_lock+0x33/0x40 [ 15.548634][ C2] ? simple_pin_fs+0x24/0x150 [ 15.548637][ C2] simple_pin_fs+0x24/0x150 [ 15.548640][ C2] debugfs_remove+0x35/0x70 [ 15.548643][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.548650][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.548653][ C2] ? __sk_destruct+0x383/0x780 [ 15.548660][ C2] ? rcu_do_batch+0x34f/0xf20 [ 15.548664][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.548666][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.548669][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.548674][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.548678][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.548681][ C2] ? default_idle+0x9/0x10 [ 15.548683][ C2] ? default_idle_call+0x6d/0xb0 [ 15.548686][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.548690][ C2] ? do_idle+0xf6/0x160 [ 15.548693][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.548696][ C2] ? start_secondary+0x213/0x2a0 [ 15.548702][ C2] ? common_startup_64+0x13e/0x148 [ 15.548709][ C2] __put_net+0x19/0x60 [ 15.548713][ C2] __sk_destruct+0x58a/0x780 [ 15.548717][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.548720][ C2] rcu_do_batch+0x34f/0xf20 [ 15.548724][ C2] ? find_held_lock+0x2b/0x80 [ 15.548729][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.548733][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.548736][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.548740][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.548744][ C2] rcu_core+0x2bb/0x500 [ 15.548749][ C2] handle_softirqs+0x218/0x620 [ 15.548754][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.548756][ C2] irq_exit_rcu+0xe/0x30 [ 15.548758][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.548762][ C2] [ 15.548763][ C2] [ 15.548765][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.548768][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.548772][ C2] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 15.548775][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.548779][ C2] RAX: 000000000003e345 RBX: 1ffff92000028fc1 RCX: ffffffffb8d5ba19 [ 15.548781][ C2] RDX: 0000000000000000 RSI: ffffffffb9887785 RDI: ffffffffb9051260 [ 15.548783][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2667a [ 15.548784][ C2] R10: ffff8880361333d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.548786][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 15.548790][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.548795][ C2] default_idle+0x9/0x10 [ 15.548797][ C2] default_idle_call+0x6d/0xb0 [ 15.548800][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.548803][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.548808][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.548813][ C2] do_idle+0xf6/0x160 [ 15.548817][ C2] cpu_startup_entry+0x54/0x60 [ 15.548820][ C2] start_secondary+0x213/0x2a0 [ 15.548824][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.548829][ C2] common_startup_64+0x13e/0x148 [ 15.548835][ C2] [ 15.565122][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.565477][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.565842][ C2] preempt_count: 101, expected: 0 [ 15.566053][ C2] RCU nest depth: 0, expected: 0 [ 15.566369][ C2] INFO: lockdep is turned off. [ 15.566577][ C2] Preemption disabled at: [ 15.566579][ C2] [<0000000000000000>] 0x0 [ 15.566963][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.566968][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.566970][ C2] Call Trace: [ 15.566972][ C2] [ 15.566974][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.566982][ C2] __might_resched+0x360/0x5a0 [ 15.566990][ C2] down_write+0x72/0x210 [ 15.566995][ C2] ? __pfx_down_write+0x10/0x10 [ 15.566998][ C2] ? simple_recursive_removal+0x3a/0x860 [ 15.567004][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.567011][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.567016][ C2] simple_recursive_removal+0x166/0x860 [ 15.567019][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.567023][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.567028][ C2] debugfs_remove+0x44/0x70 [ 15.567031][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.567037][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.567040][ C2] ? __sk_destruct+0x383/0x780 [ 15.567047][ C2] ? rcu_do_batch+0x34f/0xf20 [ 15.567052][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.567055][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.567059][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.567064][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.567069][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.567072][ C2] ? default_idle+0x9/0x10 [ 15.567074][ C2] ? default_idle_call+0x6d/0xb0 [ 15.567077][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.567082][ C2] ? do_idle+0xf6/0x160 [ 15.567085][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.567089][ C2] ? start_secondary+0x213/0x2a0 [ 15.567093][ C2] ? common_startup_64+0x13e/0x148 [ 15.567100][ C2] __put_net+0x19/0x60 [ 15.567104][ C2] __sk_destruct+0x58a/0x780 [ 15.567108][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.567111][ C2] rcu_do_batch+0x34f/0xf20 [ 15.567115][ C2] ? find_held_lock+0x2b/0x80 [ 15.567121][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.567125][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.567129][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.567133][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.567137][ C2] rcu_core+0x2bb/0x500 [ 15.567141][ C2] handle_softirqs+0x218/0x620 [ 15.567146][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.567148][ C2] irq_exit_rcu+0xe/0x30 [ 15.567151][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.567154][ C2] [ 15.567155][ C2] [ 15.567157][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.567159][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.567163][ C2] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 15.567166][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.567169][ C2] RAX: 000000000003e345 RBX: 1ffff92000028fc1 RCX: ffffffffb8d5ba19 [ 15.567171][ C2] RDX: 0000000000000000 RSI: ffffffffb9887785 RDI: ffffffffb9051260 [ 15.567173][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2667a [ 15.567174][ C2] R10: ffff8880361333d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.567176][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 15.567180][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.567185][ C2] default_idle+0x9/0x10 [ 15.567187][ C2] default_idle_call+0x6d/0xb0 [ 15.567190][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.567193][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.567198][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.567203][ C2] do_idle+0xf6/0x160 [ 15.567207][ C2] cpu_startup_entry+0x54/0x60 [ 15.567210][ C2] start_secondary+0x213/0x2a0 [ 15.567214][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.567219][ C2] common_startup_64+0x13e/0x148 [ 15.567225][ C2] [ 17.267877][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.268297][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 17.268620][ C1] preempt_count: 101, expected: 0 [ 17.268803][ C1] RCU nest depth: 0, expected: 0 [ 17.268984][ C1] INFO: lockdep is turned off. [ 17.269164][ C1] Preemption disabled at: [ 17.269165][ C1] [<0000000000000000>] 0x0 [ 17.269487][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.269493][ C1] Tainted: [W]=WARN [ 17.269495][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.269497][ C1] Call Trace: [ 17.269499][ C1] [ 17.269501][ C1] dump_stack_lvl+0xb0/0xd0 [ 17.269512][ C1] __might_resched+0x360/0x5a0 [ 17.269521][ C1] down_write+0x72/0x210 [ 17.269527][ C1] ? __pfx_down_write+0x10/0x10 [ 17.269531][ C1] ? simple_recursive_removal+0x3a/0x860 [ 17.269537][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.269546][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 17.269552][ C1] simple_recursive_removal+0x166/0x860 [ 17.269555][ C1] ? __pfx_remove_one+0x10/0x10 [ 17.269561][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 17.269565][ C1] debugfs_remove+0x44/0x70 [ 17.269568][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 17.269575][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.269578][ C1] ? __sk_destruct+0x383/0x780 [ 17.269586][ C1] ? rcu_do_batch+0x34f/0xf20 [ 17.269592][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.269598][ C1] ? irq_exit_rcu+0xe/0x30 [ 17.269604][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.269610][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.269615][ C1] ? pv_native_safe_halt+0xf/0x20 [ 17.269618][ C1] ? default_idle+0x9/0x10 [ 17.269620][ C1] ? default_idle_call+0x6d/0xb0 [ 17.269622][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.269629][ C1] ? do_idle+0xf6/0x160 [ 17.269632][ C1] ? cpu_startup_entry+0x54/0x60 [ 17.269635][ C1] ? start_secondary+0x213/0x2a0 [ 17.269641][ C1] ? common_startup_64+0x13e/0x148 [ 17.269648][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.269653][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.269658][ C1] __put_net+0x19/0x60 [ 17.269662][ C1] __sk_destruct+0x58a/0x780 [ 17.269666][ C1] ? rcu_do_batch+0x34a/0xf20 [ 17.269669][ C1] rcu_do_batch+0x34f/0xf20 [ 17.269674][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.269678][ C1] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.269683][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.269690][ C1] rcu_core+0x2bb/0x500 [ 17.269695][ C1] handle_softirqs+0x218/0x620 [ 17.269700][ C1] __irq_exit_rcu+0xfa/0x160 [ 17.269702][ C1] irq_exit_rcu+0xe/0x30 [ 17.269705][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.269708][ C1] [ 17.269709][ C1] [ 17.269711][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.269714][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.269718][ C1] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 17.269720][ C1] RSP: 0000:ffffc90000137de8 EFLAGS: 00000246 [ 17.269725][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffffb8d5ba19 [ 17.269727][ C1] RDX: ffffed1006c1667b RSI: ffffffffb90511e0 RDI: ffffffffb658633f [ 17.269729][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c1667a [ 17.269731][ C1] R10: ffff8880360b33d3 R11: ffff888007ab0558 R12: 0000000000000000 [ 17.269732][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 17.269736][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.269739][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.269744][ C1] default_idle+0x9/0x10 [ 17.269746][ C1] default_idle_call+0x6d/0xb0 [ 17.269748][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 17.269752][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.269756][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.269762][ C1] do_idle+0xf6/0x160 [ 17.269766][ C1] cpu_startup_entry+0x54/0x60 [ 17.269769][ C1] start_secondary+0x213/0x2a0 [ 17.269773][ C1] ? __pfx_start_secondary+0x10/0x10 [ 17.269778][ C1] common_startup_64+0x13e/0x148 [ 17.269784][ C1]