CVE-2026-139172

sched_ext: Fix a lone IMMED task waiting behind a kept prev

Published Nov 30, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

sched_ext: Fix a lone IMMED task waiting behind a kept prev

While dispatch is in progress, rq_is_open() returns true and dsq_inc_nr()
schedules no reenqueue for an IMMED task inserted on an empty local DSQ. The
check at the end of dispatch_one() schedules the reenqueue only when more
than one task is queued, so a dispatch that keeps prev leaves a lone IMMED
task behind:

1. a parent's ops.dispatch() sub-dispatches into a child, which consumes a
task with SCX_ENQ_IMMED onto the empty local DSQ
2. the parent extends prev's slice and dispatch keeps prev
3. the local DSQ holds one task, so no reenqueue is scheduled

The IMMED task waits on the local DSQ behind prev.

Schedule the reenqueue when dispatch keeps prev and an IMMED task is queued,
as even a lone IMMED task can't run right away behind prev.

v2: The description and dispatch_one()'s comment are reworded.

Analysis

AI-generated

Technical impact

This defect occurs when the Linux kernel scheduler fails to re‑enqueue a task marked IMMED during dispatch. Because the queue checks only after more than one task is queued, a lone IMMED task can remain behind the previous task and never be scheduled, potentially causing it to starve. The consequence is that a critical process or thread may never run, leading to degraded performance or a denial of service condition. The weakness is a logic error in the scheduling code that mishandles task state transitions.

Affected Systems

The vulnerability affects all Linux kernels that contain the scheduling logic before the commits that implement the fix (cited in the provided references). It applies to all distributions that ship those kernel versions. No specific product names or major versions are listed in the data, but any system running a kernel before the patch is potentially impacted.

Risk and Exploitability

The EPSS score of < 1% reveals a very low probability that this flaw will currently be exploited, and the vulnerability is not listed in the CISA KEV catalog, indicating no confirmed exploitation activity to date. Given that the flaw lies within the kernel scheduler, an attacker would require local system access and would need to craft a scenario in which a child task is dispatched with the IMMED flag while the parent keeps its previous time slice. The bug can lead to a lone IMMED task being left behind a running predecessor and never being scheduled, which would cause the task to starve and could result in denial of service for services depending on that task. Due to the absence of a publicly available CVSS score, the risk is judged moderate, balancing the potential for service disruption against the limited attack surface.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the system to a kernel version that includes the scheduler fix, such as the commit sequence referenced in the advisory.
  • Reboot the machine after the kernel is installed to activate the new scheduler code.
  • Monitor task scheduling behavior for symptoms of task starvation and adjust process priorities if issues persist.

Generated by OpenCVE AI on December 1, 2026 at 22:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-821
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-770
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-770
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix a lone IMMED task waiting behind a kept prev While dispatch is in progress, rq_is_open() returns true and dsq_inc_nr() schedules no reenqueue for an IMMED task inserted on an empty local DSQ. The check at the end of dispatch_one() schedules the reenqueue only when more than one task is queued, so a dispatch that keeps prev leaves a lone IMMED task behind: 1. a parent's ops.dispatch() sub-dispatches into a child, which consumes a task with SCX_ENQ_IMMED onto the empty local DSQ 2. the parent extends prev's slice and dispatch keeps prev 3. the local DSQ holds one task, so no reenqueue is scheduled The IMMED task waits on the local DSQ behind prev. Schedule the reenqueue when dispatch keeps prev and an IMMED task is queued, as even a lone IMMED task can't run right away behind prev. v2: The description and dispatch_one()'s comment are reworded.
Title sched_ext: Fix a lone IMMED task waiting behind a kept prev
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-821

    Incorrect Synchronization

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Low
Public date
Nov 30, 2026, 1:32 PM