[ 16.864317][ C0] [ 16.864484][ C0] ================================ [ 16.864706][ C0] WARNING: inconsistent lock state [ 16.864920][ C0] 6.15.0-virtme #1 Not tainted [ 16.865131][ C0] -------------------------------- [ 16.865341][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.865602][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.865870][ C0] ffffffff9afc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.866274][ C0] {SOFTIRQ-ON-W} state was registered at: [ 16.866487][ C0] __lock_acquire+0x20b/0x7e0 [ 16.866719][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.866932][ C0] _raw_spin_lock+0x33/0x40 [ 16.867160][ C0] simple_pin_fs+0x24/0x150 [ 16.867367][ C0] start_creating.part.0+0x52/0x310 [ 16.867581][ C0] debugfs_create_dir+0x6a/0x540 [ 16.867789][ C0] component_debug_init+0x17/0x30 [ 16.868013][ C0] do_one_initcall+0x8f/0x1e0 [ 16.868236][ C0] do_initcalls+0x176/0x280 [ 16.868450][ C0] kernel_init_freeable+0x22d/0x300 [ 16.868660][ C0] kernel_init+0x20/0x200 [ 16.868876][ C0] ret_from_fork+0x240/0x320 [ 16.869092][ C0] ret_from_fork_asm+0x1a/0x30 [ 16.869300][ C0] irq event stamp: 459008 [ 16.869458][ C0] hardirqs last enabled at (459008): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.869881][ C0] hardirqs last disabled at (459007): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.870296][ C0] softirqs last enabled at (458518): [] handle_softirqs+0x358/0x620 [ 16.870679][ C0] softirqs last disabled at (458525): [] __irq_exit_rcu+0xfa/0x160 [ 16.871046][ C0] [ 16.871046][ C0] other info that might help us debug this: [ 16.871351][ C0] Possible unsafe locking scenario: [ 16.871351][ C0] [ 16.871665][ C0] CPU0 [ 16.871824][ C0] ---- [ 16.871980][ C0] lock(pin_fs_lock); [ 16.872138][ C0] [ 16.872296][ C0] lock(pin_fs_lock); [ 16.872457][ C0] [ 16.872457][ C0] *** DEADLOCK *** [ 16.872457][ C0] [ 16.872782][ C0] 1 lock held by swapper/0/0: [ 16.872993][ C0] #0: ffffffff9ad774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.873379][ C0] [ 16.873379][ C0] stack backtrace: [ 16.873652][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.873660][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.873662][ C0] Call Trace: [ 16.873666][ C0] [ 16.873668][ C0] dump_stack_lvl+0x82/0xd0 [ 16.873681][ C0] print_usage_bug.part.0+0x25f/0x360 [ 16.873686][ C0] mark_lock_irq+0x343/0x400 [ 16.873690][ C0] ? is_bpf_text_address+0x67/0x120 [ 16.873702][ C0] ? __lock_release+0x5d/0x170 [ 16.873709][ C0] ? save_trace+0x52/0x170 [ 16.873719][ C0] mark_lock+0x174/0x2f0 [ 16.873722][ C0] mark_usage+0x46/0x150 [ 16.873725][ C0] __lock_acquire+0x20b/0x7e0 [ 16.873728][ C0] ? __lock_acquire+0x44d/0x7e0 [ 16.873733][ C0] lock_acquire.part.0+0xb6/0x240 [ 16.873736][ C0] ? simple_pin_fs+0x24/0x150 [ 16.873740][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.873747][ C0] ? lock_acquire+0x10c/0x170 [ 16.873750][ C0] ? simple_pin_fs+0x24/0x150 [ 16.873754][ C0] _raw_spin_lock+0x33/0x40 [ 16.873759][ C0] ? simple_pin_fs+0x24/0x150 [ 16.873763][ C0] simple_pin_fs+0x24/0x150 [ 16.873767][ C0] debugfs_remove+0x35/0x70 [ 16.873770][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.873782][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.873786][ C0] ? __sk_destruct+0x383/0x780 [ 16.873801][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.873803][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.873807][ C0] ? irq_exit_rcu+0xe/0x30 [ 16.873810][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.873818][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.873827][ C0] ? pv_native_safe_halt+0xf/0x20 [ 16.873830][ C0] ? default_idle+0x9/0x10 [ 16.873833][ C0] ? default_idle_call+0x6d/0xb0 [ 16.873836][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.873842][ C0] ? do_idle+0xf6/0x160 [ 16.873844][ C0] ? cpu_startup_entry+0x54/0x60 [ 16.873846][ C0] ? rest_init+0x14b/0x260 [ 16.873849][ C0] ? start_kernel+0x350/0x410 [ 16.873855][ C0] __put_net+0x19/0x60 [ 16.873861][ C0] __sk_destruct+0x58a/0x780 [ 16.873865][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.873868][ C0] rcu_do_batch+0x34c/0xf20 [ 16.873871][ C0] ? find_held_lock+0x2b/0x80 [ 16.873875][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.873879][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.873883][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.873886][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.873891][ C0] rcu_core+0x2bb/0x500 [ 16.873896][ C0] handle_softirqs+0x218/0x620 [ 16.873902][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.873905][ C0] irq_exit_rcu+0xe/0x30 [ 16.873908][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.873911][ C0] [ 16.873912][ C0] [ 16.873914][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.873917][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.873921][ 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 [ 16.873924][ C0] RSP: 0018:ffffffff9aa07df8 EFLAGS: 00000246 [ 16.873932][ C0] RAX: 000000000006ff1b RBX: 1ffffffff3540fc3 RCX: ffffffff99d905d9 [ 16.873934][ C0] RDX: 0000000000000000 RSI: ffffffff9a88f4e4 RDI: ffffffff9a053be0 [ 16.873936][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 16.873937][ C0] R10: ffff8880360337d3 R11: ffffffff9aa11288 R12: 0000000000000000 [ 16.873939][ C0] R13: ffffffff9aa1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 16.873943][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.873948][ C0] default_idle+0x9/0x10 [ 16.873952][ C0] default_idle_call+0x6d/0xb0 [ 16.873955][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.873958][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.873962][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.873971][ C0] do_idle+0xf6/0x160 [ 16.873975][ C0] cpu_startup_entry+0x54/0x60 [ 16.873978][ C0] rest_init+0x14b/0x260 [ 16.873982][ C0] start_kernel+0x350/0x410 [ 16.873986][ C0] x86_64_start_reservations+0x18/0x30 [ 16.873992][ C0] x86_64_start_kernel+0xf8/0x150 [ 16.873996][ C0] common_startup_64+0x13e/0x148 [ 16.874014][ C0] [ 16.891382][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.891863][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 16.892204][ C0] preempt_count: 101, expected: 0 [ 16.892407][ C0] RCU nest depth: 0, expected: 0 [ 16.892612][ C0] INFO: lockdep is turned off. [ 16.892818][ C0] Preemption disabled at: [ 16.892820][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 16.893270][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.893275][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.893277][ C0] Call Trace: [ 16.893279][ C0] [ 16.893281][ C0] dump_stack_lvl+0xb0/0xd0 [ 16.893288][ C0] __might_resched+0x360/0x5a0 [ 16.893301][ C0] down_write+0x72/0x210 [ 16.893305][ C0] ? __pfx_down_write+0x10/0x10 [ 16.893308][ C0] ? simple_recursive_removal+0x33/0x610 [ 16.893315][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.893320][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.893329][ C0] simple_recursive_removal+0x6a/0x610 [ 16.893332][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.893335][ C0] ? __pfx_remove_one+0x10/0x10 [ 16.893341][ C0] debugfs_remove+0x44/0x70 [ 16.893344][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.893351][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.893354][ C0] ? __sk_destruct+0x383/0x780 [ 16.893359][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.893363][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.893366][ C0] ? irq_exit_rcu+0xe/0x30 [ 16.893372][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.893376][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.893381][ C0] ? pv_native_safe_halt+0xf/0x20 [ 16.893384][ C0] ? default_idle+0x9/0x10 [ 16.893387][ C0] ? default_idle_call+0x6d/0xb0 [ 16.893389][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.893394][ C0] ? do_idle+0xf6/0x160 [ 16.893398][ C0] ? cpu_startup_entry+0x54/0x60 [ 16.893401][ C0] ? rest_init+0x14b/0x260 [ 16.893404][ C0] ? start_kernel+0x350/0x410 [ 16.893411][ C0] __put_net+0x19/0x60 [ 16.893415][ C0] __sk_destruct+0x58a/0x780 [ 16.893419][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.893422][ C0] rcu_do_batch+0x34c/0xf20 [ 16.893425][ C0] ? find_held_lock+0x2b/0x80 [ 16.893431][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.893434][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.893438][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.893441][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.893446][ C0] rcu_core+0x2bb/0x500 [ 16.893452][ C0] handle_softirqs+0x218/0x620 [ 16.893457][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.893460][ C0] irq_exit_rcu+0xe/0x30 [ 16.893463][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.893467][ C0] [ 16.893468][ C0] [ 16.893470][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.893473][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.893477][ 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 [ 16.893480][ C0] RSP: 0018:ffffffff9aa07df8 EFLAGS: 00000246 [ 16.893484][ C0] RAX: 000000000006ff1b RBX: 1ffffffff3540fc3 RCX: ffffffff99d905d9 [ 16.893486][ C0] RDX: 0000000000000000 RSI: ffffffff9a88f4e4 RDI: ffffffff9a053be0 [ 16.893488][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 16.893490][ C0] R10: ffff8880360337d3 R11: ffffffff9aa11288 R12: 0000000000000000 [ 16.893492][ C0] R13: ffffffff9aa1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 16.893497][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.893502][ C0] default_idle+0x9/0x10 [ 16.893505][ C0] default_idle_call+0x6d/0xb0 [ 16.893507][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.893510][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.893514][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.893520][ C0] do_idle+0xf6/0x160 [ 16.893523][ C0] cpu_startup_entry+0x54/0x60 [ 16.893526][ C0] rest_init+0x14b/0x260 [ 16.893530][ C0] start_kernel+0x350/0x410 [ 16.893534][ C0] x86_64_start_reservations+0x18/0x30 [ 16.893539][ C0] x86_64_start_kernel+0xf8/0x150 [ 16.893543][ C0] common_startup_64+0x13e/0x148 [ 16.893553][ C0] [ 19.259044][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.259500][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 19.259859][ C0] preempt_count: 101, expected: 0 [ 19.260058][ C0] RCU nest depth: 0, expected: 0 [ 19.260266][ C0] INFO: lockdep is turned off. [ 19.260467][ C0] Preemption disabled at: [ 19.260469][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 19.260933][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 19.260940][ C0] Tainted: [W]=WARN [ 19.260941][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.260944][ C0] Call Trace: [ 19.260946][ C0] [ 19.260948][ C0] dump_stack_lvl+0xb0/0xd0 [ 19.260956][ C0] __might_resched+0x360/0x5a0 [ 19.260966][ C0] down_write+0x72/0x210 [ 19.260971][ C0] ? __pfx_down_write+0x10/0x10 [ 19.260974][ C0] ? simple_recursive_removal+0x33/0x610 [ 19.260980][ C0] ? rcu_is_watching+0x12/0xc0 [ 19.260986][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 19.260994][ C0] simple_recursive_removal+0x6a/0x610 [ 19.260997][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 19.261000][ C0] ? __pfx_remove_one+0x10/0x10 [ 19.261007][ C0] debugfs_remove+0x44/0x70 [ 19.261014][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 19.261021][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.261025][ C0] ? __sk_destruct+0x383/0x780 [ 19.261033][ C0] ? rcu_do_batch+0x34c/0xf20 [ 19.261036][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.261040][ C0] ? irq_exit_rcu+0xe/0x30 [ 19.261047][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.261052][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.261057][ C0] ? pv_native_safe_halt+0xf/0x20 [ 19.261061][ C0] ? default_idle+0x9/0x10 [ 19.261063][ C0] ? default_idle_call+0x6d/0xb0 [ 19.261066][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.261070][ C0] ? do_idle+0xf6/0x160 [ 19.261073][ C0] ? cpu_startup_entry+0x54/0x60 [ 19.261075][ C0] ? rest_init+0x14b/0x260 [ 19.261079][ C0] ? start_kernel+0x350/0x410 [ 19.261085][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 19.261094][ C0] ? rcu_is_watching+0x12/0xc0 [ 19.261099][ C0] __put_net+0x19/0x60 [ 19.261103][ C0] __sk_destruct+0x58a/0x780 [ 19.261107][ C0] ? rcu_do_batch+0x34a/0xf20 [ 19.261110][ C0] rcu_do_batch+0x34c/0xf20 [ 19.261114][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.261118][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 19.261133][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.261140][ C0] rcu_core+0x2bb/0x500 [ 19.261145][ C0] handle_softirqs+0x218/0x620 [ 19.261151][ C0] __irq_exit_rcu+0xfa/0x160 [ 19.261155][ C0] irq_exit_rcu+0xe/0x30 [ 19.261158][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.261162][ C0] [ 19.261164][ C0] [ 19.261165][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.261168][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.261173][ 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 [ 19.261176][ C0] RSP: 0018:ffffffff9aa07df8 EFLAGS: 00000246 [ 19.261180][ C0] RAX: 0000000000000000 RBX: 1ffffffff3540fc3 RCX: ffffffff99d905d9 [ 19.261183][ C0] RDX: ffffed1006c066fb RSI: ffffffff9a053b60 RDI: ffffffff9758d18f [ 19.261185][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c066fa [ 19.261186][ C0] R10: ffff8880360337d3 R11: ffffffff9d64ff30 R12: 0000000000000000 [ 19.261188][ C0] R13: ffffffff9aa1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 19.261192][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.261195][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.261199][ C0] default_idle+0x9/0x10 [ 19.261201][ C0] default_idle_call+0x6d/0xb0 [ 19.261204][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 19.261207][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.261211][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.261218][ C0] do_idle+0xf6/0x160 [ 19.261221][ C0] cpu_startup_entry+0x54/0x60 [ 19.261224][ C0] rest_init+0x14b/0x260 [ 19.261227][ C0] start_kernel+0x350/0x410 [ 19.261231][ C0] x86_64_start_reservations+0x18/0x30 [ 19.261236][ C0] x86_64_start_kernel+0xf8/0x150 [ 19.261239][ C0] common_startup_64+0x13e/0x148 [ 19.261249][ C0]