# CVE-2026-89521: sched/core: Handle pick\_task() releasing the rq lock

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

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-28)
- **Published:** 2026-09-11T19:44:03.257Z
- **Modified:** 2026-10-19T09:17:46.537Z

## Who should check

- Anyone running Linux \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< 88ed5a66467ca2a5148b9997af9c71d8c43060ad; \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< c10b216a072ff5c57bc880a05f87eb519aecc529
- Anyone running Linux 6.19

## Description

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

sched/core: Handle pick\_task() releasing the rq lock

Core scheduling's pick\_next\_task() breaks when a -\>pick\_task()
implementation can release the rq lock. The selection state derived on entry
is only valid while the lock is held continuously. Once a pick can drop the
lock, an interleaving selection can invalidate all of it: the single-CPU
fast path can commit an uncookied pick although the core went cookied during
the release, and forceidle committed by the interleaving selection skews the
restarted pass's accounting.

Fix it by restarting the whole selection when a pick returns RETRY\_TASK
after releasing the lock: a single restart point above the state derivation
replaces the per-loop restart labels, so a retry picks up state committed by
interleaving selections and accounts and resets forceidle like a fresh
selection would.

need\_sync and fi\_before latch across retries. Clock validity can't be
re-derived - there is no program-ordered way to tell whether the own and
core rq clocks are still updated after the lock was released, as other
lockers' pin cycles may or may not have invalidated them. When restarting,
clear core\_clock\_updated so that the sibling loop re-updates the core rq,
and update the own rq clock if invalidated.

## Affected and fixed versions

- Linux: \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< 88ed5a66467ca2a5148b9997af9c71d8c43060ad; \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< c10b216a072ff5c57bc880a05f87eb519aecc529 (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-89521. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89521.md
Affected: Linux >= 4c95380701f58b8112f0b891de8d160e4199e19d, < 88ed5a66467ca2a5148b9997af9c71d8c43060ad; >= 4c95380701f58b8112f0b891de8d160e4199e19d, < c10b216a072ff5c57bc880a05f87eb519aecc529; Linux 6.19
Fixed in: Linux 88ed5a66467ca2a5148b9997af9c71d8c43060ad

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-89521 being exploited?

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

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

High: CVSS 7.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< 88ed5a66467ca2a5148b9997af9c71d8c43060ad; \>= 4c95380701f58b8112f0b891de8d160e4199e19d, \< c10b216a072ff5c57bc880a05f87eb519aecc529; Linux 6.19.

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

Yes. Fixed in Linux 88ed5a66467ca2a5148b9997af9c71d8c43060ad. No fix listed yet: follow the vendor advisory.

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

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/88ed5a66467ca2a5148b9997af9c71d8c43060ad>
- other: <https://git.kernel.org/stable/c/c10b216a072ff5c57bc880a05f87eb519aecc529>

## 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-89521>

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