[ 15.028426][ C3] [ 15.028625][ C3] ================================ [ 15.028820][ C3] WARNING: inconsistent lock state [ 15.029019][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 15.029210][ C3] -------------------------------- [ 15.029406][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.029634][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.029866][ C3] ffffffffb67bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.030206][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.030395][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.030587][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.030777][ C3] _raw_spin_lock+0x33/0x40 [ 15.030971][ C3] simple_pin_fs+0x24/0x150 [ 15.031160][ C3] start_creating.part.0+0x3f/0x2f0 [ 15.031350][ C3] debugfs_create_dir+0x6a/0x540 [ 15.031537][ C3] component_debug_init+0x17/0x30 [ 15.031730][ C3] do_one_initcall+0x8f/0x1e0 [ 15.031919][ C3] do_initcalls+0x176/0x280 [ 15.032110][ C3] kernel_init_freeable+0x22d/0x300 [ 15.032295][ C3] kernel_init+0x20/0x200 [ 15.032490][ C3] ret_from_fork+0x31/0x70 [ 15.032678][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.032865][ C3] irq event stamp: 280130 [ 15.033006][ C3] hardirqs last enabled at (280130): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.033387][ C3] hardirqs last disabled at (280129): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.033759][ C3] softirqs last enabled at (279078): [] handle_softirqs+0x358/0x620 [ 15.034089][ C3] softirqs last disabled at (279093): [] __irq_exit_rcu+0xfa/0x160 [ 15.034418][ C3] [ 15.034418][ C3] other info that might help us debug this: [ 15.034693][ C3] Possible unsafe locking scenario: [ 15.034693][ C3] [ 15.034968][ C3] CPU0 [ 15.035124][ C3] ---- [ 15.035269][ C3] lock(pin_fs_lock); [ 15.035414][ C3] [ 15.035551][ C3] lock(pin_fs_lock); [ 15.035697][ C3] [ 15.035697][ C3] *** DEADLOCK *** [ 15.035697][ C3] [ 15.035968][ C3] 1 lock held by swapper/3/0: [ 15.036157][ C3] #0: ffffffffb65749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.036497][ C3] [ 15.036497][ C3] stack backtrace: [ 15.036730][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.036734][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.036737][ C3] Call Trace: [ 15.036739][ C3] [ 15.036741][ C3] dump_stack_lvl+0x82/0xd0 [ 15.036746][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.036751][ C3] mark_lock_irq+0x343/0x400 [ 15.036757][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.036762][ C3] ? save_trace+0x52/0x170 [ 15.036767][ C3] mark_lock+0x174/0x2f0 [ 15.036771][ C3] mark_usage+0x46/0x150 [ 15.036775][ C3] __lock_acquire+0x3eb/0x9d0 [ 15.036780][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.036783][ C3] ? simple_pin_fs+0x24/0x150 [ 15.036786][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.036791][ C3] ? lock_acquire+0x10c/0x170 [ 15.036793][ C3] ? simple_pin_fs+0x24/0x150 [ 15.036797][ C3] _raw_spin_lock+0x33/0x40 [ 15.036800][ C3] ? simple_pin_fs+0x24/0x150 [ 15.036802][ C3] simple_pin_fs+0x24/0x150 [ 15.036805][ C3] debugfs_remove+0x35/0x70 [ 15.036808][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.036814][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.036817][ C3] ? __sk_destruct+0x383/0x780 [ 15.036822][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.036825][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.036828][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.036831][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.036835][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.036839][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.036842][ C3] ? default_idle+0x9/0x10 [ 15.036844][ C3] ? default_idle_call+0x6d/0xb0 [ 15.036847][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.036852][ C3] ? do_idle+0xf6/0x160 [ 15.036855][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.036858][ C3] ? start_secondary+0x213/0x2a0 [ 15.036863][ C3] ? common_startup_64+0x13e/0x148 [ 15.036869][ C3] __put_net+0x19/0x60 [ 15.036873][ C3] __sk_destruct+0x58a/0x780 [ 15.036877][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.036880][ C3] rcu_do_batch+0x34f/0xf20 [ 15.036885][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.036889][ C3] ? __lock_release+0x5d/0x170 [ 15.036892][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.036896][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.036900][ C3] rcu_core+0x2bb/0x500 [ 15.036904][ C3] handle_softirqs+0x218/0x620 [ 15.036909][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.036911][ C3] irq_exit_rcu+0xe/0x30 [ 15.036914][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.036917][ C3] [ 15.036918][ C3] [ 15.036920][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.036922][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.036926][ 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.036929][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.036932][ C3] RAX: 0000000000044233 RBX: 1ffff9200002afc1 RCX: ffffffffb555ba19 [ 15.036934][ C3] RDX: 0000000000000000 RSI: ffffffffb6087785 RDI: ffffffffb5851260 [ 15.036936][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.036938][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.036939][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.036943][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.036948][ C3] default_idle+0x9/0x10 [ 15.036950][ C3] default_idle_call+0x6d/0xb0 [ 15.036952][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.036956][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.036961][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.036966][ C3] do_idle+0xf6/0x160 [ 15.036970][ C3] cpu_startup_entry+0x54/0x60 [ 15.036973][ C3] start_secondary+0x213/0x2a0 [ 15.036977][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.036982][ C3] common_startup_64+0x13e/0x148 [ 15.036988][ C3] [ 15.051724][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.052027][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.052435][ C3] preempt_count: 101, expected: 0 [ 15.052625][ C3] RCU nest depth: 0, expected: 0 [ 15.052798][ C3] INFO: lockdep is turned off. [ 15.052975][ C3] Preemption disabled at: [ 15.052976][ C3] [<0000000000000000>] 0x0 [ 15.053395][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.053400][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.053402][ C3] Call Trace: [ 15.053403][ C3] [ 15.053405][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.053412][ C3] __might_resched+0x360/0x5a0 [ 15.053419][ C3] down_write+0x72/0x210 [ 15.053423][ C3] ? __pfx_down_write+0x10/0x10 [ 15.053426][ C3] ? simple_recursive_removal+0x3a/0x860 [ 15.053430][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.053436][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.053441][ C3] simple_recursive_removal+0x166/0x860 [ 15.053444][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.053451][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.053455][ C3] debugfs_remove+0x44/0x70 [ 15.053458][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.053463][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.053466][ C3] ? __sk_destruct+0x383/0x780 [ 15.053471][ C3] ? rcu_do_batch+0x34f/0xf20 [ 15.053475][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.053478][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.053481][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.053486][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.053489][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.053492][ C3] ? default_idle+0x9/0x10 [ 15.053495][ C3] ? default_idle_call+0x6d/0xb0 [ 15.053497][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.053502][ C3] ? do_idle+0xf6/0x160 [ 15.053505][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.053508][ C3] ? start_secondary+0x213/0x2a0 [ 15.053513][ C3] ? common_startup_64+0x13e/0x148 [ 15.053519][ C3] __put_net+0x19/0x60 [ 15.053521][ C3] __sk_destruct+0x58a/0x780 [ 15.053526][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.053528][ C3] rcu_do_batch+0x34f/0xf20 [ 15.053534][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.053537][ C3] ? __lock_release+0x5d/0x170 [ 15.053540][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.053543][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.053549][ C3] rcu_core+0x2bb/0x500 [ 15.053552][ C3] handle_softirqs+0x218/0x620 [ 15.053557][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.053559][ C3] irq_exit_rcu+0xe/0x30 [ 15.053561][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.053565][ C3] [ 15.053566][ C3] [ 15.053567][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.053570][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.053574][ 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.053576][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 15.053579][ C3] RAX: 0000000000044233 RBX: 1ffff9200002afc1 RCX: ffffffffb555ba19 [ 15.053582][ C3] RDX: 0000000000000000 RSI: ffffffffb6087785 RDI: ffffffffb5851260 [ 15.053583][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 15.053585][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.053587][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 15.053591][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.053596][ C3] default_idle+0x9/0x10 [ 15.053598][ C3] default_idle_call+0x6d/0xb0 [ 15.053600][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.053604][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.053608][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.053614][ C3] do_idle+0xf6/0x160 [ 15.053618][ C3] cpu_startup_entry+0x54/0x60 [ 15.053621][ C3] start_secondary+0x213/0x2a0 [ 15.053625][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.053630][ C3] common_startup_64+0x13e/0x148 [ 15.053636][ C3] [ 16.700463][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.700834][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.701155][ C2] preempt_count: 101, expected: 0 [ 16.701341][ C2] RCU nest depth: 0, expected: 0 [ 16.701537][ C2] INFO: lockdep is turned off. [ 16.701723][ C2] Preemption disabled at: [ 16.701725][ C2] [<0000000000000000>] 0x0 [ 16.702066][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 16.702071][ C2] Tainted: [W]=WARN [ 16.702073][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.702075][ C2] Call Trace: [ 16.702076][ C2] [ 16.702079][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.702087][ C2] __might_resched+0x360/0x5a0 [ 16.702093][ C2] down_write+0x72/0x210 [ 16.702098][ C2] ? __pfx_down_write+0x10/0x10 [ 16.702101][ C2] ? simple_recursive_removal+0x3a/0x860 [ 16.702105][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.702112][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.702117][ C2] simple_recursive_removal+0x166/0x860 [ 16.702119][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.702124][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.702128][ C2] debugfs_remove+0x44/0x70 [ 16.702131][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.702136][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.702139][ C2] ? __sk_destruct+0x383/0x780 [ 16.702145][ C2] ? rcu_do_batch+0x34f/0xf20 [ 16.702149][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.702152][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.702156][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.702161][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.702165][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.702168][ C2] ? default_idle+0x9/0x10 [ 16.702171][ C2] ? default_idle_call+0x6d/0xb0 [ 16.702173][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.702178][ C2] ? do_idle+0xf6/0x160 [ 16.702181][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.702184][ C2] ? start_secondary+0x213/0x2a0 [ 16.702188][ C2] ? common_startup_64+0x13e/0x148 [ 16.702192][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.702197][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.702201][ C2] __put_net+0x19/0x60 [ 16.702205][ C2] __sk_destruct+0x58a/0x780 [ 16.702209][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.702212][ C2] rcu_do_batch+0x34f/0xf20 [ 16.702217][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.702221][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.702226][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.702232][ C2] rcu_core+0x2bb/0x500 [ 16.702236][ C2] handle_softirqs+0x218/0x620 [ 16.702240][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.702243][ C2] irq_exit_rcu+0xe/0x30 [ 16.702245][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.702249][ C2] [ 16.702250][ C2] [ 16.702251][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.702254][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.702258][ 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 [ 16.702261][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.702265][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffb555ba19 [ 16.702267][ C2] RDX: ffffed1006c2667b RSI: ffffffffb58511e0 RDI: ffffffffb2d8633f [ 16.702269][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c2667a [ 16.702271][ C2] R10: ffff8880361333d3 R11: ffffffffb8eb4290 R12: 0000000000000000 [ 16.702272][ C2] R13: ffff888001bf2340 R14: dffffc0000000000 R15: 0000000000000000 [ 16.702276][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.702279][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.702284][ C2] default_idle+0x9/0x10 [ 16.702286][ C2] default_idle_call+0x6d/0xb0 [ 16.702289][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.702292][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.702297][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.702302][ C2] do_idle+0xf6/0x160 [ 16.702307][ C2] cpu_startup_entry+0x54/0x60 [ 16.702310][ C2] start_secondary+0x213/0x2a0 [ 16.702314][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.702319][ C2] common_startup_64+0x13e/0x148 [ 16.702325][ C2]