[ 13.231968][ T229] ip (229) used greatest stack depth: 24664 bytes left [ 15.658765][ C2] [ 15.658917][ C2] ================================ [ 15.659120][ C2] WARNING: inconsistent lock state [ 15.659319][ C2] 6.15.0-rc7-virtme #1 Not tainted [ 15.659521][ C2] -------------------------------- [ 15.659721][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.659976][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.660229][ C2] ffffffff859bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.660590][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.660789][ C2] __lock_acquire+0x3eb/0x9d0 [ 15.660997][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.661194][ C2] _raw_spin_lock+0x33/0x40 [ 15.661399][ C2] simple_pin_fs+0x24/0x150 [ 15.661594][ C2] start_creating.part.0+0x3f/0x2f0 [ 15.661794][ C2] debugfs_create_dir+0x6a/0x540 [ 15.662000][ C2] component_debug_init+0x17/0x30 [ 15.662220][ C2] do_one_initcall+0x8f/0x1e0 [ 15.662421][ C2] do_initcalls+0x176/0x280 [ 15.662621][ C2] kernel_init_freeable+0x22d/0x300 [ 15.662819][ C2] kernel_init+0x20/0x200 [ 15.663018][ C2] ret_from_fork+0x31/0x70 [ 15.663215][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.663416][ C2] irq event stamp: 292002 [ 15.663568][ C2] hardirqs last enabled at (292002): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.663960][ C2] hardirqs last disabled at (292001): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.664355][ C2] softirqs last enabled at (290906): [] handle_softirqs+0x358/0x620 [ 15.664703][ C2] softirqs last disabled at (290979): [] __irq_exit_rcu+0xfa/0x160 [ 15.665049][ C2] [ 15.665049][ C2] other info that might help us debug this: [ 15.665341][ C2] Possible unsafe locking scenario: [ 15.665341][ C2] [ 15.665634][ C2] CPU0 [ 15.665784][ C2] ---- [ 15.665932][ C2] lock(pin_fs_lock); [ 15.666086][ C2] [ 15.666234][ C2] lock(pin_fs_lock); [ 15.666386][ C2] [ 15.666386][ C2] *** DEADLOCK *** [ 15.666386][ C2] [ 15.666677][ C2] 1 lock held by swapper/2/0: [ 15.666878][ C2] #0: ffffffff857749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.667233][ C2] [ 15.667233][ C2] stack backtrace: [ 15.667480][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.667485][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.667487][ C2] Call Trace: [ 15.667489][ C2] [ 15.667492][ C2] dump_stack_lvl+0x82/0xd0 [ 15.667499][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.667504][ C2] mark_lock_irq+0x343/0x400 [ 15.667509][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.667516][ C2] ? save_trace+0x52/0x170 [ 15.667521][ C2] mark_lock+0x174/0x2f0 [ 15.667525][ C2] mark_usage+0x46/0x150 [ 15.667529][ C2] __lock_acquire+0x3eb/0x9d0 [ 15.667535][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.667537][ C2] ? simple_pin_fs+0x24/0x150 [ 15.667540][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.667547][ C2] ? lock_acquire+0x10c/0x170 [ 15.667549][ C2] ? simple_pin_fs+0x24/0x150 [ 15.667553][ C2] _raw_spin_lock+0x33/0x40 [ 15.667556][ C2] ? simple_pin_fs+0x24/0x150 [ 15.667558][ C2] simple_pin_fs+0x24/0x150 [ 15.667562][ C2] debugfs_remove+0x35/0x70 [ 15.667565][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.667571][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.667574][ C2] ? __sk_destruct+0x383/0x780 [ 15.667581][ C2] ? rcu_do_batch+0x34f/0xf20 [ 15.667584][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.667587][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.667590][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.667595][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.667599][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.667602][ C2] ? default_idle+0x9/0x10 [ 15.667605][ C2] ? default_idle_call+0x6d/0xb0 [ 15.667607][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.667612][ C2] ? do_idle+0xf6/0x160 [ 15.667615][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.667618][ C2] ? start_secondary+0x213/0x2a0 [ 15.667624][ C2] ? common_startup_64+0x13e/0x148 [ 15.667631][ C2] __put_net+0x19/0x60 [ 15.667635][ C2] __sk_destruct+0x58a/0x780 [ 15.667639][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.667642][ C2] rcu_do_batch+0x34f/0xf20 [ 15.667646][ C2] ? find_held_lock+0x2b/0x80 [ 15.667650][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.667654][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.667658][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.667662][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.667666][ C2] rcu_core+0x2bb/0x500 [ 15.667671][ C2] handle_softirqs+0x218/0x620 [ 15.667675][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.667678][ C2] irq_exit_rcu+0xe/0x30 [ 15.667680][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.667684][ C2] [ 15.667685][ C2] [ 15.667686][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.667689][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.667693][ 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 [ 15.667696][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.667700][ C2] RAX: 00000000000470a1 RBX: 1ffff92000028fc1 RCX: ffffffff8475ba19 [ 15.667702][ C2] RDX: 0000000000000000 RSI: ffffffff85287785 RDI: ffffffff84a51260 [ 15.667704][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ea667a [ 15.667706][ C2] R10: ffff88802f5333d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.667708][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 15.667712][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.667716][ C2] default_idle+0x9/0x10 [ 15.667719][ C2] default_idle_call+0x6d/0xb0 [ 15.667721][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.667725][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.667729][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.667734][ C2] do_idle+0xf6/0x160 [ 15.667738][ C2] cpu_startup_entry+0x54/0x60 [ 15.667742][ C2] start_secondary+0x213/0x2a0 [ 15.667745][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.667751][ C2] common_startup_64+0x13e/0x148 [ 15.667757][ C2] [ 15.683524][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.683885][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.684231][ C2] preempt_count: 101, expected: 0 [ 15.684430][ C2] RCU nest depth: 0, expected: 0 [ 15.684629][ C2] INFO: lockdep is turned off. [ 15.684834][ C2] Preemption disabled at: [ 15.684836][ C2] [<0000000000000000>] 0x0 [ 15.685188][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.685193][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.685195][ C2] Call Trace: [ 15.685197][ C2] [ 15.685199][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.685207][ C2] __might_resched+0x360/0x5a0 [ 15.685214][ C2] down_write+0x72/0x210 [ 15.685220][ C2] ? __pfx_down_write+0x10/0x10 [ 15.685223][ C2] ? simple_recursive_removal+0x3a/0x860 [ 15.685229][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.685235][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.685241][ C2] simple_recursive_removal+0x166/0x860 [ 15.685244][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.685248][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.685253][ C2] debugfs_remove+0x44/0x70 [ 15.685256][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.685262][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.685265][ C2] ? __sk_destruct+0x383/0x780 [ 15.685271][ C2] ? rcu_do_batch+0x34f/0xf20 [ 15.685275][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.685278][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.685282][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.685287][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.685290][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.685294][ C2] ? default_idle+0x9/0x10 [ 15.685296][ C2] ? default_idle_call+0x6d/0xb0 [ 15.685298][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.685304][ C2] ? do_idle+0xf6/0x160 [ 15.685307][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.685310][ C2] ? start_secondary+0x213/0x2a0 [ 15.685315][ C2] ? common_startup_64+0x13e/0x148 [ 15.685322][ C2] __put_net+0x19/0x60 [ 15.685326][ C2] __sk_destruct+0x58a/0x780 [ 15.685330][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.685333][ C2] rcu_do_batch+0x34f/0xf20 [ 15.685337][ C2] ? find_held_lock+0x2b/0x80 [ 15.685343][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.685346][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.685351][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.685355][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.685360][ C2] rcu_core+0x2bb/0x500 [ 15.685363][ C2] handle_softirqs+0x218/0x620 [ 15.685368][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.685371][ C2] irq_exit_rcu+0xe/0x30 [ 15.685373][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.685377][ C2] [ 15.685378][ C2] [ 15.685380][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.685383][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.685387][ 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 [ 15.685390][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.685394][ C2] RAX: 00000000000470a1 RBX: 1ffff92000028fc1 RCX: ffffffff8475ba19 [ 15.685396][ C2] RDX: 0000000000000000 RSI: ffffffff85287785 RDI: ffffffff84a51260 [ 15.685398][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ea667a [ 15.685400][ C2] R10: ffff88802f5333d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.685401][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 15.685405][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.685410][ C2] default_idle+0x9/0x10 [ 15.685412][ C2] default_idle_call+0x6d/0xb0 [ 15.685415][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.685418][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.685423][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.685428][ C2] do_idle+0xf6/0x160 [ 15.685432][ C2] cpu_startup_entry+0x54/0x60 [ 15.685435][ C2] start_secondary+0x213/0x2a0 [ 15.685439][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.685444][ C2] common_startup_64+0x13e/0x148 [ 15.685451][ C2] [ 17.503334][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.503783][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.504107][ C3] preempt_count: 101, expected: 0 [ 17.504301][ C3] RCU nest depth: 0, expected: 0 [ 17.504493][ C3] INFO: lockdep is turned off. [ 17.504682][ C3] Preemption disabled at: [ 17.504683][ C3] [<0000000000000000>] 0x0 [ 17.505036][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.505042][ C3] Tainted: [W]=WARN [ 17.505044][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.505046][ C3] Call Trace: [ 17.505048][ C3] [ 17.505050][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.505061][ C3] __might_resched+0x360/0x5a0 [ 17.505069][ C3] down_write+0x72/0x210 [ 17.505074][ C3] ? __pfx_down_write+0x10/0x10 [ 17.505078][ C3] ? simple_recursive_removal+0x3a/0x860 [ 17.505084][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.505092][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.505098][ C3] simple_recursive_removal+0x166/0x860 [ 17.505101][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.505106][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.505111][ C3] debugfs_remove+0x44/0x70 [ 17.505114][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.505120][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.505124][ C3] ? __sk_destruct+0x383/0x780 [ 17.505131][ C3] ? rcu_do_batch+0x34f/0xf20 [ 17.505136][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.505139][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.505145][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.505151][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.505156][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.505159][ C3] ? default_idle+0x9/0x10 [ 17.505161][ C3] ? default_idle_call+0x6d/0xb0 [ 17.505164][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.505170][ C3] ? do_idle+0xf6/0x160 [ 17.505173][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.505176][ C3] ? start_secondary+0x213/0x2a0 [ 17.505182][ C3] ? common_startup_64+0x13e/0x148 [ 17.505188][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.505194][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.505198][ C3] __put_net+0x19/0x60 [ 17.505202][ C3] __sk_destruct+0x58a/0x780 [ 17.505206][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.505210][ C3] rcu_do_batch+0x34f/0xf20 [ 17.505215][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.505219][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.505225][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.505232][ C3] rcu_core+0x2bb/0x500 [ 17.505236][ C3] handle_softirqs+0x218/0x620 [ 17.505241][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.505244][ C3] irq_exit_rcu+0xe/0x30 [ 17.505246][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.505250][ C3] [ 17.505251][ C3] [ 17.505253][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.505255][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.505259][ 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 [ 17.505263][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.505267][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff8475ba19 [ 17.505269][ C3] RDX: ffffed1005eb667b RSI: ffffffff84a511e0 RDI: ffffffff81f8633f [ 17.505271][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005eb667a [ 17.505273][ C3] R10: ffff88802f5b33d3 R11: ffffffff8812b9a8 R12: 0000000000000000 [ 17.505275][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 17.505278][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.505281][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.505286][ C3] default_idle+0x9/0x10 [ 17.505288][ C3] default_idle_call+0x6d/0xb0 [ 17.505291][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.505295][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.505299][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.505305][ C3] do_idle+0xf6/0x160 [ 17.505309][ C3] cpu_startup_entry+0x54/0x60 [ 17.505313][ C3] start_secondary+0x213/0x2a0 [ 17.505316][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.505322][ C3] common_startup_64+0x13e/0x148 [ 17.505328][ C3]