[ 14.726410][ C2] [ 14.726577][ C2] ================================ [ 14.726783][ C2] WARNING: inconsistent lock state [ 14.726987][ C2] 6.15.0-rc5-virtme #1 Not tainted [ 14.727198][ C2] -------------------------------- [ 14.727405][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.727660][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.727926][ C2] ffffffffb29bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.728300][ C2] {SOFTIRQ-ON-W} state was registered at: [ 14.728508][ C2] __lock_acquire+0x3eb/0x9d0 [ 14.728724][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.728927][ C2] _raw_spin_lock+0x33/0x40 [ 14.729144][ C2] simple_pin_fs+0x24/0x150 [ 14.729355][ C2] start_creating.part.0+0x3f/0x2f0 [ 14.729563][ C2] debugfs_create_dir+0x6a/0x540 [ 14.729775][ C2] component_debug_init+0x17/0x30 [ 14.729990][ C2] do_one_initcall+0x8c/0x1e0 [ 14.730196][ C2] do_initcalls+0x176/0x280 [ 14.730407][ C2] kernel_init_freeable+0x22d/0x300 [ 14.730617][ C2] kernel_init+0x20/0x200 [ 14.730825][ C2] ret_from_fork+0x31/0x70 [ 14.731040][ C2] ret_from_fork_asm+0x1a/0x30 [ 14.731250][ C2] irq event stamp: 281818 [ 14.731417][ C2] hardirqs last enabled at (281818): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.731842][ C2] hardirqs last disabled at (281817): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.732264][ C2] softirqs last enabled at (280432): [] handle_softirqs+0x358/0x620 [ 14.732631][ C2] softirqs last disabled at (280445): [] __irq_exit_rcu+0xfa/0x160 [ 14.733007][ C2] [ 14.733007][ C2] other info that might help us debug this: [ 14.733323][ C2] Possible unsafe locking scenario: [ 14.733323][ C2] [ 14.733628][ C2] CPU0 [ 14.733792][ C2] ---- [ 14.733952][ C2] lock(pin_fs_lock); [ 14.734116][ C2] [ 14.734272][ C2] lock(pin_fs_lock); [ 14.734432][ C2] [ 14.734432][ C2] *** DEADLOCK *** [ 14.734432][ C2] [ 14.734740][ C2] 1 lock held by swapper/2/0: [ 14.734953][ C2] #0: ffffffffb2774480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.735325][ C2] [ 14.735325][ C2] stack backtrace: [ 14.735588][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.735593][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.735595][ C2] Call Trace: [ 14.735597][ C2] [ 14.735599][ C2] dump_stack_lvl+0x82/0xd0 [ 14.735606][ C2] print_usage_bug.part.0+0x25f/0x360 [ 14.735611][ C2] mark_lock_irq+0x343/0x400 [ 14.735616][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.735623][ C2] ? save_trace+0x52/0x170 [ 14.735628][ C2] mark_lock+0x174/0x2f0 [ 14.735632][ C2] mark_usage+0x46/0x150 [ 14.735635][ C2] __lock_acquire+0x3eb/0x9d0 [ 14.735640][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.735644][ C2] ? simple_pin_fs+0x24/0x150 [ 14.735648][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.735655][ C2] ? lock_acquire+0x10c/0x170 [ 14.735659][ C2] ? simple_pin_fs+0x24/0x150 [ 14.735663][ C2] _raw_spin_lock+0x33/0x40 [ 14.735666][ C2] ? simple_pin_fs+0x24/0x150 [ 14.735670][ C2] simple_pin_fs+0x24/0x150 [ 14.735674][ C2] debugfs_remove+0x35/0x70 [ 14.735677][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.735683][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.735686][ C2] ? __sk_destruct+0x383/0x780 [ 14.735693][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.735697][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.735699][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.735702][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.735706][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.735709][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.735712][ C2] ? default_idle+0x9/0x10 [ 14.735714][ C2] ? default_idle_call+0x6d/0xb0 [ 14.735717][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.735723][ C2] ? do_idle+0xf6/0x160 [ 14.735726][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.735728][ C2] ? start_secondary+0x213/0x2a0 [ 14.735735][ C2] ? common_startup_64+0x13e/0x148 [ 14.735743][ C2] __put_net+0x19/0x60 [ 14.735747][ C2] __sk_destruct+0x58a/0x780 [ 14.735751][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.735754][ C2] rcu_do_batch+0x34c/0xf20 [ 14.735759][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.735762][ C2] ? __lock_release+0x5d/0x170 [ 14.735766][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.735770][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.735774][ C2] rcu_core+0x2bb/0x500 [ 14.735777][ C2] handle_softirqs+0x218/0x620 [ 14.735782][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.735784][ C2] irq_exit_rcu+0xe/0x30 [ 14.735786][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.735790][ C2] [ 14.735791][ C2] [ 14.735792][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.735795][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.735799][ C2] Code: b0 b8 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 a3 d0 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 [ 14.735802][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 14.735805][ C2] RAX: 000000000004477b RBX: 1ffff92000028fc1 RCX: ffffffffb1755a19 [ 14.735807][ C2] RDX: 0000000000000000 RSI: ffffffffb2285f31 RDI: ffffffffb1a50ce0 [ 14.735809][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2667a [ 14.735811][ C2] R10: ffff8880361333d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.735812][ C2] R13: ffff888001bb2340 R14: dffffc0000000000 R15: 0000000000000000 [ 14.735816][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.735821][ C2] default_idle+0x9/0x10 [ 14.735823][ C2] default_idle_call+0x6d/0xb0 [ 14.735826][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.735829][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.735833][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.735838][ C2] do_idle+0xf6/0x160 [ 14.735842][ C2] cpu_startup_entry+0x54/0x60 [ 14.735846][ C2] start_secondary+0x213/0x2a0 [ 14.735849][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.735854][ C2] common_startup_64+0x13e/0x148 [ 14.735860][ C2] [ 14.752532][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.752886][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 14.753228][ C2] preempt_count: 101, expected: 0 [ 14.753432][ C2] RCU nest depth: 0, expected: 0 [ 14.753636][ C2] INFO: lockdep is turned off. [ 14.753835][ C2] Preemption disabled at: [ 14.753836][ C2] [<0000000000000000>] 0x0 [ 14.754201][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.754205][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.754207][ C2] Call Trace: [ 14.754208][ C2] [ 14.754210][ C2] dump_stack_lvl+0xb0/0xd0 [ 14.754217][ C2] __might_resched+0x360/0x5a0 [ 14.754224][ C2] down_write+0x72/0x210 [ 14.754228][ C2] ? __pfx_down_write+0x10/0x10 [ 14.754230][ C2] ? simple_recursive_removal+0x3a/0x860 [ 14.754235][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.754241][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.754246][ C2] simple_recursive_removal+0x166/0x860 [ 14.754248][ C2] ? __pfx_remove_one+0x10/0x10 [ 14.754252][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.754256][ C2] debugfs_remove+0x44/0x70 [ 14.754259][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.754263][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.754266][ C2] ? __sk_destruct+0x383/0x780 [ 14.754271][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.754275][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.754278][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.754282][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.754286][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.754290][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.754293][ C2] ? default_idle+0x9/0x10 [ 14.754295][ C2] ? default_idle_call+0x6d/0xb0 [ 14.754297][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.754301][ C2] ? do_idle+0xf6/0x160 [ 14.754304][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.754307][ C2] ? start_secondary+0x213/0x2a0 [ 14.754312][ C2] ? common_startup_64+0x13e/0x148 [ 14.754318][ C2] __put_net+0x19/0x60 [ 14.754321][ C2] __sk_destruct+0x58a/0x780 [ 14.754325][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.754328][ C2] rcu_do_batch+0x34c/0xf20 [ 14.754333][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.754336][ C2] ? __lock_release+0x5d/0x170 [ 14.754341][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.754344][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.754350][ C2] rcu_core+0x2bb/0x500 [ 14.754353][ C2] handle_softirqs+0x218/0x620 [ 14.754358][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.754360][ C2] irq_exit_rcu+0xe/0x30 [ 14.754362][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.754366][ C2] [ 14.754366][ C2] [ 14.754368][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.754371][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.754374][ C2] Code: b0 b8 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 a3 d0 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 [ 14.754377][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 14.754380][ C2] RAX: 000000000004477b RBX: 1ffff92000028fc1 RCX: ffffffffb1755a19 [ 14.754382][ C2] RDX: 0000000000000000 RSI: ffffffffb2285f31 RDI: ffffffffb1a50ce0 [ 14.754384][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c2667a [ 14.754386][ C2] R10: ffff8880361333d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.754387][ C2] R13: ffff888001bb2340 R14: dffffc0000000000 R15: 0000000000000000 [ 14.754391][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.754396][ C2] default_idle+0x9/0x10 [ 14.754398][ C2] default_idle_call+0x6d/0xb0 [ 14.754401][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.754404][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.754408][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.754413][ C2] do_idle+0xf6/0x160 [ 14.754417][ C2] cpu_startup_entry+0x54/0x60 [ 14.754421][ C2] start_secondary+0x213/0x2a0 [ 14.754424][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.754429][ C2] common_startup_64+0x13e/0x148 [ 14.754435][ C2] [ 16.367059][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.367459][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 16.367802][ C0] preempt_count: 101, expected: 0 [ 16.368005][ C0] RCU nest depth: 0, expected: 0 [ 16.368209][ C0] INFO: lockdep is turned off. [ 16.368407][ C0] Preemption disabled at: [ 16.368409][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 16.368859][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.368865][ C0] Tainted: [W]=WARN [ 16.368866][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.368868][ C0] Call Trace: [ 16.368870][ C0] [ 16.368872][ C0] dump_stack_lvl+0xb0/0xd0 [ 16.368878][ C0] __might_resched+0x360/0x5a0 [ 16.368883][ C0] down_write+0x72/0x210 [ 16.368887][ C0] ? __pfx_down_write+0x10/0x10 [ 16.368889][ C0] ? simple_recursive_removal+0x3a/0x860 [ 16.368894][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.368900][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.368905][ C0] simple_recursive_removal+0x166/0x860 [ 16.368907][ C0] ? __pfx_remove_one+0x10/0x10 [ 16.368912][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.368916][ C0] debugfs_remove+0x44/0x70 [ 16.368919][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.368923][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.368926][ C0] ? __sk_destruct+0x383/0x780 [ 16.368931][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.368935][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.368938][ C0] ? irq_exit_rcu+0xe/0x30 [ 16.368942][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.368947][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.368950][ C0] ? pv_native_safe_halt+0xf/0x20 [ 16.368954][ C0] ? default_idle+0x9/0x10 [ 16.368956][ C0] ? default_idle_call+0x6d/0xb0 [ 16.368958][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.368962][ C0] ? do_idle+0xf6/0x160 [ 16.368965][ C0] ? cpu_startup_entry+0x54/0x60 [ 16.368968][ C0] ? rest_init+0x14b/0x260 [ 16.368971][ C0] ? start_kernel+0x350/0x410 [ 16.368976][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.368981][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.368986][ C0] __put_net+0x19/0x60 [ 16.368989][ C0] __sk_destruct+0x58a/0x780 [ 16.368993][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.368996][ C0] rcu_do_batch+0x34c/0xf20 [ 16.369001][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.369005][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.369010][ C0] rcu_core+0x2bb/0x500 [ 16.369013][ C0] handle_softirqs+0x218/0x620 [ 16.369018][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.369021][ C0] irq_exit_rcu+0xe/0x30 [ 16.369023][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.369026][ C0] [ 16.369027][ C0] [ 16.369029][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.369031][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.369035][ C0] Code: b0 b8 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 a3 d0 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 [ 16.369038][ C0] RSP: 0018:ffffffffb2407df8 EFLAGS: 00000246 [ 16.369041][ C0] RAX: 0000000000000000 RBX: 1ffffffff6480fc3 RCX: ffffffffb1755a19 [ 16.369043][ C0] RDX: ffffed1006c0667b RSI: ffffffffb1a50c60 RDI: ffffffffaef84d8f [ 16.369045][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c0667a [ 16.369047][ C0] R10: ffff8880360333d3 R11: ffff888001b9cb58 R12: 0000000000000000 [ 16.369049][ C0] R13: ffffffffb241f240 R14: dffffc0000000000 R15: 0000000000014770 [ 16.369052][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.369056][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.369061][ C0] default_idle+0x9/0x10 [ 16.369063][ C0] default_idle_call+0x6d/0xb0 [ 16.369065][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.369069][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.369073][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.369079][ C0] do_idle+0xf6/0x160 [ 16.369083][ C0] cpu_startup_entry+0x54/0x60 [ 16.369086][ C0] rest_init+0x14b/0x260 [ 16.369089][ C0] start_kernel+0x350/0x410 [ 16.369093][ C0] x86_64_start_reservations+0x18/0x30 [ 16.369098][ C0] x86_64_start_kernel+0xba/0x110 [ 16.369102][ C0] common_startup_64+0x13e/0x148 [ 16.369111][ C0]