CVE-2026-43417
Received Received - Intake
Linux Kernel Scheduling Loop Vulnerability in mmcid

Publication date: 2026-05-08

Last updated on: 2026-05-08

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: sched/mmcid: Handle vfork()/CLONE_VM correctly Matthieu and Jiri reported stalls where a task endlessly loops in mm_get_cid() when scheduling in. It turned out that the logic which handles vfork()'ed tasks is broken. It is invoked when the number of tasks associated to a process is smaller than the number of MMCID users. It then walks the task list to find the vfork()'ed task, but accounts all the already processed tasks as well. If that double processing brings the number of to be handled tasks to 0, the walk stops and the vfork()'ed task's CID is not fixed up. As a consequence a subsequent schedule in fails to acquire a (transitional) CID and the machine stalls. Cure this by removing the accounting condition and make the fixup always walk the full task list if it could not find the exact number of users in the process' thread list.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-08
Last Modified
2026-05-08
Generated
2026-05-09
AI Q&A
2026-05-08
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

The vulnerability is resolved in the Linux kernel by fixing the handling of vfork()/CLONE_VM tasks in the scheduler. To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.


Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's scheduling code related to handling vfork() and CLONE_VM. Specifically, the logic that manages tasks created by vfork() is broken. When the number of tasks associated with a process is smaller than the number of MMCID users, the kernel attempts to find the vfork()ed task by walking the task list. However, it incorrectly counts already processed tasks, which can cause the walk to stop prematurely without fixing the vfork()ed task's CID (context ID). As a result, when the scheduler tries to schedule in the task, it fails to acquire a necessary transitional CID, causing the machine to stall.


How can this vulnerability impact me? :

The impact of this vulnerability is that the affected Linux system can stall or hang during task scheduling. This happens because the scheduler fails to acquire a required context ID for a vfork()ed task, leading to an endless loop or stall in the kernel. Such a stall can cause system unresponsiveness, potentially requiring a reboot or manual intervention to recover.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart