# CVE-2026-98864: sched_ext: Wait for SCX_OPSS_DISPATCHING before reenqueueing a task

- Severity: not scored yet
- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-18T15:51:25.532Z
- Modified: 2026-10-19T10:19:50.473Z
- Assigned by: Linux

## Description

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

sched_ext: Wait for SCX_OPSS_DISPATCHING before reenqueueing a task

ebf1ccff79c4 ("sched_ext: Fix ops.dequeue() semantics") moved the final
ops_state store in scx_dispatch_enqueue() after the DSQ unlock so that the
custody update and ops.dequeue() precede it. A task can thus be found on a
DSQ while still SCX_OPSS_DISPATCHING.

The dequeue and core-sched pick paths wait for the state to clear in
ops_dequeue() but the reenqueue paths don't. A reenqueue in that window runs
ops.enqueue() and sets SCX_OPSS_QUEUED before the dispatch has completed.
The dispatcher's final store then overwrites it with SCX_OPSS_NONE and
finish_dispatch() drops every later dispatch of the task.

Wait for SCX_OPSS_DISPATCHING to clear before dequeueing a task for
reenqueue, the same way ops_dequeue() does.

(As written by CVE List.)

## Affected

- Linux Linux: from ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d before 43457bf6550044c40bd6d3fcdf9ea66f5a55d139; from ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d before 7de9a6fb44eae4f05e68c805d58b9c618815adfa; 7.1 (not affected: before 7.1; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/43457bf6550044c40bd6d3fcdf9ea66f5a55d139>
- <https://git.kernel.org/stable/c/7de9a6fb44eae4f05e68c805d58b9c618815adfa>

## Sources

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

---

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