[ 15.848507][ C3] [ 15.848656][ C3] ================================ [ 15.848854][ C3] WARNING: inconsistent lock state [ 15.849047][ C3] 6.15.0-virtme #1 Not tainted [ 15.849244][ C3] -------------------------------- [ 15.849443][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.849683][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.849927][ C3] ffffffff87bc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.850289][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.850480][ C3] __lock_acquire+0x20b/0x7e0 [ 15.850685][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.850877][ C3] _raw_spin_lock+0x33/0x40 [ 15.851083][ C3] simple_pin_fs+0x24/0x150 [ 15.851273][ C3] start_creating.part.0+0x52/0x310 [ 15.851471][ C3] debugfs_create_dir+0x6a/0x540 [ 15.851666][ C3] component_debug_init+0x17/0x30 [ 15.851869][ C3] do_one_initcall+0x8f/0x1e0 [ 15.852070][ C3] do_initcalls+0x176/0x280 [ 15.852266][ C3] kernel_init_freeable+0x22d/0x300 [ 15.852460][ C3] kernel_init+0x20/0x200 [ 15.852665][ C3] ret_from_fork+0x240/0x320 [ 15.852868][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.853063][ C3] irq event stamp: 228874 [ 15.853214][ C3] hardirqs last enabled at (228874): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.853602][ C3] hardirqs last disabled at (228873): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.854002][ C3] softirqs last enabled at (228786): [] handle_softirqs+0x358/0x620 [ 15.854351][ C3] softirqs last disabled at (228799): [] __irq_exit_rcu+0xfa/0x160 [ 15.854697][ C3] [ 15.854697][ C3] other info that might help us debug this: [ 15.854988][ C3] Possible unsafe locking scenario: [ 15.854988][ C3] [ 15.855272][ C3] CPU0 [ 15.855419][ C3] ---- [ 15.855563][ C3] lock(pin_fs_lock); [ 15.855714][ C3] [ 15.855862][ C3] lock(pin_fs_lock); [ 15.856012][ C3] [ 15.856012][ C3] *** DEADLOCK *** [ 15.856012][ C3] [ 15.856303][ C3] 1 lock held by swapper/3/0: [ 15.856504][ C3] #0: ffffffff879774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.856859][ C3] [ 15.856859][ C3] stack backtrace: [ 15.857106][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.857112][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.857114][ C3] Call Trace: [ 15.857117][ C3] [ 15.857119][ C3] dump_stack_lvl+0x82/0xd0 [ 15.857127][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.857132][ C3] mark_lock_irq+0x343/0x400 [ 15.857137][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.857142][ C3] ? save_trace+0x52/0x170 [ 15.857149][ C3] mark_lock+0x174/0x2f0 [ 15.857153][ C3] mark_usage+0x46/0x150 [ 15.857156][ C3] __lock_acquire+0x20b/0x7e0 [ 15.857159][ C3] ? __lock_acquire+0x44d/0x7e0 [ 15.857163][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.857166][ C3] ? simple_pin_fs+0x24/0x150 [ 15.857170][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.857175][ C3] ? lock_acquire+0x10c/0x170 [ 15.857178][ C3] ? simple_pin_fs+0x24/0x150 [ 15.857183][ C3] _raw_spin_lock+0x33/0x40 [ 15.857186][ C3] ? simple_pin_fs+0x24/0x150 [ 15.857190][ C3] simple_pin_fs+0x24/0x150 [ 15.857194][ C3] debugfs_remove+0x35/0x70 [ 15.857198][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.857205][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.857209][ C3] ? __sk_destruct+0x383/0x780 [ 15.857217][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.857219][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.857223][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.857226][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.857232][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.857237][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.857240][ C3] ? default_idle+0x9/0x10 [ 15.857243][ C3] ? default_idle_call+0x6d/0xb0 [ 15.857245][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.857249][ C3] ? do_idle+0xf6/0x160 [ 15.857252][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.857254][ C3] ? start_secondary+0x213/0x2a0 [ 15.857259][ C3] ? common_startup_64+0x13e/0x148 [ 15.857267][ C3] __put_net+0x19/0x60 [ 15.857272][ C3] __sk_destruct+0x58a/0x780 [ 15.857276][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.857279][ C3] rcu_do_batch+0x34c/0xf20 [ 15.857282][ C3] ? find_held_lock+0x2b/0x80 [ 15.857286][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.857290][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.857293][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.857296][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.857301][ C3] rcu_core+0x2bb/0x500 [ 15.857307][ C3] handle_softirqs+0x218/0x620 [ 15.857312][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.857315][ C3] irq_exit_rcu+0xe/0x30 [ 15.857318][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.857322][ C3] [ 15.857323][ C3] [ 15.857325][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.857328][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.857332][ C3] 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 [ 15.857335][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.857338][ C3] RAX: 0000000000037dbd RBX: 1ffff9200002afc1 RCX: ffffffff8698f5d9 [ 15.857340][ C3] RDX: 0000000000000000 RSI: ffffffff8748f4e4 RDI: ffffffff86c53be0 [ 15.857342][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 15.857344][ C3] R10: ffff8880361b37d3 R11: ffffffff87611288 R12: 0000000000000000 [ 15.857345][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.857349][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.857354][ C3] default_idle+0x9/0x10 [ 15.857356][ C3] default_idle_call+0x6d/0xb0 [ 15.857359][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.857363][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.857366][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.857371][ C3] do_idle+0xf6/0x160 [ 15.857374][ C3] cpu_startup_entry+0x54/0x60 [ 15.857377][ C3] start_secondary+0x213/0x2a0 [ 15.857381][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.857385][ C3] common_startup_64+0x13e/0x148 [ 15.857393][ C3] [ 15.872865][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.873180][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.873508][ C3] preempt_count: 101, expected: 0 [ 15.873691][ C3] RCU nest depth: 0, expected: 0 [ 15.873879][ C3] INFO: lockdep is turned off. [ 15.874064][ C3] Preemption disabled at: [ 15.874066][ C3] [<0000000000000000>] 0x0 [ 15.874382][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.874386][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.874388][ C3] Call Trace: [ 15.874390][ C3] [ 15.874392][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.874400][ C3] __might_resched+0x360/0x5a0 [ 15.874409][ C3] down_write+0x72/0x210 [ 15.874414][ C3] ? __pfx_down_write+0x10/0x10 [ 15.874417][ C3] ? simple_recursive_removal+0x33/0x610 [ 15.874421][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.874427][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.874434][ C3] simple_recursive_removal+0x6a/0x610 [ 15.874437][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.874440][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.874447][ C3] debugfs_remove+0x44/0x70 [ 15.874449][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.874456][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.874459][ C3] ? __sk_destruct+0x383/0x780 [ 15.874465][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.874468][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.874471][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.874477][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.874482][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.874487][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.874490][ C3] ? default_idle+0x9/0x10 [ 15.874493][ C3] ? default_idle_call+0x6d/0xb0 [ 15.874495][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.874500][ C3] ? do_idle+0xf6/0x160 [ 15.874502][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.874505][ C3] ? start_secondary+0x213/0x2a0 [ 15.874508][ C3] ? common_startup_64+0x13e/0x148 [ 15.874515][ C3] __put_net+0x19/0x60 [ 15.874519][ C3] __sk_destruct+0x58a/0x780 [ 15.874523][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.874525][ C3] rcu_do_batch+0x34c/0xf20 [ 15.874529][ C3] ? find_held_lock+0x2b/0x80 [ 15.874535][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.874538][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.874543][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.874546][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.874551][ C3] rcu_core+0x2bb/0x500 [ 15.874556][ C3] handle_softirqs+0x218/0x620 [ 15.874561][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.874564][ C3] irq_exit_rcu+0xe/0x30 [ 15.874567][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.874571][ C3] [ 15.874572][ C3] [ 15.874574][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.874577][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.874581][ C3] 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 [ 15.874583][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.874586][ C3] RAX: 0000000000037dbd RBX: 1ffff9200002afc1 RCX: ffffffff8698f5d9 [ 15.874588][ C3] RDX: 0000000000000000 RSI: ffffffff8748f4e4 RDI: ffffffff86c53be0 [ 15.874590][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 15.874592][ C3] R10: ffff8880361b37d3 R11: ffffffff87611288 R12: 0000000000000000 [ 15.874593][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.874597][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.874602][ C3] default_idle+0x9/0x10 [ 15.874604][ C3] default_idle_call+0x6d/0xb0 [ 15.874607][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.874610][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.874614][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.874618][ C3] do_idle+0xf6/0x160 [ 15.874622][ C3] cpu_startup_entry+0x54/0x60 [ 15.874625][ C3] start_secondary+0x213/0x2a0 [ 15.874627][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.874632][ C3] common_startup_64+0x13e/0x148 [ 15.874639][ C3] [ 17.671471][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.671864][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.672177][ C2] preempt_count: 101, expected: 0 [ 17.672367][ C2] RCU nest depth: 0, expected: 0 [ 17.672565][ C2] INFO: lockdep is turned off. [ 17.672748][ C2] Preemption disabled at: [ 17.672750][ C2] [<0000000000000000>] 0x0 [ 17.673084][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.673090][ C2] Tainted: [W]=WARN [ 17.673092][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.673094][ C2] Call Trace: [ 17.673096][ C2] [ 17.673099][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.673111][ C2] __might_resched+0x360/0x5a0 [ 17.673121][ C2] down_write+0x72/0x210 [ 17.673127][ C2] ? __pfx_down_write+0x10/0x10 [ 17.673129][ C2] ? simple_recursive_removal+0x33/0x610 [ 17.673135][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.673143][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.673151][ C2] simple_recursive_removal+0x6a/0x610 [ 17.673154][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.673157][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.673164][ C2] debugfs_remove+0x44/0x70 [ 17.673167][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.673176][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.673179][ C2] ? __sk_destruct+0x383/0x780 [ 17.673188][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.673192][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.673195][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.673202][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.673209][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.673214][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.673217][ C2] ? default_idle+0x9/0x10 [ 17.673220][ C2] ? default_idle_call+0x6d/0xb0 [ 17.673223][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.673227][ C2] ? do_idle+0xf6/0x160 [ 17.673230][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.673232][ C2] ? start_secondary+0x213/0x2a0 [ 17.673237][ C2] ? common_startup_64+0x13e/0x148 [ 17.673245][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.673249][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.673254][ C2] __put_net+0x19/0x60 [ 17.673259][ C2] __sk_destruct+0x58a/0x780 [ 17.673263][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.673265][ C2] rcu_do_batch+0x34c/0xf20 [ 17.673270][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.673273][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.673279][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.673285][ C2] rcu_core+0x2bb/0x500 [ 17.673291][ C2] handle_softirqs+0x218/0x620 [ 17.673296][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.673299][ C2] irq_exit_rcu+0xe/0x30 [ 17.673302][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.673306][ C2] [ 17.673307][ C2] [ 17.673309][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.673312][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.673316][ C2] 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 [ 17.673319][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.673323][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff8698f5d9 [ 17.673325][ C2] RDX: ffffed1006c266fb RSI: ffffffff86c53b60 RDI: ffffffff8418d18f [ 17.673327][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 17.673329][ C2] R10: ffff8880361337d3 R11: ffff8880126ccad8 R12: 0000000000000000 [ 17.673330][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.673334][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.673338][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.673342][ C2] default_idle+0x9/0x10 [ 17.673344][ C2] default_idle_call+0x6d/0xb0 [ 17.673347][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.673350][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.673354][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.673359][ C2] do_idle+0xf6/0x160 [ 17.673362][ C2] cpu_startup_entry+0x54/0x60 [ 17.673365][ C2] start_secondary+0x213/0x2a0 [ 17.673368][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.673373][ C2] common_startup_64+0x13e/0x148 [ 17.673380][ C2]