Description
In the Linux kernel, the following vulnerability has been resolved:

sched/fair: Fix zero_vruntime tracking fix

John reported that stress-ng-yield could make his machine unhappy and
managed to bisect it to commit b3d99f43c72b ("sched/fair: Fix
zero_vruntime tracking").

The combination of yield and that commit was specific enough to
hypothesize the following scenario:

Suppose we have 2 runnable tasks, both doing yield. Then one will be
eligible and one will not be, because the average position must be in
between these two entities.

Therefore, the runnable task will be eligible, and be promoted a full
slice (all the tasks do is yield after all). This causes it to jump over
the other task and now the other task is eligible and current is no
longer. So we schedule.

Since we are runnable, there is no {de,en}queue. All we have is the
__{en,de}queue_entity() from {put_prev,set_next}_task(). But per the
fingered commit, those two no longer move zero_vruntime.

All that moves zero_vruntime are tick and full {de,en}queue.

This means, that if the two tasks playing leapfrog can reach the
critical speed to reach the overflow point inside one tick's worth of
time, we're up a creek.

Additionally, when multiple cgroups are involved, there is no guarantee
the tick will in fact hit every cgroup in a timely manner. Statistically
speaking it will, but that same statistics does not rule out the
possibility of one cgroup not getting a tick for a significant amount of
time -- however unlikely.

Therefore, just like with the yield() case, force an update at the end
of every slice. This ensures the update is never more than a single
slice behind and the whole thing is within 2 lag bounds as per the
comment on entity_key().
Published: 2026-05-08
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Based on the description, it is inferred that the buggy logic can be triggered by workloads that repeatedly call yield. In the Linux kernel’s fair scheduler, the zero_vruntime counter is tracked incorrectly when two tasks that continually yield race to schedule. The evaluator’s analysis shows that the buggy logic can cause one task to be repeatedly given a full timeslice while the other is repeatedly skipped, which may lead to processor starvation or erratic CPU allocation. This defect is a logic error that could overflow the counter locally during a tick, potentially allowing a local user to force undesirable scheduling behavior.

Affected Systems

All Linux kernel builds that contain the buggy scheduler code before the fix—specifically the code path introduced in commit b3d99f43c72b—are potentially affected. Systems running a kernel version that does not include this patch, regardless of other configuration, fall into the impacted set.

Risk and Exploitability

Based on the description, it is inferred that the likely attack vector is local, involving a process that repeatedly issues yield calls. The CVSS score of 5.5 reflects moderate severity, and the EPSS score of less than 1% suggests a low current exploitation probability. The flaw is likely to be exploited via a local attack with the ability to spawn workload that aggressively yields, such as a user process or a privileged program. It is not listed in the CISA KEV catalog. Because the problem stems from scheduler logic, remote exploitation is unlikely; however, heavy cgroup isolation may exacerbate the effect if certain groups do not receive timely ticks.

Generated by OpenCVE AI on May 16, 2026 at 01:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the zero_vruntime tracking fix (apply the patch associated with commit b3d99f43c72b).
  • If an immediate kernel update is unavailable, revert to the last kernel version prior to the faulty commit.
  • Avoid close–to–maximum yielding workload patterns until a patched kernel is installed, and monitor task scheduling metrics for abnormal CPU allocation.

Generated by OpenCVE AI on May 16, 2026 at 01:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 16 May 2026 00:15:00 +0000


Fri, 15 May 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Fri, 15 May 2026 18:15:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Fri, 08 May 2026 19:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-682

Fri, 08 May 2026 14:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: sched/fair: Fix zero_vruntime tracking fix John reported that stress-ng-yield could make his machine unhappy and managed to bisect it to commit b3d99f43c72b ("sched/fair: Fix zero_vruntime tracking"). The combination of yield and that commit was specific enough to hypothesize the following scenario: Suppose we have 2 runnable tasks, both doing yield. Then one will be eligible and one will not be, because the average position must be in between these two entities. Therefore, the runnable task will be eligible, and be promoted a full slice (all the tasks do is yield after all). This causes it to jump over the other task and now the other task is eligible and current is no longer. So we schedule. Since we are runnable, there is no {de,en}queue. All we have is the __{en,de}queue_entity() from {put_prev,set_next}_task(). But per the fingered commit, those two no longer move zero_vruntime. All that moves zero_vruntime are tick and full {de,en}queue. This means, that if the two tasks playing leapfrog can reach the critical speed to reach the overflow point inside one tick's worth of time, we're up a creek. Additionally, when multiple cgroups are involved, there is no guarantee the tick will in fact hit every cgroup in a timely manner. Statistically speaking it will, but that same statistics does not rule out the possibility of one cgroup not getting a tick for a significant amount of time -- however unlikely. Therefore, just like with the yield() case, force an update at the end of every slice. This ensures the update is never more than a single slice behind and the whole thing is within 2 lag bounds as per the comment on entity_key().
Title sched/fair: Fix zero_vruntime tracking fix
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:22:20.507Z

Reserved: 2026-05-01T14:12:56.001Z

Link: CVE-2026-43323

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-08T14:16:40.947

Modified: 2026-05-15T18:14:51.000

Link: CVE-2026-43323

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-08T00:00:00Z

Links: CVE-2026-43323 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-16T02:00:12Z

Weaknesses