[ 17.873381][ C3] [ 17.873532][ C3] ================================ [ 17.873719][ C3] WARNING: inconsistent lock state [ 17.873907][ C3] 6.15.0-virtme #1 Not tainted [ 17.874094][ C3] -------------------------------- [ 17.874278][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.874508][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.874737][ C3] ffffffffaf9c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.875070][ C3] {SOFTIRQ-ON-W} state was registered at: [ 17.875265][ C3] __lock_acquire+0x20b/0x7e0 [ 17.875461][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.875647][ C3] _raw_spin_lock+0x33/0x40 [ 17.875834][ C3] simple_pin_fs+0x24/0x150 [ 17.876020][ C3] start_creating.part.0+0x52/0x310 [ 17.876207][ C3] debugfs_create_dir+0x6a/0x540 [ 17.876394][ C3] component_debug_init+0x17/0x30 [ 17.876582][ C3] do_one_initcall+0x8f/0x1e0 [ 17.876770][ C3] do_initcalls+0x176/0x280 [ 17.876957][ C3] kernel_init_freeable+0x22d/0x300 [ 17.877143][ C3] kernel_init+0x20/0x200 [ 17.877327][ C3] ret_from_fork+0x240/0x320 [ 17.877514][ C3] ret_from_fork_asm+0x1a/0x30 [ 17.877696][ C3] irq event stamp: 306372 [ 17.877838][ C3] hardirqs last enabled at (306372): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.878252][ C3] hardirqs last disabled at (306371): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.878651][ C3] softirqs last enabled at (304314): [] handle_softirqs+0x358/0x620 [ 17.879000][ C3] softirqs last disabled at (304351): [] __irq_exit_rcu+0xfa/0x160 [ 17.879348][ C3] [ 17.879348][ C3] other info that might help us debug this: [ 17.879642][ C3] Possible unsafe locking scenario: [ 17.879642][ C3] [ 17.879944][ C3] CPU0 [ 17.880095][ C3] ---- [ 17.880244][ C3] lock(pin_fs_lock); [ 17.880395][ C3] [ 17.880548][ C3] lock(pin_fs_lock); [ 17.880699][ C3] [ 17.880699][ C3] *** DEADLOCK *** [ 17.880699][ C3] [ 17.880996][ C3] 1 lock held by swapper/3/0: [ 17.881199][ C3] #0: ffffffffaf7774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.881563][ C3] [ 17.881563][ C3] stack backtrace: [ 17.881811][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.881815][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.881818][ C3] Call Trace: [ 17.881820][ C3] [ 17.881822][ C3] dump_stack_lvl+0x82/0xd0 [ 17.881828][ C3] print_usage_bug.part.0+0x25f/0x360 [ 17.881833][ C3] mark_lock_irq+0x343/0x400 [ 17.881837][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 17.881842][ C3] ? save_trace+0x52/0x170 [ 17.881848][ C3] mark_lock+0x174/0x2f0 [ 17.881852][ C3] mark_usage+0x46/0x150 [ 17.881855][ C3] __lock_acquire+0x20b/0x7e0 [ 17.881858][ C3] ? __lock_acquire+0x44d/0x7e0 [ 17.881862][ C3] lock_acquire.part.0+0xb6/0x240 [ 17.881865][ C3] ? simple_pin_fs+0x24/0x150 [ 17.881869][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.881873][ C3] ? lock_acquire+0x10c/0x170 [ 17.881876][ C3] ? simple_pin_fs+0x24/0x150 [ 17.881880][ C3] _raw_spin_lock+0x33/0x40 [ 17.881884][ C3] ? simple_pin_fs+0x24/0x150 [ 17.881887][ C3] simple_pin_fs+0x24/0x150 [ 17.881891][ C3] debugfs_remove+0x35/0x70 [ 17.881894][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.881901][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.881904][ C3] ? __sk_destruct+0x383/0x780 [ 17.881910][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.881913][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.881916][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.881919][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.881923][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.881926][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.881930][ C3] ? default_idle+0x9/0x10 [ 17.881932][ C3] ? default_idle_call+0x6d/0xb0 [ 17.881935][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.881938][ C3] ? do_idle+0xf6/0x160 [ 17.881940][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.881943][ C3] ? start_secondary+0x213/0x2a0 [ 17.881946][ C3] ? common_startup_64+0x13e/0x148 [ 17.881953][ C3] __put_net+0x19/0x60 [ 17.881957][ C3] __sk_destruct+0x58a/0x780 [ 17.881961][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.881964][ C3] rcu_do_batch+0x34c/0xf20 [ 17.881968][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.881972][ C3] ? __lock_release+0x5d/0x170 [ 17.881975][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.881978][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.881983][ C3] rcu_core+0x2bb/0x500 [ 17.881987][ C3] handle_softirqs+0x218/0x620 [ 17.881992][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.881995][ C3] irq_exit_rcu+0xe/0x30 [ 17.881998][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.882002][ C3] [ 17.882003][ C3] [ 17.882004][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.882007][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.882011][ C3] Code: a2 b5 00 c3 cc cc cc cc 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 83 47 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 17.882014][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.882017][ C3] RAX: 000000000004a4dd RBX: 1ffff9200002afc1 RCX: ffffffffae78f5d9 [ 17.882019][ C3] RDX: 0000000000000000 RSI: ffffffffaf28f4e4 RDI: ffffffffaea53be0 [ 17.882021][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 17.882022][ C3] R10: ffff8880361b37d3 R11: ffffffffaf411288 R12: 0000000000000000 [ 17.882024][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.882028][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.882033][ C3] default_idle+0x9/0x10 [ 17.882035][ C3] default_idle_call+0x6d/0xb0 [ 17.882038][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.882041][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.882045][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.882049][ C3] do_idle+0xf6/0x160 [ 17.882053][ C3] cpu_startup_entry+0x54/0x60 [ 17.882056][ C3] start_secondary+0x213/0x2a0 [ 17.882058][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.882063][ C3] common_startup_64+0x13e/0x148 [ 17.882070][ C3] [ 17.897169][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.897474][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.897901][ C3] preempt_count: 101, expected: 0 [ 17.898077][ C3] RCU nest depth: 0, expected: 0 [ 17.898250][ C3] INFO: lockdep is turned off. [ 17.898545][ C3] Preemption disabled at: [ 17.898547][ C3] [<0000000000000000>] 0x0 [ 17.898852][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.898856][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.898858][ C3] Call Trace: [ 17.898860][ C3] [ 17.898862][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.898869][ C3] __might_resched+0x360/0x5a0 [ 17.898876][ C3] down_write+0x72/0x210 [ 17.898880][ C3] ? __pfx_down_write+0x10/0x10 [ 17.898883][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.898886][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.898891][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.898896][ C3] simple_recursive_removal+0x6a/0x610 [ 17.898899][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.898902][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.898908][ C3] debugfs_remove+0x44/0x70 [ 17.898911][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.898917][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.898920][ C3] ? __sk_destruct+0x383/0x780 [ 17.898924][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.898928][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.898931][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.898935][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.898939][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.898942][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.898945][ C3] ? default_idle+0x9/0x10 [ 17.898948][ C3] ? default_idle_call+0x6d/0xb0 [ 17.898951][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.898954][ C3] ? do_idle+0xf6/0x160 [ 17.898957][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.898959][ C3] ? start_secondary+0x213/0x2a0 [ 17.898963][ C3] ? common_startup_64+0x13e/0x148 [ 17.898969][ C3] __put_net+0x19/0x60 [ 17.898972][ C3] __sk_destruct+0x58a/0x780 [ 17.898977][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.898979][ C3] rcu_do_batch+0x34c/0xf20 [ 17.898984][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.898987][ C3] ? __lock_release+0x5d/0x170 [ 17.898990][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.898993][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.898999][ C3] rcu_core+0x2bb/0x500 [ 17.899004][ C3] handle_softirqs+0x218/0x620 [ 17.899009][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.899012][ C3] irq_exit_rcu+0xe/0x30 [ 17.899014][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.899018][ C3] [ 17.899019][ C3] [ 17.899021][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.899023][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.899027][ C3] Code: a2 b5 00 c3 cc cc cc cc 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 83 47 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 17.899030][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.899033][ C3] RAX: 000000000004a4dd RBX: 1ffff9200002afc1 RCX: ffffffffae78f5d9 [ 17.899035][ C3] RDX: 0000000000000000 RSI: ffffffffaf28f4e4 RDI: ffffffffaea53be0 [ 17.899037][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 17.899038][ C3] R10: ffff8880361b37d3 R11: ffffffffaf411288 R12: 0000000000000000 [ 17.899040][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.899044][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.899048][ C3] default_idle+0x9/0x10 [ 17.899051][ C3] default_idle_call+0x6d/0xb0 [ 17.899054][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.899057][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.899060][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.899065][ C3] do_idle+0xf6/0x160 [ 17.899068][ C3] cpu_startup_entry+0x54/0x60 [ 17.899071][ C3] start_secondary+0x213/0x2a0 [ 17.899074][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.899078][ C3] common_startup_64+0x13e/0x148 [ 17.899085][ C3] [ 20.288632][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.289015][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 218, name: timeout [ 20.289352][ C2] preempt_count: 101, expected: 0 [ 20.289558][ C2] RCU nest depth: 0, expected: 0 [ 20.289746][ C2] INFO: lockdep is turned off. [ 20.289957][ C2] Preemption disabled at: [ 20.289959][ C2] [] copy_fpstate_to_sigframe+0x240/0x530 [ 20.290389][ C2] CPU: 2 UID: 0 PID: 218 Comm: timeout Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 20.290394][ C2] Tainted: [W]=WARN [ 20.290396][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.290398][ C2] Call Trace: [ 20.290400][ C2] [ 20.290401][ C2] dump_stack_lvl+0xb0/0xd0 [ 20.290409][ C2] __might_resched+0x360/0x5a0 [ 20.290416][ C2] down_write+0x72/0x210 [ 20.290420][ C2] ? __pfx_down_write+0x10/0x10 [ 20.290423][ C2] ? simple_recursive_removal+0x33/0x610 [ 20.290428][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.290432][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.290439][ C2] simple_recursive_removal+0x6a/0x610 [ 20.290441][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.290444][ C2] ? __pfx_remove_one+0x10/0x10 [ 20.290450][ C2] debugfs_remove+0x44/0x70 [ 20.290453][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 20.290459][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.290463][ C2] ? __sk_destruct+0x383/0x780 [ 20.290468][ C2] ? rcu_do_batch+0x34c/0xf20 [ 20.290471][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.290474][ C2] ? __local_bh_enable_ip+0x105/0x130 [ 20.290479][ C2] ? copy_fpstate_to_sigframe+0x1ca/0x530 [ 20.290481][ C2] ? get_sigframe+0x283/0xa60 [ 20.290487][ C2] ? x64_setup_rt_frame+0xfa/0x1110 [ 20.290493][ C2] ? handle_signal+0x295/0x370 [ 20.290496][ C2] ? arch_do_signal_or_restart+0x299/0x2f0 [ 20.290500][ C2] ? exit_to_user_mode_loop+0x88/0xe0 [ 20.290503][ C2] ? do_syscall_64+0x2fe/0x380 [ 20.290507][ C2] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 20.290511][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.290515][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.290520][ C2] __put_net+0x19/0x60 [ 20.290523][ C2] __sk_destruct+0x58a/0x780 [ 20.290527][ C2] ? rcu_do_batch+0x34a/0xf20 [ 20.290530][ C2] rcu_do_batch+0x34c/0xf20 [ 20.290534][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.290538][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.290541][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 20.290548][ C2] rcu_core+0x2bb/0x500 [ 20.290552][ C2] handle_softirqs+0x218/0x620 [ 20.290557][ C2] ? copy_fpstate_to_sigframe+0x1c5/0x530 [ 20.290560][ C2] do_softirq+0xb1/0xe0 [ 20.290563][ C2] [ 20.290564][ C2] [ 20.290566][ C2] __local_bh_enable_ip+0x105/0x130 [ 20.290569][ C2] copy_fpstate_to_sigframe+0x1ca/0x530 [ 20.290573][ C2] ? fpu__alloc_mathframe+0x2e/0x120 [ 20.290576][ C2] get_sigframe+0x283/0xa60 [ 20.290579][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 20.290584][ C2] ? __pfx_get_sigframe+0x10/0x10 [ 20.290588][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.290591][ C2] ? trace_rseq_update+0xd2/0x130 [ 20.290598][ C2] x64_setup_rt_frame+0xfa/0x1110 [ 20.290602][ C2] ? __pfx___rseq_handle_notify_resume+0x10/0x10 [ 20.290607][ C2] ? __pfx_x64_setup_rt_frame+0x10/0x10 [ 20.290613][ C2] handle_signal+0x295/0x370 [ 20.290617][ C2] arch_do_signal_or_restart+0x299/0x2f0 [ 20.290621][ C2] ? __pfx_arch_do_signal_or_restart+0x10/0x10 [ 20.290627][ C2] ? __x64_sys_rt_sigsuspend+0xbd/0x120 [ 20.290631][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.290635][ C2] exit_to_user_mode_loop+0x88/0xe0 [ 20.290639][ C2] do_syscall_64+0x2fe/0x380 [ 20.290642][ C2] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 20.290644][ C2] RIP: 0033:0x7fa647cc906c [ 20.290652][ C2] Code: Unable to access opcode bytes at 0x7fa647cc9042. [ 20.290653][ C2] RSP: 002b:00007ffe1d2cf198 EFLAGS: 00000246 ORIG_RAX: 0000000000000082 [ 20.290657][ C2] RAX: fffffffffffffffc RBX: 00007ffe1d2cf1d8 RCX: 00007fa647cc906c [ 20.290659][ C2] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 00007ffe1d2cf200 [ 20.290660][ C2] RBP: 00007ffe1d2cf280 R08: 00007ffe1d2cf280 R09: 0000000000000000 [ 20.290662][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe1d2cf200 [ 20.290664][ C2] R13: 4056800000000000 R14: 000000000000000f R15: 00007fa647ebc000 [ 20.290670][ C2]