[ 17.119670][ C3] [ 17.119835][ C3] ================================ [ 17.120030][ C3] WARNING: inconsistent lock state [ 17.120221][ C3] 6.15.0-rc7-virtme #1 Not tainted [ 17.120415][ C3] -------------------------------- [ 17.120605][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.120844][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.121085][ C3] ffffffff98dbff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.121424][ C3] {SOFTIRQ-ON-W} state was registered at: [ 17.121618][ C3] __lock_acquire+0x3eb/0x9d0 [ 17.121815][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.122007][ C3] _raw_spin_lock+0x33/0x40 [ 17.122207][ C3] simple_pin_fs+0x24/0x150 [ 17.122395][ C3] start_creating.part.0+0x3f/0x2f0 [ 17.122587][ C3] debugfs_create_dir+0x6a/0x540 [ 17.122791][ C3] component_debug_init+0x17/0x30 [ 17.122992][ C3] do_one_initcall+0x8f/0x1e0 [ 17.123186][ C3] do_initcalls+0x176/0x280 [ 17.123377][ C3] kernel_init_freeable+0x22d/0x300 [ 17.123564][ C3] kernel_init+0x20/0x200 [ 17.123755][ C3] ret_from_fork+0x31/0x70 [ 17.123945][ C3] ret_from_fork_asm+0x1a/0x30 [ 17.124131][ C3] irq event stamp: 296220 [ 17.124274][ C3] hardirqs last enabled at (296220): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.124646][ C3] hardirqs last disabled at (296219): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.125024][ C3] softirqs last enabled at (296160): [] handle_softirqs+0x358/0x620 [ 17.125352][ C3] softirqs last disabled at (296185): [] __irq_exit_rcu+0xfa/0x160 [ 17.125674][ C3] [ 17.125674][ C3] other info that might help us debug this: [ 17.125952][ C3] Possible unsafe locking scenario: [ 17.125952][ C3] [ 17.126227][ C3] CPU0 [ 17.126367][ C3] ---- [ 17.126508][ C3] lock(pin_fs_lock); [ 17.126659][ C3] [ 17.126798][ C3] lock(pin_fs_lock); [ 17.126941][ C3] [ 17.126941][ C3] *** DEADLOCK *** [ 17.126941][ C3] [ 17.127214][ C3] 1 lock held by swapper/3/0: [ 17.127403][ C3] #0: ffffffff98b749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.127750][ C3] [ 17.127750][ C3] stack backtrace: [ 17.127987][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.127993][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.127995][ C3] Call Trace: [ 17.127997][ C3] [ 17.128000][ C3] dump_stack_lvl+0x82/0xd0 [ 17.128007][ C3] print_usage_bug.part.0+0x25f/0x360 [ 17.128012][ C3] mark_lock_irq+0x343/0x400 [ 17.128017][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 17.128024][ C3] ? save_trace+0x52/0x170 [ 17.128029][ C3] mark_lock+0x174/0x2f0 [ 17.128034][ C3] mark_usage+0x46/0x150 [ 17.128038][ C3] __lock_acquire+0x3eb/0x9d0 [ 17.128043][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.128046][ C3] ? simple_pin_fs+0x24/0x150 [ 17.128049][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.128056][ C3] ? lock_acquire+0x10c/0x170 [ 17.128058][ C3] ? simple_pin_fs+0x24/0x150 [ 17.128062][ C3] _raw_spin_lock+0x33/0x40 [ 17.128065][ C3] ? simple_pin_fs+0x24/0x150 [ 17.128067][ C3] simple_pin_fs+0x24/0x150 [ 17.128070][ C3] debugfs_remove+0x35/0x70 [ 17.128073][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.128080][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.128083][ C3] ? __sk_destruct+0x383/0x780 [ 17.128089][ C3] ? rcu_do_batch+0x34f/0xf20 [ 17.128093][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.128096][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.128098][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.128104][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.128108][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.128111][ C3] ? default_idle+0x9/0x10 [ 17.128114][ C3] ? default_idle_call+0x6d/0xb0 [ 17.128117][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.128122][ C3] ? do_idle+0xf6/0x160 [ 17.128125][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.128128][ C3] ? start_secondary+0x213/0x2a0 [ 17.128132][ C3] ? common_startup_64+0x13e/0x148 [ 17.128139][ C3] __put_net+0x19/0x60 [ 17.128143][ C3] __sk_destruct+0x58a/0x780 [ 17.128147][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.128150][ C3] rcu_do_batch+0x34f/0xf20 [ 17.128154][ C3] ? find_held_lock+0x2b/0x80 [ 17.128158][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.128162][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.128166][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.128169][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.128174][ C3] rcu_core+0x2bb/0x500 [ 17.128179][ C3] handle_softirqs+0x218/0x620 [ 17.128184][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.128186][ C3] irq_exit_rcu+0xe/0x30 [ 17.128189][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.128192][ C3] [ 17.128193][ C3] [ 17.128195][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.128198][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.128202][ 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.128205][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 17.128209][ C3] RAX: 00000000000484f7 RBX: 1ffff9200002afc1 RCX: ffffffff97b5ba19 [ 17.128211][ C3] RDX: 0000000000000000 RSI: ffffffff98687785 RDI: ffffffff97e51260 [ 17.128213][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 17.128215][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 17.128216][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 17.128220][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.128225][ C3] default_idle+0x9/0x10 [ 17.128228][ C3] default_idle_call+0x6d/0xb0 [ 17.128230][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.128234][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.128238][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.128243][ C3] do_idle+0xf6/0x160 [ 17.128247][ C3] cpu_startup_entry+0x54/0x60 [ 17.128251][ C3] start_secondary+0x213/0x2a0 [ 17.128254][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.128260][ C3] common_startup_64+0x13e/0x148 [ 17.128266][ C3] [ 17.143951][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.144256][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.144560][ C3] preempt_count: 101, expected: 0 [ 17.144749][ C3] RCU nest depth: 0, expected: 0 [ 17.144931][ C3] INFO: lockdep is turned off. [ 17.145109][ C3] Preemption disabled at: [ 17.145111][ C3] [<0000000000000000>] 0x0 [ 17.145421][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.145425][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.145427][ C3] Call Trace: [ 17.145429][ C3] [ 17.145430][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.145437][ C3] __might_resched+0x360/0x5a0 [ 17.145444][ C3] down_write+0x72/0x210 [ 17.145449][ C3] ? __pfx_down_write+0x10/0x10 [ 17.145452][ C3] ? simple_recursive_removal+0x3a/0x860 [ 17.145457][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.145463][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.145468][ C3] simple_recursive_removal+0x166/0x860 [ 17.145471][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.145476][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.145481][ C3] debugfs_remove+0x44/0x70 [ 17.145484][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.145489][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.145493][ C3] ? __sk_destruct+0x383/0x780 [ 17.145498][ C3] ? rcu_do_batch+0x34f/0xf20 [ 17.145501][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.145504][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.145508][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.145513][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.145516][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.145519][ C3] ? default_idle+0x9/0x10 [ 17.145521][ C3] ? default_idle_call+0x6d/0xb0 [ 17.145524][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.145528][ C3] ? do_idle+0xf6/0x160 [ 17.145531][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.145534][ C3] ? start_secondary+0x213/0x2a0 [ 17.145538][ C3] ? common_startup_64+0x13e/0x148 [ 17.145544][ C3] __put_net+0x19/0x60 [ 17.145547][ C3] __sk_destruct+0x58a/0x780 [ 17.145551][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.145554][ C3] rcu_do_batch+0x34f/0xf20 [ 17.145557][ C3] ? find_held_lock+0x2b/0x80 [ 17.145562][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.145566][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.145570][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.145574][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.145578][ C3] rcu_core+0x2bb/0x500 [ 17.145582][ C3] handle_softirqs+0x218/0x620 [ 17.145587][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.145589][ C3] irq_exit_rcu+0xe/0x30 [ 17.145592][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.145595][ C3] [ 17.145597][ C3] [ 17.145598][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.145601][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.145605][ 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.145608][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 17.145611][ C3] RAX: 00000000000484f7 RBX: 1ffff9200002afc1 RCX: ffffffff97b5ba19 [ 17.145616][ C3] RDX: 0000000000000000 RSI: ffffffff98687785 RDI: ffffffff97e51260 [ 17.145618][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 17.145620][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 17.145621][ C3] R13: ffff888001bf4640 R14: dffffc0000000000 R15: 0000000000000000 [ 17.145625][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.145630][ C3] default_idle+0x9/0x10 [ 17.145632][ C3] default_idle_call+0x6d/0xb0 [ 17.145635][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.145639][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.145643][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.145648][ C3] do_idle+0xf6/0x160 [ 17.145652][ C3] cpu_startup_entry+0x54/0x60 [ 17.145656][ C3] start_secondary+0x213/0x2a0 [ 17.145659][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.145665][ C3] common_startup_64+0x13e/0x148 [ 17.145671][ C3] [ 19.688927][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.689398][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 219, name: timeout [ 19.689745][ C2] preempt_count: 101, expected: 0 [ 19.689941][ C2] RCU nest depth: 0, expected: 0 [ 19.690131][ C2] INFO: lockdep is turned off. [ 19.690321][ C2] Preemption disabled at: [ 19.690322][ C2] [] copy_fpstate_to_sigframe+0x257/0x540 [ 19.690767][ C2] CPU: 2 UID: 0 PID: 219 Comm: timeout Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 19.690774][ C2] Tainted: [W]=WARN [ 19.690775][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.690778][ C2] Call Trace: [ 19.690780][ C2] [ 19.690782][ C2] dump_stack_lvl+0xb0/0xd0 [ 19.690791][ C2] __might_resched+0x360/0x5a0 [ 19.690799][ C2] down_write+0x72/0x210 [ 19.690805][ C2] ? __pfx_down_write+0x10/0x10 [ 19.690808][ C2] ? simple_recursive_removal+0x3a/0x860 [ 19.690814][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.690822][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.690827][ C2] simple_recursive_removal+0x166/0x860 [ 19.690830][ C2] ? __pfx_remove_one+0x10/0x10 [ 19.690836][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.690841][ C2] debugfs_remove+0x44/0x70 [ 19.690844][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 19.690850][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.690853][ C2] ? __sk_destruct+0x383/0x780 [ 19.690860][ C2] ? rcu_do_batch+0x34f/0xf20 [ 19.690865][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.690868][ C2] ? __local_bh_enable_ip+0x105/0x130 [ 19.690873][ C2] ? copy_fpstate_to_sigframe+0x1e1/0x540 [ 19.690877][ C2] ? get_sigframe+0x283/0xa60 [ 19.690883][ C2] ? x64_setup_rt_frame+0xfa/0x1110 [ 19.690886][ C2] ? handle_signal+0x291/0x370 [ 19.690889][ C2] ? arch_do_signal_or_restart+0x299/0x2f0 [ 19.690892][ C2] ? syscall_exit_to_user_mode+0x136/0x1f0 [ 19.690898][ C2] ? do_syscall_64+0xce/0x1d0 [ 19.690900][ C2] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 19.690905][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 19.690910][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.690915][ C2] __put_net+0x19/0x60 [ 19.690919][ C2] __sk_destruct+0x58a/0x780 [ 19.690923][ C2] ? rcu_do_batch+0x34a/0xf20 [ 19.690926][ C2] rcu_do_batch+0x34f/0xf20 [ 19.690930][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.690934][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.690938][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.690942][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 19.690949][ C2] rcu_core+0x2bb/0x500 [ 19.690953][ C2] handle_softirqs+0x218/0x620 [ 19.690957][ C2] ? copy_fpstate_to_sigframe+0x1dc/0x540 [ 19.690961][ C2] do_softirq+0xb1/0xe0 [ 19.690964][ C2] [ 19.690965][ C2] [ 19.690967][ C2] __local_bh_enable_ip+0x105/0x130 [ 19.690969][ C2] copy_fpstate_to_sigframe+0x1e1/0x540 [ 19.690975][ C2] get_sigframe+0x283/0xa60 [ 19.690978][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 19.690982][ C2] ? __pfx_get_sigframe+0x10/0x10 [ 19.690986][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.690989][ C2] ? trace_rseq_update+0xd2/0x130 [ 19.690998][ C2] x64_setup_rt_frame+0xfa/0x1110 [ 19.691002][ C2] ? __pfx___rseq_handle_notify_resume+0x10/0x10 [ 19.691007][ C2] ? __pfx_x64_setup_rt_frame+0x10/0x10 [ 19.691010][ C2] ? __pfx___schedule+0x10/0x10 [ 19.691017][ C2] handle_signal+0x291/0x370 [ 19.691020][ C2] arch_do_signal_or_restart+0x299/0x2f0 [ 19.691024][ C2] ? __pfx_arch_do_signal_or_restart+0x10/0x10 [ 19.691029][ C2] ? __x64_sys_rt_sigsuspend+0xbd/0x120 [ 19.691035][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.691040][ C2] syscall_exit_to_user_mode+0x136/0x1f0 [ 19.691044][ C2] do_syscall_64+0xce/0x1d0 [ 19.691047][ C2] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 19.691050][ C2] RIP: 0033:0x7f2af257c06c [ 19.691058][ C2] Code: Unable to access opcode bytes at 0x7f2af257c042. [ 19.691060][ C2] RSP: 002b:00007ffe2b0747e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000082 [ 19.691064][ C2] RAX: fffffffffffffffc RBX: 00007ffe2b074828 RCX: 00007f2af257c06c [ 19.691066][ C2] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 00007ffe2b074850 [ 19.691068][ C2] RBP: 00007ffe2b0748d0 R08: 00007ffe2b0748d0 R09: 0000000000000000 [ 19.691070][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe2b074850 [ 19.691072][ C2] R13: 4056800000000000 R14: 000000000000000f R15: 00007f2af276f000 [ 19.691078][ C2]