{"id":"CVE-2026-98864","aliases":["CVE-2026-98864"],"related":[],"kind":"vulnerability","state":"published","title":"sched_ext: Wait for SCX_OPSS_DISPATCHING before reenqueueing a task","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Wait for SCX_OPSS_DISPATCHING before reenqueueing a task\n\nebf1ccff79c4 (\"sched_ext: Fix ops.dequeue() semantics\") moved the final\nops_state store in scx_dispatch_enqueue() after the DSQ unlock so that the\ncustody update and ops.dequeue() precede it. A task can thus be found on a\nDSQ while still SCX_OPSS_DISPATCHING.\n\nThe dequeue and core-sched pick paths wait for the state to clear in\nops_dequeue() but the reenqueue paths don't. A reenqueue in that window runs\nops.enqueue() and sets SCX_OPSS_QUEUED before the dispatch has completed.\nThe dispatcher's final store then overwrites it with SCX_OPSS_NONE and\nfinish_dispatch() drops every later dispatch of the task.\n\nWait for SCX_OPSS_DISPATCHING to clear before dequeueing a task for\nreenqueue, the same way ops_dequeue() does.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched_ext: Wait for SCX_OPSS_DISPATCHING before reenqueueing a task\n\nebf1ccff79c4 (\"sched_ext: Fix ops.dequeue() semantics\") moved the final\nops_state store in scx_dispatch_enqueue() after the DSQ unlock so that the\ncustody update and ops.dequeue() precede it. A task can thus be found on a\nDSQ while still SCX_OPSS_DISPATCHING.\n\nThe dequeue and core-sched pick paths wait for the state to clear in\nops_dequeue() but the reenqueue paths don't. A reenqueue in that window runs\nops.enqueue() and sets SCX_OPSS_QUEUED before the dispatch has completed.\nThe dispatcher's final store then overwrites it with SCX_OPSS_NONE and\nfinish_dispatch() drops every later dispatch of the task.\n\nWait for SCX_OPSS_DISPATCHING to clear before dequeueing a task for\nreenqueue, the same way ops_dequeue() does.","source":"cvelist"}],"published":"2026-10-18T15:51:25.532Z","modified":"2026-10-19T10:19:50.473Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d","fixed":"43457bf6550044c40bd6d3fcdf9ea66f5a55d139","status":"affected"},{"type":"git","introduced":"ebf1ccff79c43f860cbd2f9d6cfab9a462d0cb2d","fixed":"7de9a6fb44eae4f05e68c805d58b9c618815adfa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/43457bf6550044c40bd6d3fcdf9ea66f5a55d139","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7de9a6fb44eae4f05e68c805d58b9c618815adfa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98864","url":"https://www.cve.org/CVERecord?id=CVE-2026-98864","licence":"CVE Terms of Use","modified":"2026-10-19T09:26:58.668Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98864","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98864","licence":"Public domain","modified":"2026-10-19T10:19:50.473Z"}],"updatedAt":"2026-11-25T22:59:45.330Z","epss":{"score":0.00159,"percentile":0.05293,"date":"2026-12-01T12:00:22.000Z"}}