CVE-2026-139172
not scored yetsched_ext: Fix a lone IMMED task waiting behind a kept prev
In the Linux kernel, the following vulnerability has been resolved:
sched_ext: Fix a lone IMMED task waiting behind a kept prev
While dispatch is in progress, rq_is_open() returns true and dsq_inc_nr()
schedules no reenqueue for an IMMED task inserted on an empty local DSQ. The
check at the end of dispatch_one() schedules the reenqueue only when more
than one task is queued, so a dispatch that keeps prev leaves a lone IMMED
task behind:
- a parent's ops.dispatch() sub-dispatches into a child, which consumes a
task with SCX_ENQ_IMMED onto the empty local DSQ - the parent extends prev's slice and dispatch keeps prev
- the local DSQ holds one task, so no reenqueue is scheduled
The IMMED task waits on the local DSQ behind prev.
Schedule the reenqueue when dispatch keeps prev and an IMMED task is queued,
as even a lone IMMED task can't run right away behind prev.
v2: The description and dispatch_one()'s comment are reworded.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 98d709cba3193f0bec54da4cd76ef499ea2f1ef7, < e8c369a46f591bcfb82395adecca9db9accae5d1; >= 98d709cba3193f0bec54da4cd76ef499ea2f1ef7, < 5173b2965834ad71d8c9035048354dce7c391125 | e8c369a46f591bcfb82395adecca9db9accae5d1, 5173b2965834ad71d8c9035048354dce7c391125 |
| CVE List | Linux | Linux | = 7.1 |
References
- https://git.kernel.org/stable/c/5173b2965834ad71d8c9035048354dce7c391125
- https://git.kernel.org/stable/c/e8c369a46f591bcfb82395adecca9db9accae5d1
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)