CVE-2026-139172 sched_ext: Fix a lone IMMED task waiting behind a kept prev

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139172?

CVE-2026-139172 is a vulnerability in Linux, published on 30 Nov 2026.

Official 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.

Which versions are affected by CVE-2026-139172?

How do I fix CVE-2026-139172?

Upgrade to a fixed version.

Is CVE-2026-139172 being exploited?

There is no known exploitation of CVE-2026-139172 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-139172, GHSA-86f3-v2hm-r575, UBUNTU-CVE-2026-139172.

Is CVE-2026-139172 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free