[ 15.479280][ C3] [ 15.479496][ C3] ================================ [ 15.479702][ C3] WARNING: inconsistent lock state [ 15.479908][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 15.480112][ C3] -------------------------------- [ 15.480308][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.480560][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.480817][ C3] ffffffffbc9bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.481171][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.481370][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.481576][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.481774][ C3] _raw_spin_lock+0x33/0x40 [ 15.481976][ C3] simple_pin_fs+0x24/0x150 [ 15.482172][ C3] start_creating.part.0+0x3f/0x2f0 [ 15.482372][ C3] debugfs_create_dir+0x6a/0x540 [ 15.482567][ C3] component_debug_init+0x17/0x30 [ 15.482764][ C3] do_one_initcall+0x8f/0x1e0 [ 15.482966][ C3] do_initcalls+0x176/0x280 [ 15.483164][ C3] kernel_init_freeable+0x22d/0x300 [ 15.483361][ C3] kernel_init+0x20/0x200 [ 15.483558][ C3] ret_from_fork+0x31/0x70 [ 15.483755][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.483951][ C3] irq event stamp: 304128 [ 15.484100][ C3] hardirqs last enabled at (304128): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.484493][ C3] hardirqs last disabled at (304127): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.484881][ C3] softirqs last enabled at (303534): [] handle_softirqs+0x358/0x620 [ 15.485235][ C3] softirqs last disabled at (303541): [] __irq_exit_rcu+0xfa/0x160 [ 15.485585][ C3] [ 15.485585][ C3] other info that might help us debug this: [ 15.485874][ C3] Possible unsafe locking scenario: [ 15.485874][ C3] [ 15.486159][ C3] CPU0 [ 15.486311][ C3] ---- [ 15.486456][ C3] lock(pin_fs_lock); [ 15.486606][ C3] [ 15.486757][ C3] lock(pin_fs_lock); [ 15.486908][ C3] [ 15.486908][ C3] *** DEADLOCK *** [ 15.486908][ C3] [ 15.487197][ C3] 1 lock held by swapper/3/0: [ 15.487398][ C3] #0: ffffffffbc7749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.487754][ C3] [ 15.487754][ C3] stack backtrace: [ 15.488000][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.488005][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.488007][ C3] Call Trace: [ 15.488009][ C3] [ 15.488012][ C3] dump_stack_lvl+0x82/0xd0 [ 15.488018][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.488023][ C3] mark_lock_irq+0x343/0x400 [ 15.488028][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.488034][ C3] ? save_trace+0x52/0x170 [ 15.488039][ C3] mark_lock+0x174/0x2f0 [ 15.488043][ C3] mark_usage+0x46/0x150 [ 15.488047][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.488052][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.488055][ C3] ? simple_pin_fs+0x24/0x150 [ 15.488058][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.488063][ C3] ? lock_acquire+0x10c/0x170 [ 15.488065][ C3] ? simple_pin_fs+0x24/0x150 [ 15.488069][ C3] _raw_spin_lock+0x33/0x40 [ 15.488072][ C3] ? simple_pin_fs+0x24/0x150 [ 15.488074][ C3] simple_pin_fs+0x24/0x150 [ 15.488077][ C3] debugfs_remove+0x35/0x70 [ 15.488080][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.488085][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.488089][ C3] ? __sk_destruct+0x383/0x780 [ 15.488094][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.488097][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.488100][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.488102][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.488106][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.488110][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.488113][ C3] ? default_idle+0x9/0x10 [ 15.488115][ C3] ? default_idle_call+0x6d/0xb0 [ 15.488118][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.488123][ C3] ? do_idle+0xf6/0x160 [ 15.488126][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.488129][ C3] ? start_secondary+0x213/0x2a0 [ 15.488134][ C3] ? common_startup_64+0x13e/0x148 [ 15.488140][ C3] __put_net+0x19/0x60 [ 15.488144][ C3] __sk_destruct+0x58a/0x780 [ 15.488147][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.488151][ C3] rcu_do_batch+0x34f/0xf20 [ 15.488154][ C3] ? find_held_lock+0x2b/0x80 [ 15.488159][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.488162][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.488166][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.488170][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.488175][ C3] rcu_core+0x2bb/0x500 [ 15.488178][ C3] handle_softirqs+0x218/0x620 [ 15.488183][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.488186][ C3] irq_exit_rcu+0xe/0x30 [ 15.488188][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.488191][ C3] [ 15.488192][ C3] [ 15.488194][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.488197][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.488201][ 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.488204][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.488207][ C3] RAX: 000000000004a1b3 RBX: 1ffff9200002afc1 RCX: ffffffffbb75ba19 [ 15.488209][ C3] RDX: 0000000000000000 RSI: ffffffffbc287785 RDI: ffffffffbba51260 [ 15.488211][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.488213][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.488214][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.488218][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.488223][ C3] default_idle+0x9/0x10 [ 15.488225][ C3] default_idle_call+0x6d/0xb0 [ 15.488228][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.488232][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.488236][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.488241][ C3] do_idle+0xf6/0x160 [ 15.488245][ C3] cpu_startup_entry+0x54/0x60 [ 15.488249][ C3] start_secondary+0x213/0x2a0 [ 15.488252][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.488258][ C3] common_startup_64+0x13e/0x148 [ 15.488264][ C3] [ 15.503531][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.503863][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.504177][ C3] preempt_count: 101, expected: 0 [ 15.504359][ C3] RCU nest depth: 0, expected: 0 [ 15.504532][ C3] INFO: lockdep is turned off. [ 15.504723][ C3] Preemption disabled at: [ 15.504724][ C3] [<0000000000000000>] 0x0 [ 15.505032][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.505037][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.505038][ C3] Call Trace: [ 15.505040][ C3] [ 15.505041][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.505048][ C3] __might_resched+0x360/0x5a0 [ 15.505054][ C3] down_write+0x72/0x210 [ 15.505058][ C3] ? __pfx_down_write+0x10/0x10 [ 15.505061][ C3] ? simple_recursive_removal+0x3a/0x860 [ 15.505065][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.505070][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.505075][ C3] simple_recursive_removal+0x166/0x860 [ 15.505077][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.505081][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.505086][ C3] debugfs_remove+0x44/0x70 [ 15.505089][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.505093][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.505097][ C3] ? __sk_destruct+0x383/0x780 [ 15.505100][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.505104][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.505107][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.505110][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.505114][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.505118][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.505121][ C3] ? default_idle+0x9/0x10 [ 15.505123][ C3] ? default_idle_call+0x6d/0xb0 [ 15.505126][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.505130][ C3] ? do_idle+0xf6/0x160 [ 15.505133][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.505136][ C3] ? start_secondary+0x213/0x2a0 [ 15.505140][ C3] ? common_startup_64+0x13e/0x148 [ 15.505145][ C3] __put_net+0x19/0x60 [ 15.505149][ C3] __sk_destruct+0x58a/0x780 [ 15.505153][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.505156][ C3] rcu_do_batch+0x34f/0xf20 [ 15.505160][ C3] ? find_held_lock+0x2b/0x80 [ 15.505164][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.505168][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.505172][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.505176][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.505181][ C3] rcu_core+0x2bb/0x500 [ 15.505185][ C3] handle_softirqs+0x218/0x620 [ 15.505189][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.505192][ C3] irq_exit_rcu+0xe/0x30 [ 15.505194][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.505198][ C3] [ 15.505199][ C3] [ 15.505200][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.505203][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.505207][ 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.505209][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.505212][ C3] RAX: 000000000004a1b3 RBX: 1ffff9200002afc1 RCX: ffffffffbb75ba19 [ 15.505214][ C3] RDX: 0000000000000000 RSI: ffffffffbc287785 RDI: ffffffffbba51260 [ 15.505216][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.505218][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.505220][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.505223][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.505228][ C3] default_idle+0x9/0x10 [ 15.505230][ C3] default_idle_call+0x6d/0xb0 [ 15.505233][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.505237][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.505241][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.505246][ C3] do_idle+0xf6/0x160 [ 15.505250][ C3] cpu_startup_entry+0x54/0x60 [ 15.505254][ C3] start_secondary+0x213/0x2a0 [ 15.505257][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.505262][ C3] common_startup_64+0x13e/0x148 [ 15.505269][ C3] [ 17.485878][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.486355][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.486698][ C2] preempt_count: 101, expected: 0 [ 17.486912][ C2] RCU nest depth: 0, expected: 0 [ 17.487114][ C2] INFO: lockdep is turned off. [ 17.487310][ C2] Preemption disabled at: [ 17.487312][ C2] [<0000000000000000>] 0x0 [ 17.487670][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.487677][ C2] Tainted: [W]=WARN [ 17.487678][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.487681][ C2] Call Trace: [ 17.487683][ C2] [ 17.487685][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.487696][ C2] __might_resched+0x360/0x5a0 [ 17.487703][ C2] down_write+0x72/0x210 [ 17.487709][ C2] ? __pfx_down_write+0x10/0x10 [ 17.487716][ C2] ? simple_recursive_removal+0x3a/0x860 [ 17.487721][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.487729][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.487735][ C2] simple_recursive_removal+0x166/0x860 [ 17.487738][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.487744][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.487748][ C2] debugfs_remove+0x44/0x70 [ 17.487751][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.487758][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.487761][ C2] ? __sk_destruct+0x383/0x780 [ 17.487768][ C2] ? rcu_do_batch+0x34f/0xf20 [ 17.487773][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.487776][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.487781][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.487787][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.487792][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.487795][ C2] ? default_idle+0x9/0x10 [ 17.487798][ C2] ? default_idle_call+0x6d/0xb0 [ 17.487800][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.487806][ C2] ? do_idle+0xf6/0x160 [ 17.487809][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.487813][ C2] ? start_secondary+0x213/0x2a0 [ 17.487819][ C2] ? common_startup_64+0x13e/0x148 [ 17.487825][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.487830][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.487835][ C2] __put_net+0x19/0x60 [ 17.487839][ C2] __sk_destruct+0x58a/0x780 [ 17.487843][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.487846][ C2] rcu_do_batch+0x34f/0xf20 [ 17.487851][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.487856][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.487862][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.487868][ C2] rcu_core+0x2bb/0x500 [ 17.487873][ C2] handle_softirqs+0x218/0x620 [ 17.487878][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.487880][ C2] irq_exit_rcu+0xe/0x30 [ 17.487883][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.487887][ C2] [ 17.487888][ C2] [ 17.487889][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.487892][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.487897][ C2] 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.487900][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.487904][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffbb75ba19 [ 17.487906][ C2] RDX: ffffed1006c2667b RSI: ffffffffbba511e0 RDI: ffffffffb8f8633f [ 17.487908][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c2667a [ 17.487910][ C2] R10: ffff8880361333d3 R11: ffffffffbf08dc98 R12: 0000000000000000 [ 17.487912][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 17.487916][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.487919][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.487923][ C2] default_idle+0x9/0x10 [ 17.487926][ C2] default_idle_call+0x6d/0xb0 [ 17.487928][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.487932][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.487937][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.487943][ C2] do_idle+0xf6/0x160 [ 17.487947][ C2] cpu_startup_entry+0x54/0x60 [ 17.487951][ C2] start_secondary+0x213/0x2a0 [ 17.487954][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.487960][ C2] common_startup_64+0x13e/0x148 [ 17.487966][ C2]