CVE-2026-98864

Source
https://cve.org/CVERecord?id=CVE-2026-98864
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98864.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98864
Downstream
Published
2026-10-18T15:51:25Z
Modified
2026-10-19T02:47:37Z
Summary
sched_ext: Wait for SCX_OPSS_DISPATCHING before reenqueueing a task
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98864.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d
Fixed
43457bf6550044c40bd6d3fcdf9ea66f5a55d139
Fixed
7de9a6fb44eae4f05e68c805d58b9c618815adfa

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98864.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
7.1.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98864.json"