# CVE-2026-89517: sched\_ext: Fix rq-\>core\_pick corruption under core scheduling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **Published:** 2026-09-11T19:44:00.576Z
- **Modified:** 2026-10-19T09:17:46.147Z

## Who should check

- Anyone running Linux \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< cdafb68155bee2d5c4e50c12e4606323e9334e6b; \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< d954004205c1a1d3f59ce8482b559266c15600fa
- Anyone running Linux 6.19

## Description

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

sched\_ext: Fix rq-\>core\_pick corruption under core scheduling

Core scheduling's pick\_next\_task() picks what to run on every SMT sibling of
the core in a single pass under the shared core-wide rq lock. The selection
state is consistent only while the lock is held continuously, so
-\>pick\_task() originally could not release it. However, since 4c95380701f5
("sched/ext: Fold balance\_scx() into pick\_task\_scx()"), sched\_ext runs
dispatch from inside the pick and dispatching can drop the rq lock. To
support this, pick\_next\_task() has been updated to restart the whole
selection when a pick returns RETRY\_TASK after releasing the lock.

When selections on the same core interleave through the dropped lock, they
corrupt each other's state: one clears the other's rq-\>core\_pick leading to
a NULL deref, or invalidates its keep-the-previous-task decision leaving a
dequeued task running, which deadlocks the next wakeup and matches the
reported hard hangs. A cookied ping-pong load on an SMT machine makes the
interleavings frequent and kills the kernel within seconds.

Fix it by making the pick return RETRY\_TASK whenever dispatch released the
rq lock, so that a selection only ever commits picks made under a
continuously held lock. The previous patch's rq-\>scx.lock\_drop\_seq counts
the releases. A dispatch that touched nothing never releases the lock and
its verdict, including "nothing to run", stands: retries are bounded, each
following a dispatch that actually did something, and an idle CPU does not
loop.

If another dispatch is already in flight on the rq, skip dispatching and
pick from what is already queued locally - the in-flight dispatch has
released the lock, so its own selection will retry and re-pick this rq,
while returning RETRY\_TASK here would only spin on the lock that dispatch
needs to finish.

Balance callbacks must run in the context that queued them, so they can only
be queued on the CPU's own rq. When dispatching for another rq, run the
deferred work directly instead - that rq may consume all its picks through
the core-sched fast path and never queue the callback itself.

The put\_prev\_task\_scx() warning about a runnable task being left behind
assumed that dispatch ran as part of the very pick that is switching away.
That now only holds on the non-core path, so gate it and drop the
cookie-match test, which is always true without core scheduling, from its
condition.

## Affected and fixed versions

- Linux: \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< cdafb68155bee2d5c4e50c12e4606323e9334e6b; \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< d954004205c1a1d3f59ce8482b559266c15600fa (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89517. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89517.md
Affected: Linux >= 4c95380701f58b8112f0b891de8d160e4199e19d, < cdafb68155bee2d5c4e50c12e4606323e9334e6b; >= 4c95380701f58b8112f0b891de8d160e4199e19d, < d954004205c1a1d3f59ce8482b559266c15600fa; Linux 6.19
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89517 being exploited?

There is no confirmed exploitation: CVE-2026-89517 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-89517?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89517?

Linux \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< cdafb68155bee2d5c4e50c12e4606323e9334e6b; \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< d954004205c1a1d3f59ce8482b559266c15600fa; Linux 6.19.

### Is there a fix for CVE-2026-89517?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89517?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/cdafb68155bee2d5c4e50c12e4606323e9334e6b>
- other: <https://git.kernel.org/stable/c/d954004205c1a1d3f59ce8482b559266c15600fa>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89517>

HTML: <https://flawdb.com/CVE-2026-89517> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89517>
