[ 15.787410][ C0] [ 15.787595][ C0] ================================ [ 15.787827][ C0] WARNING: inconsistent lock state [ 15.788059][ C0] 6.15.0-virtme #1 Not tainted [ 15.788296][ C0] -------------------------------- [ 15.788527][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.788813][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.789105][ C0] ffffffffa95c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.789521][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.789749][ C0] __lock_acquire+0x20b/0x7e0 [ 15.789993][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.790227][ C0] _raw_spin_lock+0x33/0x40 [ 15.790467][ C0] simple_pin_fs+0x24/0x150 [ 15.790702][ C0] start_creating.part.0+0x52/0x310 [ 15.790935][ C0] debugfs_create_dir+0x6a/0x540 [ 15.791168][ C0] component_debug_init+0x17/0x30 [ 15.791408][ C0] do_one_initcall+0x8f/0x1e0 [ 15.791645][ C0] do_initcalls+0x176/0x280 [ 15.791879][ C0] kernel_init_freeable+0x22d/0x300 [ 15.792112][ C0] kernel_init+0x20/0x200 [ 15.792347][ C0] ret_from_fork+0x240/0x320 [ 15.792586][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.792817][ C0] irq event stamp: 463116 [ 15.792998][ C0] hardirqs last enabled at (463116): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.793480][ C0] hardirqs last disabled at (463115): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.793961][ C0] softirqs last enabled at (461798): [] handle_softirqs+0x358/0x620 [ 15.794367][ C0] softirqs last disabled at (461805): [] __irq_exit_rcu+0xfa/0x160 [ 15.794764][ C0] [ 15.794764][ C0] other info that might help us debug this: [ 15.795112][ C0] Possible unsafe locking scenario: [ 15.795112][ C0] [ 15.795457][ C0] CPU0 [ 15.795630][ C0] ---- [ 15.795800][ C0] lock(pin_fs_lock); [ 15.795975][ C0] [ 15.796151][ C0] lock(pin_fs_lock); [ 15.796329][ C0] [ 15.796329][ C0] *** DEADLOCK *** [ 15.796329][ C0] [ 15.796669][ C0] 1 lock held by swapper/0/0: [ 15.796901][ C0] #0: ffffffffa93774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.797324][ C0] [ 15.797324][ C0] stack backtrace: [ 15.797630][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.797635][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.797637][ C0] Call Trace: [ 15.797639][ C0] [ 15.797640][ C0] dump_stack_lvl+0x82/0xd0 [ 15.797646][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.797651][ C0] mark_lock_irq+0x343/0x400 [ 15.797655][ C0] ? is_bpf_text_address+0x67/0x120 [ 15.797659][ C0] ? __lock_release+0x5d/0x170 [ 15.797664][ C0] ? save_trace+0x52/0x170 [ 15.797670][ C0] mark_lock+0x174/0x2f0 [ 15.797674][ C0] mark_usage+0x46/0x150 [ 15.797677][ C0] __lock_acquire+0x20b/0x7e0 [ 15.797680][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.797684][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.797687][ C0] ? simple_pin_fs+0x24/0x150 [ 15.797691][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.797696][ C0] ? lock_acquire+0x10c/0x170 [ 15.797699][ C0] ? simple_pin_fs+0x24/0x150 [ 15.797703][ C0] _raw_spin_lock+0x33/0x40 [ 15.797706][ C0] ? simple_pin_fs+0x24/0x150 [ 15.797710][ C0] simple_pin_fs+0x24/0x150 [ 15.797714][ C0] debugfs_remove+0x35/0x70 [ 15.797717][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.797723][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.797727][ C0] ? __sk_destruct+0x383/0x780 [ 15.797732][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.797735][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.797738][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.797741][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.797746][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.797750][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.797754][ C0] ? default_idle+0x9/0x10 [ 15.797756][ C0] ? default_idle_call+0x6d/0xb0 [ 15.797759][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.797763][ C0] ? do_idle+0xf6/0x160 [ 15.797765][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.797767][ C0] ? rest_init+0x14b/0x260 [ 15.797770][ C0] ? start_kernel+0x350/0x410 [ 15.797776][ C0] __put_net+0x19/0x60 [ 15.797779][ C0] __sk_destruct+0x58a/0x780 [ 15.797783][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.797786][ C0] rcu_do_batch+0x34c/0xf20 [ 15.797789][ C0] ? find_held_lock+0x2b/0x80 [ 15.797793][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.797797][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.797801][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.797804][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.797808][ C0] rcu_core+0x2bb/0x500 [ 15.797813][ C0] handle_softirqs+0x218/0x620 [ 15.797818][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.797821][ C0] irq_exit_rcu+0xe/0x30 [ 15.797824][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.797827][ C0] [ 15.797829][ C0] [ 15.797830][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.797833][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.797837][ C0] 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 [ 15.797840][ C0] RSP: 0018:ffffffffa9007df8 EFLAGS: 00000246 [ 15.797843][ C0] RAX: 0000000000070beb RBX: 1ffffffff5200fc3 RCX: ffffffffa838f5d9 [ 15.797845][ C0] RDX: 0000000000000000 RSI: ffffffffa8e8f4e4 RDI: ffffffffa8653be0 [ 15.797847][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ec66fa [ 15.797848][ C0] R10: ffff88802f6337d3 R11: ffffffffa9011288 R12: 0000000000000000 [ 15.797850][ C0] R13: ffffffffa901f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.797854][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.797859][ C0] default_idle+0x9/0x10 [ 15.797861][ C0] default_idle_call+0x6d/0xb0 [ 15.797864][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.797867][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.797871][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.797876][ C0] do_idle+0xf6/0x160 [ 15.797879][ C0] cpu_startup_entry+0x54/0x60 [ 15.797882][ C0] rest_init+0x14b/0x260 [ 15.797886][ C0] start_kernel+0x350/0x410 [ 15.797890][ C0] x86_64_start_reservations+0x18/0x30 [ 15.797894][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.797898][ C0] common_startup_64+0x13e/0x148 [ 15.797906][ C0] [ 15.818718][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.819225][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 15.819603][ C0] preempt_count: 101, expected: 0 [ 15.819835][ C0] RCU nest depth: 0, expected: 0 [ 15.820050][ C0] INFO: lockdep is turned off. [ 15.820268][ C0] Preemption disabled at: [ 15.820270][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.820899][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.820904][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.820906][ C0] Call Trace: [ 15.820908][ C0] [ 15.820910][ C0] dump_stack_lvl+0xb0/0xd0 [ 15.820917][ C0] __might_resched+0x360/0x5a0 [ 15.820923][ C0] down_write+0x72/0x210 [ 15.820927][ C0] ? __pfx_down_write+0x10/0x10 [ 15.820931][ C0] ? simple_recursive_removal+0x33/0x610 [ 15.820934][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.820939][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.820945][ C0] simple_recursive_removal+0x6a/0x610 [ 15.820948][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.820951][ C0] ? __pfx_remove_one+0x10/0x10 [ 15.820957][ C0] debugfs_remove+0x44/0x70 [ 15.820960][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.820965][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.820969][ C0] ? __sk_destruct+0x383/0x780 [ 15.820974][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.820977][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.820980][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.820984][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.820989][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.820992][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.820995][ C0] ? default_idle+0x9/0x10 [ 15.820998][ C0] ? default_idle_call+0x6d/0xb0 [ 15.821001][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.821004][ C0] ? do_idle+0xf6/0x160 [ 15.821006][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.821008][ C0] ? rest_init+0x14b/0x260 [ 15.821012][ C0] ? start_kernel+0x350/0x410 [ 15.821019][ C0] __put_net+0x19/0x60 [ 15.821023][ C0] __sk_destruct+0x58a/0x780 [ 15.821027][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.821029][ C0] rcu_do_batch+0x34c/0xf20 [ 15.821033][ C0] ? find_held_lock+0x2b/0x80 [ 15.821038][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.821041][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.821046][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.821048][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.821053][ C0] rcu_core+0x2bb/0x500 [ 15.821058][ C0] handle_softirqs+0x218/0x620 [ 15.821063][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.821066][ C0] irq_exit_rcu+0xe/0x30 [ 15.821069][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.821072][ C0] [ 15.821074][ C0] [ 15.821075][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.821078][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.821082][ C0] 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 [ 15.821085][ C0] RSP: 0018:ffffffffa9007df8 EFLAGS: 00000246 [ 15.821088][ C0] RAX: 0000000000070beb RBX: 1ffffffff5200fc3 RCX: ffffffffa838f5d9 [ 15.821090][ C0] RDX: 0000000000000000 RSI: ffffffffa8e8f4e4 RDI: ffffffffa8653be0 [ 15.821091][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ec66fa [ 15.821093][ C0] R10: ffff88802f6337d3 R11: ffffffffa9011288 R12: 0000000000000000 [ 15.821095][ C0] R13: ffffffffa901f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.821098][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.821103][ C0] default_idle+0x9/0x10 [ 15.821106][ C0] default_idle_call+0x6d/0xb0 [ 15.821108][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.821112][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.821115][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.821121][ C0] do_idle+0xf6/0x160 [ 15.821124][ C0] cpu_startup_entry+0x54/0x60 [ 15.821127][ C0] rest_init+0x14b/0x260 [ 15.821130][ C0] start_kernel+0x350/0x410 [ 15.821134][ C0] x86_64_start_reservations+0x18/0x30 [ 15.821139][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.821142][ C0] common_startup_64+0x13e/0x148 [ 15.821152][ C0] [ 17.489913][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.490267][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 217, name: timeout [ 17.490598][ C3] preempt_count: 101, expected: 0 [ 17.490791][ C3] RCU nest depth: 0, expected: 0 [ 17.490969][ C3] INFO: lockdep is turned off. [ 17.491144][ C3] Preemption disabled at: [ 17.491146][ C3] [] fpu__clear_user_states+0x38/0x180 [ 17.491520][ C3] CPU: 3 UID: 0 PID: 217 Comm: timeout Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.491527][ C3] Tainted: [W]=WARN [ 17.491528][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.491531][ C3] Call Trace: [ 17.491534][ C3] [ 17.491536][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.491546][ C3] __might_resched+0x360/0x5a0 [ 17.491555][ C3] down_write+0x72/0x210 [ 17.491560][ C3] ? __pfx_down_write+0x10/0x10 [ 17.491563][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.491569][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.491575][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.491583][ C3] simple_recursive_removal+0x6a/0x610 [ 17.491586][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.491589][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.491596][ C3] debugfs_remove+0x44/0x70 [ 17.491600][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.491608][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.491611][ C3] ? __sk_destruct+0x383/0x780 [ 17.491618][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.491622][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.491626][ C3] ? __local_bh_enable_ip+0x105/0x130 [ 17.491632][ C3] ? handle_signal+0x279/0x370 [ 17.491639][ C3] ? arch_do_signal_or_restart+0x299/0x2f0 [ 17.491642][ C3] ? exit_to_user_mode_loop+0x88/0xe0 [ 17.491647][ C3] ? do_syscall_64+0x2fe/0x380 [ 17.491652][ C3] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 17.491656][ C3] ? __pfx_migrate_enable+0x10/0x10 [ 17.491661][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.491667][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.491672][ C3] __put_net+0x19/0x60 [ 17.491677][ C3] __sk_destruct+0x58a/0x780 [ 17.491681][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.491683][ C3] rcu_do_batch+0x34c/0xf20 [ 17.491689][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.491694][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.491697][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.491706][ C3] rcu_core+0x2bb/0x500 [ 17.491712][ C3] handle_softirqs+0x218/0x620 [ 17.491717][ C3] ? fpu__clear_user_states+0xc9/0x180 [ 17.491720][ C3] do_softirq+0xb1/0xe0 [ 17.491723][ C3] [ 17.491724][ C3] [ 17.491726][ C3] __local_bh_enable_ip+0x105/0x130 [ 17.491729][ C3] handle_signal+0x279/0x370 [ 17.491734][ C3] arch_do_signal_or_restart+0x299/0x2f0 [ 17.491738][ C3] ? __pfx_arch_do_signal_or_restart+0x10/0x10 [ 17.491744][ C3] ? __x64_sys_rt_sigsuspend+0xbd/0x120 [ 17.491749][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.491753][ C3] exit_to_user_mode_loop+0x88/0xe0 [ 17.491757][ C3] do_syscall_64+0x2fe/0x380 [ 17.491760][ C3] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 17.491763][ C3] RIP: 0033:0x560720c28270 [ 17.491773][ C3] Code: Unable to access opcode bytes at 0x560720c28246. [ 17.491774][ C3] RSP: 002b:00007ffd4bce3078 EFLAGS: 00000246 ORIG_RAX: 0000000000000082 [ 17.491778][ C3] RAX: 0000000000000000 RBX: 00007ffd4bce3db8 RCX: 00007f1995f6d06c [ 17.491780][ C3] RDX: 00007ffd4bce3080 RSI: 00007ffd4bce31b0 RDI: 0000000000000011 [ 17.491782][ C3] RBP: 00007ffd4bce3e60 R08: 00007ffd4bce3e60 R09: 0000000000000000 [ 17.491784][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd4bce3de0 [ 17.491786][ C3] R13: 4056800000000000 R14: 000000000000000f R15: 00007f1996160000 [ 17.491792][ C3]