[ 14.783197][ C2] [ 14.783442][ C2] ================================ [ 14.783633][ C2] WARNING: inconsistent lock state [ 14.783817][ C2] 6.15.0-virtme #1 Not tainted [ 14.784002][ C2] -------------------------------- [ 14.784194][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.784415][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.784638][ C2] ffffffffa1fc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.784955][ C2] {SOFTIRQ-ON-W} state was registered at: [ 14.785133][ C2] __lock_acquire+0x20b/0x7e0 [ 14.785317][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.785498][ C2] _raw_spin_lock+0x33/0x40 [ 14.785681][ C2] simple_pin_fs+0x24/0x150 [ 14.785859][ C2] start_creating.part.0+0x52/0x310 [ 14.786041][ C2] debugfs_create_dir+0x6a/0x540 [ 14.786222][ C2] component_debug_init+0x17/0x30 [ 14.786406][ C2] do_one_initcall+0x8f/0x1e0 [ 14.786588][ C2] do_initcalls+0x176/0x280 [ 14.786769][ C2] kernel_init_freeable+0x22d/0x300 [ 14.786979][ C2] kernel_init+0x20/0x200 [ 14.787165][ C2] ret_from_fork+0x240/0x320 [ 14.787349][ C2] ret_from_fork_asm+0x1a/0x30 [ 14.787536][ C2] irq event stamp: 265960 [ 14.787676][ C2] hardirqs last enabled at (265960): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.788044][ C2] hardirqs last disabled at (265959): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.788422][ C2] softirqs last enabled at (263930): [] handle_softirqs+0x358/0x620 [ 14.788748][ C2] softirqs last disabled at (263967): [] __irq_exit_rcu+0xfa/0x160 [ 14.789072][ C2] [ 14.789072][ C2] other info that might help us debug this: [ 14.789343][ C2] Possible unsafe locking scenario: [ 14.789343][ C2] [ 14.789625][ C2] CPU0 [ 14.789760][ C2] ---- [ 14.789894][ C2] lock(pin_fs_lock); [ 14.790035][ C2] [ 14.790171][ C2] lock(pin_fs_lock); [ 14.790309][ C2] [ 14.790309][ C2] *** DEADLOCK *** [ 14.790309][ C2] [ 14.790578][ C2] 1 lock held by swapper/2/0: [ 14.790786][ C2] #0: ffffffffa1d774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.791122][ C2] [ 14.791122][ C2] stack backtrace: [ 14.791355][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.791359][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.791361][ C2] Call Trace: [ 14.791363][ C2] [ 14.791365][ C2] dump_stack_lvl+0x82/0xd0 [ 14.791371][ C2] print_usage_bug.part.0+0x25f/0x360 [ 14.791376][ C2] mark_lock_irq+0x343/0x400 [ 14.791380][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.791384][ C2] ? save_trace+0x52/0x170 [ 14.791390][ C2] mark_lock+0x174/0x2f0 [ 14.791394][ C2] mark_usage+0x46/0x150 [ 14.791397][ C2] __lock_acquire+0x20b/0x7e0 [ 14.791400][ C2] ? __lock_acquire+0x44d/0x7e0 [ 14.791404][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.791407][ C2] ? simple_pin_fs+0x24/0x150 [ 14.791412][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.791416][ C2] ? lock_acquire+0x10c/0x170 [ 14.791418][ C2] ? simple_pin_fs+0x24/0x150 [ 14.791423][ C2] _raw_spin_lock+0x33/0x40 [ 14.791426][ C2] ? simple_pin_fs+0x24/0x150 [ 14.791429][ C2] simple_pin_fs+0x24/0x150 [ 14.791433][ C2] debugfs_remove+0x35/0x70 [ 14.791436][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.791443][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.791446][ C2] ? __sk_destruct+0x383/0x780 [ 14.791451][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.791454][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.791458][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.791460][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.791465][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.791468][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.791472][ C2] ? default_idle+0x9/0x10 [ 14.791474][ C2] ? default_idle_call+0x6d/0xb0 [ 14.791477][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.791480][ C2] ? do_idle+0xf6/0x160 [ 14.791482][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.791485][ C2] ? start_secondary+0x213/0x2a0 [ 14.791488][ C2] ? common_startup_64+0x13e/0x148 [ 14.791496][ C2] __put_net+0x19/0x60 [ 14.791500][ C2] __sk_destruct+0x58a/0x780 [ 14.791504][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.791506][ C2] rcu_do_batch+0x34c/0xf20 [ 14.791510][ C2] ? find_held_lock+0x2b/0x80 [ 14.791514][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.791517][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.791521][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.791524][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.791528][ C2] rcu_core+0x2bb/0x500 [ 14.791533][ C2] handle_softirqs+0x218/0x620 [ 14.791538][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.791541][ C2] irq_exit_rcu+0xe/0x30 [ 14.791544][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.791547][ C2] [ 14.791548][ C2] [ 14.791550][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.791552][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.791557][ C2] 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 [ 14.791560][ C2] RSP: 0000:ffffc90000147de8 EFLAGS: 00000246 [ 14.791563][ C2] RAX: 000000000004071d RBX: 1ffff92000028fc1 RCX: ffffffffa0d905d9 [ 14.791565][ C2] RDX: 0000000000000000 RSI: ffffffffa188f4e4 RDI: ffffffffa1053be0 [ 14.791567][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 14.791568][ C2] R10: ffff8880361337d3 R11: ffffffffa1a11288 R12: 0000000000000000 [ 14.791570][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 14.791574][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.791579][ C2] default_idle+0x9/0x10 [ 14.791581][ C2] default_idle_call+0x6d/0xb0 [ 14.791584][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.791587][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.791591][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.791595][ C2] do_idle+0xf6/0x160 [ 14.791598][ C2] cpu_startup_entry+0x54/0x60 [ 14.791601][ C2] start_secondary+0x213/0x2a0 [ 14.791604][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.791609][ C2] common_startup_64+0x13e/0x148 [ 14.791616][ C2] [ 14.806526][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.806841][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 14.807165][ C2] preempt_count: 101, expected: 0 [ 14.807464][ C2] RCU nest depth: 0, expected: 0 [ 14.807646][ C2] INFO: lockdep is turned off. [ 14.807828][ C2] Preemption disabled at: [ 14.807830][ C2] [<0000000000000000>] 0x0 [ 14.808265][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.808269][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.808270][ C2] Call Trace: [ 14.808272][ C2] [ 14.808274][ C2] dump_stack_lvl+0xb0/0xd0 [ 14.808281][ C2] __might_resched+0x360/0x5a0 [ 14.808287][ C2] down_write+0x72/0x210 [ 14.808291][ C2] ? __pfx_down_write+0x10/0x10 [ 14.808294][ C2] ? simple_recursive_removal+0x33/0x610 [ 14.808298][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.808302][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.808307][ C2] simple_recursive_removal+0x6a/0x610 [ 14.808310][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.808313][ C2] ? __pfx_remove_one+0x10/0x10 [ 14.808318][ C2] debugfs_remove+0x44/0x70 [ 14.808321][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.808326][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.808329][ C2] ? __sk_destruct+0x383/0x780 [ 14.808333][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.808336][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.808340][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.808344][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.808348][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.808352][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.808355][ C2] ? default_idle+0x9/0x10 [ 14.808358][ C2] ? default_idle_call+0x6d/0xb0 [ 14.808360][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.808364][ C2] ? do_idle+0xf6/0x160 [ 14.808366][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.808368][ C2] ? start_secondary+0x213/0x2a0 [ 14.808371][ C2] ? common_startup_64+0x13e/0x148 [ 14.808378][ C2] __put_net+0x19/0x60 [ 14.808381][ C2] __sk_destruct+0x58a/0x780 [ 14.808385][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.808388][ C2] rcu_do_batch+0x34c/0xf20 [ 14.808391][ C2] ? find_held_lock+0x2b/0x80 [ 14.808399][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.808402][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.808406][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.808409][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.808414][ C2] rcu_core+0x2bb/0x500 [ 14.808417][ C2] handle_softirqs+0x218/0x620 [ 14.808423][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.808425][ C2] irq_exit_rcu+0xe/0x30 [ 14.808428][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.808432][ C2] [ 14.808433][ C2] [ 14.808434][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.808437][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.808441][ C2] 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 [ 14.808443][ C2] RSP: 0000:ffffc90000147de8 EFLAGS: 00000246 [ 14.808446][ C2] RAX: 000000000004071d RBX: 1ffff92000028fc1 RCX: ffffffffa0d905d9 [ 14.808448][ C2] RDX: 0000000000000000 RSI: ffffffffa188f4e4 RDI: ffffffffa1053be0 [ 14.808450][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 14.808451][ C2] R10: ffff8880361337d3 R11: ffffffffa1a11288 R12: 0000000000000000 [ 14.808453][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 14.808457][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.808461][ C2] default_idle+0x9/0x10 [ 14.808464][ C2] default_idle_call+0x6d/0xb0 [ 14.808466][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.808469][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.808473][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.808477][ C2] do_idle+0xf6/0x160 [ 14.808480][ C2] cpu_startup_entry+0x54/0x60 [ 14.808483][ C2] start_secondary+0x213/0x2a0 [ 14.808486][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.808490][ C2] common_startup_64+0x13e/0x148 [ 14.808497][ C2] [ 16.403077][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.403456][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 219, name: timeout [ 16.403758][ C0] preempt_count: 101, expected: 0 [ 16.403930][ C0] RCU nest depth: 0, expected: 0 [ 16.404100][ C0] INFO: lockdep is turned off. [ 16.404270][ C0] Preemption disabled at: [ 16.404272][ C0] [] copy_fpstate_to_sigframe+0x240/0x530 [ 16.404677][ C0] CPU: 0 UID: 0 PID: 219 Comm: timeout Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.404682][ C0] Tainted: [W]=WARN [ 16.404683][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.404685][ C0] Call Trace: [ 16.404687][ C0] [ 16.404689][ C0] dump_stack_lvl+0xb0/0xd0 [ 16.404696][ C0] __might_resched+0x360/0x5a0 [ 16.404702][ C0] down_write+0x72/0x210 [ 16.404706][ C0] ? __pfx_down_write+0x10/0x10 [ 16.404709][ C0] ? simple_recursive_removal+0x33/0x610 [ 16.404713][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.404718][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.404724][ C0] simple_recursive_removal+0x6a/0x610 [ 16.404727][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.404730][ C0] ? __pfx_remove_one+0x10/0x10 [ 16.404735][ C0] debugfs_remove+0x44/0x70 [ 16.404738][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.404744][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.404747][ C0] ? __sk_destruct+0x383/0x780 [ 16.404753][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.404756][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.404759][ C0] ? __local_bh_enable_ip+0x105/0x130 [ 16.404764][ C0] ? copy_fpstate_to_sigframe+0x1ca/0x530 [ 16.404766][ C0] ? get_sigframe+0x283/0xa60 [ 16.404771][ C0] ? x64_setup_rt_frame+0xfa/0x1110 [ 16.404775][ C0] ? handle_signal+0x295/0x370 [ 16.404778][ C0] ? arch_do_signal_or_restart+0x299/0x2f0 [ 16.404781][ C0] ? exit_to_user_mode_loop+0x88/0xe0 [ 16.404785][ C0] ? do_syscall_64+0x2fe/0x380 [ 16.404789][ C0] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 16.404792][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.404796][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.404800][ C0] __put_net+0x19/0x60 [ 16.404804][ C0] __sk_destruct+0x58a/0x780 [ 16.404808][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.404810][ C0] rcu_do_batch+0x34c/0xf20 [ 16.404815][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.404818][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.404821][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.404828][ C0] rcu_core+0x2bb/0x500 [ 16.404833][ C0] handle_softirqs+0x218/0x620 [ 16.404837][ C0] ? copy_fpstate_to_sigframe+0x1c5/0x530 [ 16.404840][ C0] do_softirq+0xb1/0xe0 [ 16.404843][ C0] [ 16.404844][ C0] [ 16.404846][ C0] __local_bh_enable_ip+0x105/0x130 [ 16.404849][ C0] copy_fpstate_to_sigframe+0x1ca/0x530 [ 16.404852][ C0] ? fpu__alloc_mathframe+0x2e/0x120 [ 16.404856][ C0] get_sigframe+0x283/0xa60 [ 16.404859][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.404863][ C0] ? __pfx_get_sigframe+0x10/0x10 [ 16.404867][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.404870][ C0] ? trace_rseq_update+0xd2/0x130 [ 16.404877][ C0] x64_setup_rt_frame+0xfa/0x1110 [ 16.404881][ C0] ? __pfx___rseq_handle_notify_resume+0x10/0x10 [ 16.404885][ C0] ? __pfx_x64_setup_rt_frame+0x10/0x10 [ 16.404891][ C0] handle_signal+0x295/0x370 [ 16.404895][ C0] arch_do_signal_or_restart+0x299/0x2f0 [ 16.404899][ C0] ? __pfx_arch_do_signal_or_restart+0x10/0x10 [ 16.404905][ C0] ? __x64_sys_rt_sigsuspend+0xbd/0x120 [ 16.404909][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.404912][ C0] exit_to_user_mode_loop+0x88/0xe0 [ 16.404916][ C0] do_syscall_64+0x2fe/0x380 [ 16.404919][ C0] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 16.404921][ C0] RIP: 0033:0x7f4c0ca0f06c [ 16.404928][ C0] Code: Unable to access opcode bytes at 0x7f4c0ca0f042. [ 16.404930][ C0] RSP: 002b:00007ffdc047d7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000082 [ 16.404933][ C0] RAX: fffffffffffffffc RBX: 00007ffdc047d7f8 RCX: 00007f4c0ca0f06c [ 16.404935][ C0] RDX: 0000000000000001 RSI: 0000000000000008 RDI: 00007ffdc047d820 [ 16.404937][ C0] RBP: 00007ffdc047d8a0 R08: 00007ffdc047d8a0 R09: 0000000000000000 [ 16.404939][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffdc047d820 [ 16.404940][ C0] R13: 4056800000000000 R14: 000000000000000f R15: 00007f4c0cc02000 [ 16.404946][ C0]