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

- Severity: High 7.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-09-11T19:44:03.257Z
- Modified: 2026-10-19T09:17:46.537Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 4c95380701f58b8112f0b891de8d160e4199e19d before 88ed5a66467ca2a5148b9997af9c71d8c43060ad; from 4c95380701f58b8112f0b891de8d160e4199e19d before c10b216a072ff5c57bc880a05f87eb519aecc529; 6.19 (not affected: before 6.19; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/88ed5a66467ca2a5148b9997af9c71d8c43060ad>
- <https://git.kernel.org/stable/c/c10b216a072ff5c57bc880a05f87eb519aecc529>

## Sources

- CVE List: [CVE-2026-89521](https://www.cve.org/CVERecord?id=CVE-2026-89521), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89521](https://nvd.nist.gov/vuln/detail/CVE-2026-89521), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89521 · Whole record: https://cve.day/CVE-2026-89521.json · Rebuilt by cve.day 2026-11-25T22:59:38.051Z
