CVE-2026-99269: sched_ext: Wait for SCX_OPSS_DISPATCHING before moving tasks off DSQs
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
sched_ext: Wait for SCX_OPSS_DISPATCHING before moving tasks off DSQs
A task can be found on a non-local DSQ while the CPU which dispatched it is still running ops.dequeue() and hasn't cleared SCX_OPSS_DISPATCHING. The DSQ consume and move paths don't wait for the dispatch to finish and can operate on the task concurrently with the dispatcher.
Call scx_wait_dispatching() in scx_move_local_task_to_local_dsq(), unlink_dsq_and_switch_rq_lock() and move_task_between_dsqs() before they operate on the task. In scx_move_local_task_to_local_dsq(), wait before scx_resolve_local_dsq() as it may update p->scx.flags.
The Linux kernel CVE team has assigned CVE-2026-99269 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.1 with commit ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d and fixed in 7.2.14 with commit cc2839946328c1618b3870d521b32bb9483d49d0 Issue introduced in 7.1 with commit ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d and fixed in 7.3 with commit 2935062be77113c1c4565ca9d0c72180449aafee
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99269
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
kernel/sched/ext/ext.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/cc2839946328c1618b3870d521b32bb9483d49d0 https://git.kernel.org/stable/c/2935062be77113c1c4565ca9d0c72180449aafee