[ 15.819927][ C3] [ 15.820073][ C3] ================================ [ 15.820276][ C3] WARNING: inconsistent lock state [ 15.820472][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 15.820669][ C3] -------------------------------- [ 15.820870][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.821121][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.821372][ C3] ffffffffb57bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.821731][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.821934][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.822135][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.822340][ C3] _raw_spin_lock+0x33/0x40 [ 15.822538][ C3] simple_pin_fs+0x24/0x150 [ 15.822737][ C3] start_creating.part.0+0x3f/0x2f0 [ 15.822951][ C3] debugfs_create_dir+0x6a/0x540 [ 15.823143][ C3] component_debug_init+0x17/0x30 [ 15.823341][ C3] do_one_initcall+0x8f/0x1e0 [ 15.823543][ C3] do_initcalls+0x176/0x280 [ 15.823741][ C3] kernel_init_freeable+0x22d/0x300 [ 15.823944][ C3] kernel_init+0x20/0x200 [ 15.824147][ C3] ret_from_fork+0x31/0x70 [ 15.824346][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.824540][ C3] irq event stamp: 254774 [ 15.824691][ C3] hardirqs last enabled at (254774): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.825100][ C3] hardirqs last disabled at (254773): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.825498][ C3] softirqs last enabled at (252640): [] handle_softirqs+0x358/0x620 [ 15.825842][ C3] softirqs last disabled at (252653): [] __irq_exit_rcu+0xfa/0x160 [ 15.826197][ C3] [ 15.826197][ C3] other info that might help us debug this: [ 15.826491][ C3] Possible unsafe locking scenario: [ 15.826491][ C3] [ 15.826782][ C3] CPU0 [ 15.826936][ C3] ---- [ 15.827083][ C3] lock(pin_fs_lock); [ 15.827234][ C3] [ 15.827378][ C3] lock(pin_fs_lock); [ 15.827529][ C3] [ 15.827529][ C3] *** DEADLOCK *** [ 15.827529][ C3] [ 15.827827][ C3] 1 lock held by swapper/3/0: [ 15.828031][ C3] #0: ffffffffb55749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.828385][ C3] [ 15.828385][ C3] stack backtrace: [ 15.828630][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.828635][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.828638][ C3] Call Trace: [ 15.828640][ C3] [ 15.828642][ C3] dump_stack_lvl+0x82/0xd0 [ 15.828650][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.828657][ C3] mark_lock_irq+0x343/0x400 [ 15.828662][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.828669][ C3] ? save_trace+0x52/0x170 [ 15.828674][ C3] mark_lock+0x174/0x2f0 [ 15.828678][ C3] mark_usage+0x46/0x150 [ 15.828682][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.828688][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.828690][ C3] ? simple_pin_fs+0x24/0x150 [ 15.828694][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.828701][ C3] ? lock_acquire+0x10c/0x170 [ 15.828703][ C3] ? simple_pin_fs+0x24/0x150 [ 15.828706][ C3] _raw_spin_lock+0x33/0x40 [ 15.828710][ C3] ? simple_pin_fs+0x24/0x150 [ 15.828712][ C3] simple_pin_fs+0x24/0x150 [ 15.828715][ C3] debugfs_remove+0x35/0x70 [ 15.828720][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.828726][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.828729][ C3] ? __sk_destruct+0x383/0x780 [ 15.828735][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.828738][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.828741][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.828744][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.828749][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.828754][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.828757][ C3] ? default_idle+0x9/0x10 [ 15.828759][ C3] ? default_idle_call+0x6d/0xb0 [ 15.828762][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.828768][ C3] ? do_idle+0xf6/0x160 [ 15.828771][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.828774][ C3] ? start_secondary+0x213/0x2a0 [ 15.828780][ C3] ? common_startup_64+0x13e/0x148 [ 15.828788][ C3] __put_net+0x19/0x60 [ 15.828793][ C3] __sk_destruct+0x58a/0x780 [ 15.828797][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.828800][ C3] rcu_do_batch+0x34f/0xf20 [ 15.828804][ C3] ? find_held_lock+0x2b/0x80 [ 15.828809][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.828812][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.828816][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.828820][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.828825][ C3] rcu_core+0x2bb/0x500 [ 15.828829][ C3] handle_softirqs+0x218/0x620 [ 15.828834][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.828836][ C3] irq_exit_rcu+0xe/0x30 [ 15.828839][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.828842][ C3] [ 15.828844][ C3] [ 15.828845][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.828848][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.828852][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 15.828856][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.828859][ C3] RAX: 000000000003daeb RBX: 1ffff9200002afc1 RCX: ffffffffb455ba19 [ 15.828861][ C3] RDX: 0000000000000000 RSI: ffffffffb5087785 RDI: ffffffffb4851260 [ 15.828864][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.828867][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.828869][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.828877][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.828883][ C3] default_idle+0x9/0x10 [ 15.828886][ C3] default_idle_call+0x6d/0xb0 [ 15.828888][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.828892][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.828896][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.828902][ C3] do_idle+0xf6/0x160 [ 15.828906][ C3] cpu_startup_entry+0x54/0x60 [ 15.828909][ C3] start_secondary+0x213/0x2a0 [ 15.828913][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.828918][ C3] common_startup_64+0x13e/0x148 [ 15.828925][ C3] [ 15.844326][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.844644][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.844977][ C3] preempt_count: 101, expected: 0 [ 15.845159][ C3] RCU nest depth: 0, expected: 0 [ 15.845347][ C3] INFO: lockdep is turned off. [ 15.845530][ C3] Preemption disabled at: [ 15.845532][ C3] [<0000000000000000>] 0x0 [ 15.845850][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.845855][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.845857][ C3] Call Trace: [ 15.845859][ C3] [ 15.845861][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.845873][ C3] __might_resched+0x360/0x5a0 [ 15.845882][ C3] down_write+0x72/0x210 [ 15.845887][ C3] ? __pfx_down_write+0x10/0x10 [ 15.845891][ C3] ? simple_recursive_removal+0x3a/0x860 [ 15.845896][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.845903][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.845908][ C3] simple_recursive_removal+0x166/0x860 [ 15.845911][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.845917][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.845921][ C3] debugfs_remove+0x44/0x70 [ 15.845925][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.845930][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.845934][ C3] ? __sk_destruct+0x383/0x780 [ 15.845939][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.845944][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.845947][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.845951][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.845955][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.845959][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.845963][ C3] ? default_idle+0x9/0x10 [ 15.845965][ C3] ? default_idle_call+0x6d/0xb0 [ 15.845968][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.845973][ C3] ? do_idle+0xf6/0x160 [ 15.845976][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.845979][ C3] ? start_secondary+0x213/0x2a0 [ 15.845984][ C3] ? common_startup_64+0x13e/0x148 [ 15.845991][ C3] __put_net+0x19/0x60 [ 15.845995][ C3] __sk_destruct+0x58a/0x780 [ 15.845999][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.846002][ C3] rcu_do_batch+0x34f/0xf20 [ 15.846006][ C3] ? find_held_lock+0x2b/0x80 [ 15.846011][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.846015][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.846020][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.846024][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.846028][ C3] rcu_core+0x2bb/0x500 [ 15.846033][ C3] handle_softirqs+0x218/0x620 [ 15.846038][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.846040][ C3] irq_exit_rcu+0xe/0x30 [ 15.846043][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.846046][ C3] [ 15.846047][ C3] [ 15.846049][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.846051][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.846055][ C3] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 15.846058][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.846061][ C3] RAX: 000000000003daeb RBX: 1ffff9200002afc1 RCX: ffffffffb455ba19 [ 15.846064][ C3] RDX: 0000000000000000 RSI: ffffffffb5087785 RDI: ffffffffb4851260 [ 15.846065][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.846067][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.846069][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.846073][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.846078][ C3] default_idle+0x9/0x10 [ 15.846080][ C3] default_idle_call+0x6d/0xb0 [ 15.846083][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.846086][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.846091][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.846096][ C3] do_idle+0xf6/0x160 [ 15.846100][ C3] cpu_startup_entry+0x54/0x60 [ 15.846104][ C3] start_secondary+0x213/0x2a0 [ 15.846107][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.846112][ C3] common_startup_64+0x13e/0x148 [ 15.846119][ C3] [ 17.640978][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.641661][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 17.642232][ C0] preempt_count: 101, expected: 0 [ 17.642545][ C0] RCU nest depth: 0, expected: 0 [ 17.642846][ C0] INFO: lockdep is turned off. [ 17.643188][ C0] Preemption disabled at: [ 17.643192][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 17.643957][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.643966][ C0] Tainted: [W]=WARN [ 17.643969][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.643972][ C0] Call Trace: [ 17.643975][ C0] [ 17.643978][ C0] dump_stack_lvl+0xb0/0xd0 [ 17.643988][ C0] __might_resched+0x360/0x5a0 [ 17.643999][ C0] down_write+0x72/0x210 [ 17.644006][ C0] ? __pfx_down_write+0x10/0x10 [ 17.644011][ C0] ? simple_recursive_removal+0x3a/0x860 [ 17.644020][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.644031][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.644040][ C0] simple_recursive_removal+0x166/0x860 [ 17.644045][ C0] ? __pfx_remove_one+0x10/0x10 [ 17.644053][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.644062][ C0] debugfs_remove+0x44/0x70 [ 17.644067][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.644076][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.644081][ C0] ? __sk_destruct+0x383/0x780 [ 17.644090][ C0] ? rcu_do_batch+0x34f/0xf20 [ 17.644097][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.644102][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.644110][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.644117][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.644124][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.644129][ C0] ? default_idle+0x9/0x10 [ 17.644133][ C0] ? default_idle_call+0x6d/0xb0 [ 17.644137][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.644145][ C0] ? do_idle+0xf6/0x160 [ 17.644150][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.644155][ C0] ? rest_init+0x14b/0x260 [ 17.644160][ C0] ? start_kernel+0x350/0x410 [ 17.644167][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.644174][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.644183][ C0] __put_net+0x19/0x60 [ 17.644189][ C0] __sk_destruct+0x58a/0x780 [ 17.644196][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.644201][ C0] rcu_do_batch+0x34f/0xf20 [ 17.644211][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.644218][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.644227][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.644237][ C0] rcu_core+0x2bb/0x500 [ 17.644245][ C0] handle_softirqs+0x218/0x620 [ 17.644254][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.644259][ C0] irq_exit_rcu+0xe/0x30 [ 17.644263][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.644269][ C0] [ 17.644271][ C0] [ 17.644274][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.644279][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.644285][ C0] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 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 [ 17.644290][ C0] RSP: 0018:ffffffffb5207df8 EFLAGS: 00000246 [ 17.644297][ C0] RAX: 0000000000000000 RBX: 1ffffffff6a40fc3 RCX: ffffffffb455ba19 [ 17.644301][ C0] RDX: ffffed1006c0667b RSI: ffffffffb48511e0 RDI: ffffffffb1d8633f [ 17.644304][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c0667a [ 17.644308][ C0] R10: ffff8880360333d3 R11: ffffffffb7e8dc98 R12: 0000000000000000 [ 17.644311][ C0] R13: ffffffffb521f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.644319][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.644325][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.644333][ C0] default_idle+0x9/0x10 [ 17.644338][ C0] default_idle_call+0x6d/0xb0 [ 17.644343][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.644349][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.644357][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.644369][ C0] do_idle+0xf6/0x160 [ 17.644376][ C0] cpu_startup_entry+0x54/0x60 [ 17.644382][ C0] rest_init+0x14b/0x260 [ 17.644388][ C0] start_kernel+0x350/0x410 [ 17.644394][ C0] x86_64_start_reservations+0x18/0x30 [ 17.644402][ C0] x86_64_start_kernel+0xba/0x110 [ 17.644409][ C0] common_startup_64+0x13e/0x148 [ 17.644425][ C0]