CVE-2026-139509 sched_ext: Clear a sub-scheduler's caps before ops.sub_detach()

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-139509?

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

Official description

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

sched_ext: Clear a sub-scheduler's caps before ops.sub_detach()

A sub-scheduler can leave standing state behind on the cids delegated to it, cpuperf targets being the obvious case, and the kernel does not track who wrote it. Restoring it is the parent's job and ops.sub_detach() is the place for it. Today the parent can't rely on that: the dying sub-scheduler keeps every cap until it is marked dead after ops.exit(), so its ops.exit() or a late timer can write after the parent has cleaned up.

Clear every cap of the sub-scheduler before ops.sub_detach(). The pshard caps go first as a pending sync recomputes ecaps from them, and ecaps are then zeroed directly. A grant racing the clear is refused under the child's pshard lock, so nothing hands the caps back.

Which versions are affected by CVE-2026-139509?

How do I fix CVE-2026-139509?

Upgrade to a fixed version.

Is CVE-2026-139509 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-139509, GHSA-p4ww-j387-xx57, UBUNTU-CVE-2026-139509.

Is CVE-2026-139509 in your software?

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

Check your SBOMs for free