[ 15.378081][ C0] [ 15.378228][ C0] ================================ [ 15.378446][ C0] WARNING: inconsistent lock state [ 15.378654][ C0] 6.15.0-virtme #1 Not tainted [ 15.378866][ C0] -------------------------------- [ 15.379073][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.379336][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.379598][ C0] ffffffffaebc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.379970][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.380173][ C0] __lock_acquire+0x20b/0x7e0 [ 15.380383][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.380593][ C0] _raw_spin_lock+0x33/0x40 [ 15.380804][ C0] simple_pin_fs+0x24/0x150 [ 15.381014][ C0] start_creating.part.0+0x52/0x310 [ 15.381222][ C0] debugfs_create_dir+0x6a/0x540 [ 15.381428][ C0] component_debug_init+0x17/0x30 [ 15.381641][ C0] do_one_initcall+0x8f/0x1e0 [ 15.381852][ C0] do_initcalls+0x176/0x280 [ 15.382082][ C0] kernel_init_freeable+0x22d/0x300 [ 15.382293][ C0] kernel_init+0x20/0x200 [ 15.382504][ C0] ret_from_fork+0x240/0x320 [ 15.382716][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.382927][ C0] irq event stamp: 440028 [ 15.383092][ C0] hardirqs last enabled at (440028): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.383514][ C0] hardirqs last disabled at (440027): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.383932][ C0] softirqs last enabled at (439498): [] handle_softirqs+0x358/0x620 [ 15.384300][ C0] softirqs last disabled at (439505): [] __irq_exit_rcu+0xfa/0x160 [ 15.384663][ C0] [ 15.384663][ C0] other info that might help us debug this: [ 15.384968][ C0] Possible unsafe locking scenario: [ 15.384968][ C0] [ 15.385274][ C0] CPU0 [ 15.385432][ C0] ---- [ 15.385587][ C0] lock(pin_fs_lock); [ 15.385748][ C0] [ 15.385899][ C0] lock(pin_fs_lock); [ 15.386060][ C0] [ 15.386060][ C0] *** DEADLOCK *** [ 15.386060][ C0] [ 15.386363][ C0] 1 lock held by swapper/0/0: [ 15.386575][ C0] #0: ffffffffae9774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.386949][ C0] [ 15.386949][ C0] stack backtrace: [ 15.387208][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.387212][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.387214][ C0] Call Trace: [ 15.387216][ C0] [ 15.387218][ C0] dump_stack_lvl+0x82/0xd0 [ 15.387224][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.387229][ C0] mark_lock_irq+0x343/0x400 [ 15.387232][ C0] ? is_bpf_text_address+0x67/0x120 [ 15.387237][ C0] ? __lock_release+0x5d/0x170 [ 15.387241][ C0] ? save_trace+0x52/0x170 [ 15.387247][ C0] mark_lock+0x174/0x2f0 [ 15.387251][ C0] mark_usage+0x46/0x150 [ 15.387254][ C0] __lock_acquire+0x20b/0x7e0 [ 15.387257][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.387261][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.387264][ C0] ? simple_pin_fs+0x24/0x150 [ 15.387269][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.387274][ C0] ? lock_acquire+0x10c/0x170 [ 15.387276][ C0] ? simple_pin_fs+0x24/0x150 [ 15.387281][ C0] _raw_spin_lock+0x33/0x40 [ 15.387284][ C0] ? simple_pin_fs+0x24/0x150 [ 15.387287][ C0] simple_pin_fs+0x24/0x150 [ 15.387291][ C0] debugfs_remove+0x35/0x70 [ 15.387295][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.387300][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.387304][ C0] ? __sk_destruct+0x383/0x780 [ 15.387310][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.387313][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.387316][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.387319][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.387324][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.387328][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.387331][ C0] ? default_idle+0x9/0x10 [ 15.387334][ C0] ? default_idle_call+0x6d/0xb0 [ 15.387336][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.387340][ C0] ? do_idle+0xf6/0x160 [ 15.387342][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.387345][ C0] ? rest_init+0x14b/0x260 [ 15.387348][ C0] ? start_kernel+0x350/0x410 [ 15.387353][ C0] __put_net+0x19/0x60 [ 15.387357][ C0] __sk_destruct+0x58a/0x780 [ 15.387361][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.387363][ C0] rcu_do_batch+0x34c/0xf20 [ 15.387367][ C0] ? find_held_lock+0x2b/0x80 [ 15.387371][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.387374][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.387378][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.387381][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.387386][ C0] rcu_core+0x2bb/0x500 [ 15.387390][ C0] handle_softirqs+0x218/0x620 [ 15.387396][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.387398][ C0] irq_exit_rcu+0xe/0x30 [ 15.387401][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.387405][ C0] [ 15.387406][ C0] [ 15.387408][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.387410][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.387414][ C0] 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.387418][ C0] RSP: 0018:ffffffffae607df8 EFLAGS: 00000246 [ 15.387421][ C0] RAX: 000000000006b4cf RBX: 1ffffffff5cc0fc3 RCX: ffffffffad9905d9 [ 15.387423][ C0] RDX: 0000000000000000 RSI: ffffffffae48f4e4 RDI: ffffffffadc53be0 [ 15.387424][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e866fa [ 15.387426][ C0] R10: ffff88802f4337d3 R11: ffffffffae611288 R12: 0000000000000000 [ 15.387428][ C0] R13: ffffffffae61f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.387431][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.387436][ C0] default_idle+0x9/0x10 [ 15.387439][ C0] default_idle_call+0x6d/0xb0 [ 15.387441][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.387444][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.387448][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.387453][ C0] do_idle+0xf6/0x160 [ 15.387457][ C0] cpu_startup_entry+0x54/0x60 [ 15.387460][ C0] rest_init+0x14b/0x260 [ 15.387463][ C0] start_kernel+0x350/0x410 [ 15.387467][ C0] x86_64_start_reservations+0x18/0x30 [ 15.387472][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.387475][ C0] common_startup_64+0x13e/0x148 [ 15.387485][ C0] [ 15.405315][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.405912][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 15.406256][ C0] preempt_count: 101, expected: 0 [ 15.406456][ C0] RCU nest depth: 0, expected: 0 [ 15.406777][ C0] INFO: lockdep is turned off. [ 15.406970][ C0] Preemption disabled at: [ 15.406972][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.407549][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.407554][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.407556][ C0] Call Trace: [ 15.407557][ C0] [ 15.407559][ C0] dump_stack_lvl+0xb0/0xd0 [ 15.407564][ C0] __might_resched+0x360/0x5a0 [ 15.407571][ C0] down_write+0x72/0x210 [ 15.407575][ C0] ? __pfx_down_write+0x10/0x10 [ 15.407578][ C0] ? simple_recursive_removal+0x33/0x610 [ 15.407582][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.407587][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.407592][ C0] simple_recursive_removal+0x6a/0x610 [ 15.407595][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.407598][ C0] ? __pfx_remove_one+0x10/0x10 [ 15.407603][ C0] debugfs_remove+0x44/0x70 [ 15.407606][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.407612][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.407616][ C0] ? __sk_destruct+0x383/0x780 [ 15.407621][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.407624][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.407627][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.407632][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.407637][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.407640][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.407644][ C0] ? default_idle+0x9/0x10 [ 15.407647][ C0] ? default_idle_call+0x6d/0xb0 [ 15.407649][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.407653][ C0] ? do_idle+0xf6/0x160 [ 15.407655][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.407657][ C0] ? rest_init+0x14b/0x260 [ 15.407660][ C0] ? start_kernel+0x350/0x410 [ 15.407667][ C0] __put_net+0x19/0x60 [ 15.407671][ C0] __sk_destruct+0x58a/0x780 [ 15.407675][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.407678][ C0] rcu_do_batch+0x34c/0xf20 [ 15.407681][ C0] ? find_held_lock+0x2b/0x80 [ 15.407687][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.407690][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.407694][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.407697][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.407702][ C0] rcu_core+0x2bb/0x500 [ 15.407706][ C0] handle_softirqs+0x218/0x620 [ 15.407712][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.407715][ C0] irq_exit_rcu+0xe/0x30 [ 15.407717][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.407721][ C0] [ 15.407722][ C0] [ 15.407723][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.407726][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.407730][ C0] 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.407732][ C0] RSP: 0018:ffffffffae607df8 EFLAGS: 00000246 [ 15.407735][ C0] RAX: 000000000006b4cf RBX: 1ffffffff5cc0fc3 RCX: ffffffffad9905d9 [ 15.407737][ C0] RDX: 0000000000000000 RSI: ffffffffae48f4e4 RDI: ffffffffadc53be0 [ 15.407739][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e866fa [ 15.407740][ C0] R10: ffff88802f4337d3 R11: ffffffffae611288 R12: 0000000000000000 [ 15.407742][ C0] R13: ffffffffae61f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.407746][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.407750][ C0] default_idle+0x9/0x10 [ 15.407753][ C0] default_idle_call+0x6d/0xb0 [ 15.407755][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.407758][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.407762][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.407768][ C0] do_idle+0xf6/0x160 [ 15.407771][ C0] cpu_startup_entry+0x54/0x60 [ 15.407774][ C0] rest_init+0x14b/0x260 [ 15.407778][ C0] start_kernel+0x350/0x410 [ 15.407782][ C0] x86_64_start_reservations+0x18/0x30 [ 15.407786][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.407790][ C0] common_startup_64+0x13e/0x148 [ 15.407799][ C0] [ 17.219412][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.219754][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.220063][ C3] preempt_count: 101, expected: 0 [ 17.220242][ C3] RCU nest depth: 0, expected: 0 [ 17.220430][ C3] INFO: lockdep is turned off. [ 17.220605][ C3] Preemption disabled at: [ 17.220607][ C3] [<0000000000000000>] 0x0 [ 17.220919][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.220924][ C3] Tainted: [W]=WARN [ 17.220926][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.220928][ C3] Call Trace: [ 17.220930][ C3] [ 17.220932][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.220941][ C3] __might_resched+0x360/0x5a0 [ 17.220948][ C3] down_write+0x72/0x210 [ 17.220953][ C3] ? __pfx_down_write+0x10/0x10 [ 17.220956][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.220960][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.220965][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.220970][ C3] simple_recursive_removal+0x6a/0x610 [ 17.220973][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.220976][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.220982][ C3] debugfs_remove+0x44/0x70 [ 17.220985][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.220991][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.220994][ C3] ? __sk_destruct+0x383/0x780 [ 17.221000][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.221003][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.221006][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.221011][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.221017][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.221020][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.221024][ C3] ? default_idle+0x9/0x10 [ 17.221026][ C3] ? default_idle_call+0x6d/0xb0 [ 17.221029][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.221032][ C3] ? do_idle+0xf6/0x160 [ 17.221034][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.221037][ C3] ? start_secondary+0x213/0x2a0 [ 17.221040][ C3] ? common_startup_64+0x13e/0x148 [ 17.221045][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.221049][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.221054][ C3] __put_net+0x19/0x60 [ 17.221057][ C3] __sk_destruct+0x58a/0x780 [ 17.221061][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.221064][ C3] rcu_do_batch+0x34c/0xf20 [ 17.221069][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.221072][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.221079][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.221084][ C3] rcu_core+0x2bb/0x500 [ 17.221089][ C3] handle_softirqs+0x218/0x620 [ 17.221095][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.221098][ C3] irq_exit_rcu+0xe/0x30 [ 17.221100][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.221104][ C3] [ 17.221105][ C3] [ 17.221107][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.221110][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.221114][ 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.221117][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.221121][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffad9905d9 [ 17.221123][ C3] RDX: ffffed1005eb66fb RSI: ffffffffadc53b60 RDI: ffffffffab18d18f [ 17.221125][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005eb66fa [ 17.221127][ C3] R10: ffff88802f5b37d3 R11: ffffffffb12f15a0 R12: 0000000000000000 [ 17.221128][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.221132][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.221135][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.221139][ C3] default_idle+0x9/0x10 [ 17.221142][ C3] default_idle_call+0x6d/0xb0 [ 17.221144][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.221148][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.221151][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.221156][ C3] do_idle+0xf6/0x160 [ 17.221159][ C3] cpu_startup_entry+0x54/0x60 [ 17.221162][ C3] start_secondary+0x213/0x2a0 [ 17.221164][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.221169][ C3] common_startup_64+0x13e/0x148 [ 17.221176][ C3]