[ 21.625532][ C0] [ 21.625679][ C0] ================================ [ 21.625916][ C0] WARNING: inconsistent lock state [ 21.626123][ C0] 6.15.0-virtme #1 Not tainted [ 21.626338][ C0] -------------------------------- [ 21.626547][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 21.626811][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 21.627082][ C0] ffffffff8d9c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 21.627451][ C0] {SOFTIRQ-ON-W} state was registered at: [ 21.627653][ C0] __lock_acquire+0x20b/0x7e0 [ 21.627867][ C0] lock_acquire.part.0+0xb6/0x240 [ 21.628075][ C0] _raw_spin_lock+0x33/0x40 [ 21.628284][ C0] simple_pin_fs+0x24/0x150 [ 21.628488][ C0] start_creating.part.0+0x52/0x310 [ 21.628693][ C0] debugfs_create_dir+0x6a/0x540 [ 21.628899][ C0] component_debug_init+0x17/0x30 [ 21.629109][ C0] do_one_initcall+0x8f/0x1e0 [ 21.629315][ C0] do_initcalls+0x176/0x280 [ 21.629519][ C0] kernel_init_freeable+0x22d/0x300 [ 21.629726][ C0] kernel_init+0x20/0x200 [ 21.629934][ C0] ret_from_fork+0x240/0x320 [ 21.630141][ C0] ret_from_fork_asm+0x1a/0x30 [ 21.630346][ C0] irq event stamp: 441382 [ 21.630504][ C0] hardirqs last enabled at (441382): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 21.630913][ C0] hardirqs last disabled at (441381): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 21.631323][ C0] softirqs last enabled at (439256): [] handle_softirqs+0x358/0x620 [ 21.631689][ C0] softirqs last disabled at (439281): [] __irq_exit_rcu+0xfa/0x160 [ 21.632050][ C0] [ 21.632050][ C0] other info that might help us debug this: [ 21.632358][ C0] Possible unsafe locking scenario: [ 21.632358][ C0] [ 21.632663][ C0] CPU0 [ 21.632818][ C0] ---- [ 21.632972][ C0] lock(pin_fs_lock); [ 21.633130][ C0] [ 21.633283][ C0] lock(pin_fs_lock); [ 21.633439][ C0] [ 21.633439][ C0] *** DEADLOCK *** [ 21.633439][ C0] [ 21.633746][ C0] 1 lock held by swapper/0/0: [ 21.633957][ C0] #0: ffffffff8d7774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 21.634328][ C0] [ 21.634328][ C0] stack backtrace: [ 21.634584][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 21.634588][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.634591][ C0] Call Trace: [ 21.634592][ C0] [ 21.634594][ C0] dump_stack_lvl+0x82/0xd0 [ 21.634600][ C0] print_usage_bug.part.0+0x25f/0x360 [ 21.634605][ C0] mark_lock_irq+0x343/0x400 [ 21.634608][ C0] ? is_bpf_text_address+0x67/0x120 [ 21.634614][ C0] ? __lock_release+0x5d/0x170 [ 21.634618][ C0] ? save_trace+0x52/0x170 [ 21.634624][ C0] mark_lock+0x174/0x2f0 [ 21.634629][ C0] mark_usage+0x46/0x150 [ 21.634631][ C0] __lock_acquire+0x20b/0x7e0 [ 21.634635][ C0] ? __lock_acquire+0x44d/0x7e0 [ 21.634639][ C0] lock_acquire.part.0+0xb6/0x240 [ 21.634642][ C0] ? simple_pin_fs+0x24/0x150 [ 21.634646][ C0] ? rcu_is_watching+0x12/0xc0 [ 21.634650][ C0] ? lock_acquire+0x10c/0x170 [ 21.634653][ C0] ? simple_pin_fs+0x24/0x150 [ 21.634658][ C0] _raw_spin_lock+0x33/0x40 [ 21.634661][ C0] ? simple_pin_fs+0x24/0x150 [ 21.634664][ C0] simple_pin_fs+0x24/0x150 [ 21.634668][ C0] debugfs_remove+0x35/0x70 [ 21.634671][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 21.634677][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 21.634681][ C0] ? __sk_destruct+0x383/0x780 [ 21.634686][ C0] ? rcu_do_batch+0x34c/0xf20 [ 21.634689][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 21.634692][ C0] ? irq_exit_rcu+0xe/0x30 [ 21.634695][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.634699][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.634703][ C0] ? pv_native_safe_halt+0xf/0x20 [ 21.634706][ C0] ? default_idle+0x9/0x10 [ 21.634709][ C0] ? default_idle_call+0x6d/0xb0 [ 21.634711][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.634715][ C0] ? do_idle+0xf6/0x160 [ 21.634717][ C0] ? cpu_startup_entry+0x54/0x60 [ 21.634719][ C0] ? rest_init+0x14b/0x260 [ 21.634722][ C0] ? start_kernel+0x350/0x410 [ 21.634728][ C0] __put_net+0x19/0x60 [ 21.634731][ C0] __sk_destruct+0x58a/0x780 [ 21.634735][ C0] ? rcu_do_batch+0x34a/0xf20 [ 21.634738][ C0] rcu_do_batch+0x34c/0xf20 [ 21.634742][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.634745][ C0] ? __lock_release+0x5d/0x170 [ 21.634749][ C0] ? rcu_is_watching+0x12/0xc0 [ 21.634751][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 21.634756][ C0] rcu_core+0x2bb/0x500 [ 21.634761][ C0] handle_softirqs+0x218/0x620 [ 21.634766][ C0] __irq_exit_rcu+0xfa/0x160 [ 21.634769][ C0] irq_exit_rcu+0xe/0x30 [ 21.634772][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.634775][ C0] [ 21.634776][ C0] [ 21.634778][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.634780][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 21.634785][ C0] Code: 92 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 37 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 [ 21.634787][ C0] RSP: 0018:ffffffff8d407df8 EFLAGS: 00000242 [ 21.634790][ C0] RAX: 000000000006b3ef RBX: 1ffffffff1a80fc3 RCX: ffffffff8c7905d9 [ 21.634792][ C0] RDX: 0000000000000000 RSI: ffffffff8d28f4e4 RDI: ffffffff8ca53be0 [ 21.634794][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 21.634796][ C0] R10: ffff8880360337d3 R11: ffffffff8d411288 R12: 0000000000000000 [ 21.634797][ C0] R13: ffffffff8d41f240 R14: dffffc0000000000 R15: 0000000000014770 [ 21.634801][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 21.634806][ C0] default_idle+0x9/0x10 [ 21.634808][ C0] default_idle_call+0x6d/0xb0 [ 21.634811][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 21.634814][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.634818][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 21.634823][ C0] do_idle+0xf6/0x160 [ 21.634827][ C0] cpu_startup_entry+0x54/0x60 [ 21.634830][ C0] rest_init+0x14b/0x260 [ 21.634833][ C0] start_kernel+0x350/0x410 [ 21.634837][ C0] x86_64_start_reservations+0x18/0x30 [ 21.634842][ C0] x86_64_start_kernel+0xf8/0x150 [ 21.634846][ C0] common_startup_64+0x13e/0x148 [ 21.634856][ C0] [ 21.652616][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 21.652962][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 21.653310][ C0] preempt_count: 101, expected: 0 [ 21.653629][ C0] RCU nest depth: 0, expected: 0 [ 21.653821][ C0] INFO: lockdep is turned off. [ 21.654024][ C0] Preemption disabled at: [ 21.654026][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 21.654592][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 21.654597][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 21.654599][ C0] Call Trace: [ 21.654600][ C0] [ 21.654602][ C0] dump_stack_lvl+0xb0/0xd0 [ 21.654608][ C0] __might_resched+0x360/0x5a0 [ 21.654615][ C0] down_write+0x72/0x210 [ 21.654619][ C0] ? __pfx_down_write+0x10/0x10 [ 21.654622][ C0] ? simple_recursive_removal+0x33/0x610 [ 21.654627][ C0] ? rcu_is_watching+0x12/0xc0 [ 21.654632][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 21.654638][ C0] simple_recursive_removal+0x6a/0x610 [ 21.654640][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 21.654644][ C0] ? __pfx_remove_one+0x10/0x10 [ 21.654649][ C0] debugfs_remove+0x44/0x70 [ 21.654652][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 21.654658][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 21.654661][ C0] ? __sk_destruct+0x383/0x780 [ 21.654666][ C0] ? rcu_do_batch+0x34c/0xf20 [ 21.654669][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 21.654672][ C0] ? irq_exit_rcu+0xe/0x30 [ 21.654677][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.654682][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.654686][ C0] ? pv_native_safe_halt+0xf/0x20 [ 21.654689][ C0] ? default_idle+0x9/0x10 [ 21.654692][ C0] ? default_idle_call+0x6d/0xb0 [ 21.654695][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 21.654698][ C0] ? do_idle+0xf6/0x160 [ 21.654700][ C0] ? cpu_startup_entry+0x54/0x60 [ 21.654703][ C0] ? rest_init+0x14b/0x260 [ 21.654706][ C0] ? start_kernel+0x350/0x410 [ 21.654713][ C0] __put_net+0x19/0x60 [ 21.654717][ C0] __sk_destruct+0x58a/0x780 [ 21.654721][ C0] ? rcu_do_batch+0x34a/0xf20 [ 21.654723][ C0] rcu_do_batch+0x34c/0xf20 [ 21.654728][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 21.654731][ C0] ? __lock_release+0x5d/0x170 [ 21.654734][ C0] ? rcu_is_watching+0x12/0xc0 [ 21.654737][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 21.654743][ C0] rcu_core+0x2bb/0x500 [ 21.654747][ C0] handle_softirqs+0x218/0x620 [ 21.654753][ C0] __irq_exit_rcu+0xfa/0x160 [ 21.654756][ C0] irq_exit_rcu+0xe/0x30 [ 21.654759][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 21.654762][ C0] [ 21.654763][ C0] [ 21.654765][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 21.654767][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 21.654771][ C0] Code: 92 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 37 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 [ 21.654774][ C0] RSP: 0018:ffffffff8d407df8 EFLAGS: 00000242 [ 21.654777][ C0] RAX: 000000000006b3ef RBX: 1ffffffff1a80fc3 RCX: ffffffff8c7905d9 [ 21.654779][ C0] RDX: 0000000000000000 RSI: ffffffff8d28f4e4 RDI: ffffffff8ca53be0 [ 21.654781][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 21.654783][ C0] R10: ffff8880360337d3 R11: ffffffff8d411288 R12: 0000000000000000 [ 21.654784][ C0] R13: ffffffff8d41f240 R14: dffffc0000000000 R15: 0000000000014770 [ 21.654788][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 21.654793][ C0] default_idle+0x9/0x10 [ 21.654796][ C0] default_idle_call+0x6d/0xb0 [ 21.654799][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 21.654802][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 21.654805][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 21.654811][ C0] do_idle+0xf6/0x160 [ 21.654814][ C0] cpu_startup_entry+0x54/0x60 [ 21.654817][ C0] rest_init+0x14b/0x260 [ 21.654820][ C0] start_kernel+0x350/0x410 [ 21.654824][ C0] x86_64_start_reservations+0x18/0x30 [ 21.654829][ C0] x86_64_start_kernel+0xf8/0x150 [ 21.654833][ C0] common_startup_64+0x13e/0x148 [ 21.654842][ C0] [ 27.567052][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 27.567427][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 218, name: timeout [ 27.567746][ C2] preempt_count: 101, expected: 0 [ 27.567942][ C2] RCU nest depth: 0, expected: 0 [ 27.568124][ C2] INFO: lockdep is turned off. [ 27.568307][ C2] Preemption disabled at: [ 27.568309][ C2] [] fpu__clear_user_states+0x38/0x180 [ 27.568680][ C2] CPU: 2 UID: 0 PID: 218 Comm: timeout Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 27.568686][ C2] Tainted: [W]=WARN [ 27.568687][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 27.568690][ C2] Call Trace: [ 27.568692][ C2] [ 27.568693][ C2] dump_stack_lvl+0xb0/0xd0 [ 27.568701][ C2] __might_resched+0x360/0x5a0 [ 27.568708][ C2] down_write+0x72/0x210 [ 27.568712][ C2] ? __pfx_down_write+0x10/0x10 [ 27.568715][ C2] ? simple_recursive_removal+0x33/0x610 [ 27.568719][ C2] ? rcu_is_watching+0x12/0xc0 [ 27.568724][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 27.568730][ C2] simple_recursive_removal+0x6a/0x610 [ 27.568733][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 27.568736][ C2] ? __pfx_remove_one+0x10/0x10 [ 27.568742][ C2] debugfs_remove+0x44/0x70 [ 27.568745][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 27.568751][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 27.568755][ C2] ? __sk_destruct+0x383/0x780 [ 27.568760][ C2] ? rcu_do_batch+0x34c/0xf20 [ 27.568763][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 27.568767][ C2] ? __local_bh_enable_ip+0x105/0x130 [ 27.568772][ C2] ? handle_signal+0x279/0x370 [ 27.568777][ C2] ? arch_do_signal_or_restart+0x299/0x2f0 [ 27.568780][ C2] ? exit_to_user_mode_loop+0x88/0xe0 [ 27.568784][ C2] ? do_syscall_64+0x2fe/0x380 [ 27.568788][ C2] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 27.568792][ C2] ? __pfx_migrate_enable+0x10/0x10 [ 27.568796][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 27.568800][ C2] ? rcu_is_watching+0x12/0xc0 [ 27.568805][ C2] __put_net+0x19/0x60 [ 27.568808][ C2] __sk_destruct+0x58a/0x780 [ 27.568813][ C2] ? rcu_do_batch+0x34a/0xf20 [ 27.568815][ C2] rcu_do_batch+0x34c/0xf20 [ 27.568820][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 27.568823][ C2] ? rcu_is_watching+0x12/0xc0 [ 27.568826][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 27.568834][ C2] rcu_core+0x2bb/0x500 [ 27.568839][ C2] handle_softirqs+0x218/0x620 [ 27.568843][ C2] ? fpu__clear_user_states+0xc9/0x180 [ 27.568846][ C2] do_softirq+0xb1/0xe0 [ 27.568849][ C2] [ 27.568850][ C2] [ 27.568851][ C2] __local_bh_enable_ip+0x105/0x130 [ 27.568854][ C2] handle_signal+0x279/0x370 [ 27.568859][ C2] arch_do_signal_or_restart+0x299/0x2f0 [ 27.568862][ C2] ? __pfx_arch_do_signal_or_restart+0x10/0x10 [ 27.568874][ C2] ? __x64_sys_rt_sigsuspend+0xbd/0x120 [ 27.568878][ C2] ? rcu_is_watching+0x12/0xc0 [ 27.568881][ C2] exit_to_user_mode_loop+0x88/0xe0 [ 27.568885][ C2] do_syscall_64+0x2fe/0x380 [ 27.568888][ C2] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 27.568891][ C2] RIP: 0033:0x55c8be327270 [ 27.568899][ C2] Code: Unable to access opcode bytes at 0x55c8be327246. [ 27.568901][ C2] RSP: 002b:00007ffdab0c8338 EFLAGS: 00000246 ORIG_RAX: 0000000000000082 [ 27.568904][ C2] RAX: 0000000000000000 RBX: 00007ffdab0c9068 RCX: 00007fad9608a06c [ 27.568906][ C2] RDX: 00007ffdab0c8340 RSI: 00007ffdab0c8470 RDI: 0000000000000011 [ 27.568908][ C2] RBP: 00007ffdab0c9110 R08: 00007ffdab0c9110 R09: 0000000000000000 [ 27.568910][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdab0c9090 [ 27.568912][ C2] R13: 4056800000000000 R14: 000000000000000f R15: 00007fad9627d000 [ 27.568918][ C2]