CVE-2026-89520
massLinux Kernel Core-Scheduling Lock Race Enables Local Privilege Escalation
The Linux kernel's core-scheduling subsystem contains a race condition where __sched_core_flip() can rebind runqueue locks while pick_next_task() is mid-selection on SMT siblings, because a ->pick_task() implementation that temporarily drops the rq lock leaves the shared core-wide lock momentarily free. When this happens, the scheduler resumes the selection on the now-split locks, touches sibling runqueue state it no longer protects, and __schedule() ultimately releases a lock it never acquired while leaking the one it did hold, corrupting locking state in the kernel. An attacker with existing local, low-privilege code execution on an affected system can race the core-sched flip (a rare cookie-lifetime or CPU-hotplug event) against task selection to trigger memory corruption, with high impact on confidentiality, integrity, and availability — realistically a kernel privilege escalation or crash (CVSS 7.8). Systems running kernels built with core scheduling (CONFIG_SCHED_CORE) and that exercise core-sched cookies are affected. The flaw is fixed upstream in the kernel's sched/core code, and there is no public proof of concept and no evidence of in-the-wild exploitation.
What to do: Patch to a kernel release or distro package that carries this sched/core fix (track the upstream commit and its stable-branch backports). If patching is delayed, minimize risk by avoiding core-scheduling usage (not creating PR_SCHED_CORE cookies) where feasible and restricting local unprivileged code execution on multi-tenant SMT hosts. Verify whether your kernel is built with CONFIG_SCHED_CORE and whether any workload or hypervisor feature uses core-sched cookies to gauge real exposure.
| Linux kernel | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
In the Linux kernel, the following vulnerability has been resolved: sched/core: Make core-sched flips wait for in-flight selections Core scheduling's pick_next_task() operates on all sibling rqs under one acquisition of the shared core-wide lock. A ->pick_task() that releases the rq lock leaves every sibling __lock momentarily free, letting __sched_core_flip(false) complete mid-selection and rebind rq_lockp() under it. The selection resumes on the split locks, touching sibling state it no longer protects, and __schedule() finally releases a lock that was never taken while leaking the one that was. Count in-flight core-wide selections in the leader's rq->core_pick_in_flight and make __sched_core_flip() wait for the count to drain. The count only changes under the shared lock, which the flip holds while sampling, so no other ordering is needed. The wait can repeat while selections overlap, but the flip backs off between samples and flips are rare cookie-lifetime events. sched_core_cpu_deactivate() moves the count to the new leader - a stale copy left behind would bias it forever if that CPU later returns as its own leader.
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
In the news0 stories
No ingested article mentions this CVE yet.