[ 18.688520][ C0] [ 18.688684][ C0] ================================ [ 18.688903][ C0] WARNING: inconsistent lock state [ 18.689122][ C0] 6.15.0-virtme #1 Not tainted [ 18.689350][ C0] -------------------------------- [ 18.689572][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 18.689846][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 18.690125][ C0] ffffffff917c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 18.690514][ C0] {SOFTIRQ-ON-W} state was registered at: [ 18.690732][ C0] __lock_acquire+0x20b/0x7e0 [ 18.690956][ C0] lock_acquire.part.0+0xb6/0x240 [ 18.691175][ C0] _raw_spin_lock+0x33/0x40 [ 18.691396][ C0] simple_pin_fs+0x24/0x150 [ 18.691615][ C0] start_creating.part.0+0x52/0x310 [ 18.691833][ C0] debugfs_create_dir+0x6a/0x540 [ 18.692058][ C0] component_debug_init+0x17/0x30 [ 18.692278][ C0] do_one_initcall+0x8f/0x1e0 [ 18.692498][ C0] do_initcalls+0x176/0x280 [ 18.692720][ C0] kernel_init_freeable+0x22d/0x300 [ 18.692938][ C0] kernel_init+0x20/0x200 [ 18.693164][ C0] ret_from_fork+0x240/0x320 [ 18.693384][ C0] ret_from_fork_asm+0x1a/0x30 [ 18.693618][ C0] irq event stamp: 490878 [ 18.693789][ C0] hardirqs last enabled at (490878): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.694224][ C0] hardirqs last disabled at (490877): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 18.694663][ C0] softirqs last enabled at (489920): [] handle_softirqs+0x358/0x620 [ 18.695048][ C0] softirqs last disabled at (489945): [] __irq_exit_rcu+0xfa/0x160 [ 18.695428][ C0] [ 18.695428][ C0] other info that might help us debug this: [ 18.695758][ C0] Possible unsafe locking scenario: [ 18.695758][ C0] [ 18.696090][ C0] CPU0 [ 18.696253][ C0] ---- [ 18.696415][ C0] lock(pin_fs_lock); [ 18.696584][ C0] [ 18.696754][ C0] lock(pin_fs_lock); [ 18.696923][ C0] [ 18.696923][ C0] *** DEADLOCK *** [ 18.696923][ C0] [ 18.697256][ C0] 1 lock held by swapper/0/0: [ 18.697493][ C0] #0: ffffffff915774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 18.697890][ C0] [ 18.697890][ C0] stack backtrace: [ 18.698170][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 18.698175][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.698177][ C0] Call Trace: [ 18.698179][ C0] [ 18.698181][ C0] dump_stack_lvl+0x82/0xd0 [ 18.698187][ C0] print_usage_bug.part.0+0x25f/0x360 [ 18.698192][ C0] mark_lock_irq+0x343/0x400 [ 18.698195][ C0] ? is_bpf_text_address+0x67/0x120 [ 18.698201][ C0] ? __lock_release+0x5d/0x170 [ 18.698205][ C0] ? save_trace+0x52/0x170 [ 18.698211][ C0] mark_lock+0x174/0x2f0 [ 18.698214][ C0] mark_usage+0x46/0x150 [ 18.698218][ C0] __lock_acquire+0x20b/0x7e0 [ 18.698221][ C0] ? __lock_acquire+0x44d/0x7e0 [ 18.698225][ C0] lock_acquire.part.0+0xb6/0x240 [ 18.698228][ C0] ? simple_pin_fs+0x24/0x150 [ 18.698232][ C0] ? rcu_is_watching+0x12/0xc0 [ 18.698236][ C0] ? lock_acquire+0x10c/0x170 [ 18.698239][ C0] ? simple_pin_fs+0x24/0x150 [ 18.698244][ C0] _raw_spin_lock+0x33/0x40 [ 18.698247][ C0] ? simple_pin_fs+0x24/0x150 [ 18.698250][ C0] simple_pin_fs+0x24/0x150 [ 18.698255][ C0] debugfs_remove+0x35/0x70 [ 18.698258][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 18.698264][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.698268][ C0] ? __sk_destruct+0x383/0x780 [ 18.698273][ C0] ? rcu_do_batch+0x34c/0xf20 [ 18.698276][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.698279][ C0] ? irq_exit_rcu+0xe/0x30 [ 18.698282][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.698286][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.698290][ C0] ? pv_native_safe_halt+0xf/0x20 [ 18.698293][ C0] ? default_idle+0x9/0x10 [ 18.698296][ C0] ? default_idle_call+0x6d/0xb0 [ 18.698298][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.698302][ C0] ? do_idle+0xf6/0x160 [ 18.698304][ C0] ? cpu_startup_entry+0x54/0x60 [ 18.698306][ C0] ? rest_init+0x14b/0x260 [ 18.698309][ C0] ? start_kernel+0x350/0x410 [ 18.698315][ C0] __put_net+0x19/0x60 [ 18.698319][ C0] __sk_destruct+0x58a/0x780 [ 18.698323][ C0] ? rcu_do_batch+0x34a/0xf20 [ 18.698325][ C0] rcu_do_batch+0x34c/0xf20 [ 18.698328][ C0] ? find_held_lock+0x2b/0x80 [ 18.698332][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.698336][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.698339][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 18.698342][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.698347][ C0] rcu_core+0x2bb/0x500 [ 18.698351][ C0] handle_softirqs+0x218/0x620 [ 18.698357][ C0] __irq_exit_rcu+0xfa/0x160 [ 18.698360][ C0] irq_exit_rcu+0xe/0x30 [ 18.698363][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.698366][ C0] [ 18.698367][ C0] [ 18.698369][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.698372][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.698376][ C0] 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 [ 18.698379][ C0] RSP: 0018:ffffffff91207df8 EFLAGS: 00000246 [ 18.698382][ C0] RAX: 00000000000779d7 RBX: 1ffffffff2240fc3 RCX: ffffffff9058f5d9 [ 18.698384][ C0] RDX: 0000000000000000 RSI: ffffffff9108f4e4 RDI: ffffffff90853be0 [ 18.698386][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 18.698387][ C0] R10: ffff8880360337d3 R11: ffffffff91211288 R12: 0000000000000000 [ 18.698389][ C0] R13: ffffffff9121f240 R14: dffffc0000000000 R15: 0000000000014770 [ 18.698393][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.698398][ C0] default_idle+0x9/0x10 [ 18.698400][ C0] default_idle_call+0x6d/0xb0 [ 18.698403][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 18.698406][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.698410][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.698416][ C0] do_idle+0xf6/0x160 [ 18.698419][ C0] cpu_startup_entry+0x54/0x60 [ 18.698422][ C0] rest_init+0x14b/0x260 [ 18.698426][ C0] start_kernel+0x350/0x410 [ 18.698430][ C0] x86_64_start_reservations+0x18/0x30 [ 18.698434][ C0] x86_64_start_kernel+0xf8/0x150 [ 18.698438][ C0] common_startup_64+0x13e/0x148 [ 18.698448][ C0] [ 18.717182][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.717588][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 18.718121][ C0] preempt_count: 101, expected: 0 [ 18.718351][ C0] RCU nest depth: 0, expected: 0 [ 18.718575][ C0] INFO: lockdep is turned off. [ 18.718795][ C0] Preemption disabled at: [ 18.718797][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 18.719434][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 18.719439][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.719441][ C0] Call Trace: [ 18.719443][ C0] [ 18.719445][ C0] dump_stack_lvl+0xb0/0xd0 [ 18.719451][ C0] __might_resched+0x360/0x5a0 [ 18.719457][ C0] down_write+0x72/0x210 [ 18.719461][ C0] ? __pfx_down_write+0x10/0x10 [ 18.719464][ C0] ? simple_recursive_removal+0x33/0x610 [ 18.719468][ C0] ? rcu_is_watching+0x12/0xc0 [ 18.719473][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 18.719479][ C0] simple_recursive_removal+0x6a/0x610 [ 18.719482][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 18.719485][ C0] ? __pfx_remove_one+0x10/0x10 [ 18.719491][ C0] debugfs_remove+0x44/0x70 [ 18.719493][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 18.719499][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.719502][ C0] ? __sk_destruct+0x383/0x780 [ 18.719507][ C0] ? rcu_do_batch+0x34c/0xf20 [ 18.719511][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.719514][ C0] ? irq_exit_rcu+0xe/0x30 [ 18.719518][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.719523][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.719526][ C0] ? pv_native_safe_halt+0xf/0x20 [ 18.719530][ C0] ? default_idle+0x9/0x10 [ 18.719532][ C0] ? default_idle_call+0x6d/0xb0 [ 18.719535][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.719538][ C0] ? do_idle+0xf6/0x160 [ 18.719540][ C0] ? cpu_startup_entry+0x54/0x60 [ 18.719542][ C0] ? rest_init+0x14b/0x260 [ 18.719545][ C0] ? start_kernel+0x350/0x410 [ 18.719552][ C0] __put_net+0x19/0x60 [ 18.719556][ C0] __sk_destruct+0x58a/0x780 [ 18.719560][ C0] ? rcu_do_batch+0x34a/0xf20 [ 18.719563][ C0] rcu_do_batch+0x34c/0xf20 [ 18.719566][ C0] ? find_held_lock+0x2b/0x80 [ 18.719571][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.719575][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 18.719579][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 18.719582][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.719587][ C0] rcu_core+0x2bb/0x500 [ 18.719591][ C0] handle_softirqs+0x218/0x620 [ 18.719597][ C0] __irq_exit_rcu+0xfa/0x160 [ 18.719600][ C0] irq_exit_rcu+0xe/0x30 [ 18.719603][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.719607][ C0] [ 18.719608][ C0] [ 18.719609][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.719612][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.719616][ C0] 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 [ 18.719619][ C0] RSP: 0018:ffffffff91207df8 EFLAGS: 00000246 [ 18.719622][ C0] RAX: 00000000000779d7 RBX: 1ffffffff2240fc3 RCX: ffffffff9058f5d9 [ 18.719624][ C0] RDX: 0000000000000000 RSI: ffffffff9108f4e4 RDI: ffffffff90853be0 [ 18.719626][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 18.719628][ C0] R10: ffff8880360337d3 R11: ffffffff91211288 R12: 0000000000000000 [ 18.719629][ C0] R13: ffffffff9121f240 R14: dffffc0000000000 R15: 0000000000014770 [ 18.719633][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.719638][ C0] default_idle+0x9/0x10 [ 18.719641][ C0] default_idle_call+0x6d/0xb0 [ 18.719643][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 18.719646][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.719650][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.719656][ C0] do_idle+0xf6/0x160 [ 18.719659][ C0] cpu_startup_entry+0x54/0x60 [ 18.719662][ C0] rest_init+0x14b/0x260 [ 18.719666][ C0] start_kernel+0x350/0x410 [ 18.719670][ C0] x86_64_start_reservations+0x18/0x30 [ 18.719674][ C0] x86_64_start_kernel+0xf8/0x150 [ 18.719678][ C0] common_startup_64+0x13e/0x148 [ 18.719687][ C0] [ 21.954483][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 21.955037][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 21.955573][ C0] preempt_count: 101, expected: 0 [ 21.955850][ C0] RCU nest depth: 0, expected: 0 [ 21.956147][ C0] INFO: lockdep is turned off. [ 21.956437][ C0] Preemption disabled at: [ 21.956439][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 21.957093][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 21.957101][ C0] Tainted: [W]=WARN [ 21.957103][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.957106][ C0] Call Trace: [ 21.957109][ C0] [ 21.957112][ C0] dump_stack_lvl+0xb0/0xd0 [ 21.957121][ C0] __might_resched+0x360/0x5a0 [ 21.957132][ C0] down_write+0x72/0x210 [ 21.957139][ C0] ? __pfx_down_write+0x10/0x10 [ 21.957143][ C0] ? simple_recursive_removal+0x33/0x610 [ 21.957149][ C0] ? rcu_is_watching+0x12/0xc0 [ 21.957157][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 21.957166][ C0] simple_recursive_removal+0x6a/0x610 [ 21.957170][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 21.957175][ C0] ? __pfx_remove_one+0x10/0x10 [ 21.957183][ C0] debugfs_remove+0x44/0x70 [ 21.957187][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 21.957194][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 21.957199][ C0] ? __sk_destruct+0x383/0x780 [ 21.957207][ C0] ? rcu_do_batch+0x34c/0xf20 [ 21.957212][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 21.957216][ C0] ? irq_exit_rcu+0xe/0x30 [ 21.957224][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.957231][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.957237][ C0] ? pv_native_safe_halt+0xf/0x20 [ 21.957241][ C0] ? default_idle+0x9/0x10 [ 21.957245][ C0] ? default_idle_call+0x6d/0xb0 [ 21.957249][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.957254][ C0] ? do_idle+0xf6/0x160 [ 21.957257][ C0] ? cpu_startup_entry+0x54/0x60 [ 21.957261][ C0] ? rest_init+0x14b/0x260 [ 21.957265][ C0] ? start_kernel+0x350/0x410 [ 21.957274][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 21.957282][ C0] ? rcu_is_watching+0x12/0xc0 [ 21.957289][ C0] __put_net+0x19/0x60 [ 21.957295][ C0] __sk_destruct+0x58a/0x780 [ 21.957301][ C0] ? rcu_do_batch+0x34a/0xf20 [ 21.957305][ C0] rcu_do_batch+0x34c/0xf20 [ 21.957313][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.957319][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 21.957328][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 21.957337][ C0] rcu_core+0x2bb/0x500 [ 21.957344][ C0] handle_softirqs+0x218/0x620 [ 21.957352][ C0] __irq_exit_rcu+0xfa/0x160 [ 21.957357][ C0] irq_exit_rcu+0xe/0x30 [ 21.957361][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.957366][ C0] [ 21.957368][ C0] [ 21.957371][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.957375][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 21.957382][ C0] 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 [ 21.957386][ C0] RSP: 0018:ffffffff91207df8 EFLAGS: 00000246 [ 21.957392][ C0] RAX: 0000000000000000 RBX: 1ffffffff2240fc3 RCX: ffffffff9058f5d9 [ 21.957395][ C0] RDX: ffffed1006c066fb RSI: ffffffff90853b60 RDI: ffffffff8dd8d18f [ 21.957397][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c066fa [ 21.957400][ C0] R10: ffff8880360337d3 R11: ffff888001becad8 R12: 0000000000000000 [ 21.957403][ C0] R13: ffffffff9121f240 R14: dffffc0000000000 R15: 0000000000014770 [ 21.957409][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 21.957413][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.957419][ C0] default_idle+0x9/0x10 [ 21.957423][ C0] default_idle_call+0x6d/0xb0 [ 21.957426][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 21.957431][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.957437][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 21.957446][ C0] do_idle+0xf6/0x160 [ 21.957451][ C0] cpu_startup_entry+0x54/0x60 [ 21.957455][ C0] rest_init+0x14b/0x260 [ 21.957461][ C0] start_kernel+0x350/0x410 [ 21.957466][ C0] x86_64_start_reservations+0x18/0x30 [ 21.957473][ C0] x86_64_start_kernel+0xf8/0x150 [ 21.957479][ C0] common_startup_64+0x13e/0x148 [ 21.957494][ C0]