sched_ext: Reset runnable_at when a task leaves its scheduler
Summary
| CVE | CVE-2026-100020 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:17 UTC |
| Updated | 2026-11-30 14:17:17 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
sched_ext: Reset runnable_at when a task leaves its scheduler
The watchdog measures how long a task has been waiting from
p->scx.runnable_at, which set_task_runnable() resets when the task becomes
runnable after it last ran. ops_dequeue() never asks for a reset, as the
dequeue of a waiting task is temporary, e.g. for a migration or an
attribute change.
Leaving the scheduler isn't temporary. A task which is switched out of
SCHED_EXT while it's waiting keeps its runnable_at. When it's switched back
and becomes runnable, its wait appears to have started before it left, and
the time it spent in another class counts towards the timeout. If the
watchdog checks before the task runs, it aborts the scheduler:
sched_ext: class_switch_stall: runner[418] failed to run for 3.010s
Here, the task waited for a few milliseconds before it was switched to
SCHED_OTHER, slept outside of SCHED_EXT for three seconds, and was charged
for all of it as soon as it woke up on SCHED_EXT again.
The same happens when scx_sub_enable_workfn() hands a waiting task over to
a new sub-scheduler, which can then be blamed for time the task waited
under the parent. scx_rehome_task() isn't affected, as it moves the task
through SCX_TASK_INIT, which resets runnable_at. The stale runnable_at also
skews the default core-sched ordering in scx_prio_less().
Reset runnable_at in scx_disable_task(), when the task leaves the control
of its scheduler. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 8a010b81b3a50b033fc3cddc613517abda586cbe 9620287d0b8526a4cda8d8f7e56d904cabd3cd8d git |
Not specified |
| CNA |
Linux |
Linux |
affected 8a010b81b3a50b033fc3cddc613517abda586cbe f8ecabfe21d42d94169e9e92b538ad8139ce94a1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8a010b81b3a50b033fc3cddc613517abda586cbe 73f7fd0f75dd9f37063377a29a6f33250e921dd7 git |
Not specified |
| CNA |
Linux |
Linux |
affected 8a010b81b3a50b033fc3cddc613517abda586cbe 993e8fbfecbbf284b9644c6f10741b28fb914094 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.12 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.118 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.64 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/f8ecabfe21d42d94169e9e92b538ad8139ce94a1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9620287d0b8526a4cda8d8f7e56d904cabd3cd8d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/73f7fd0f75dd9f37063377a29a6f33250e921dd7 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/993e8fbfecbbf284b9644c6f10741b28fb914094 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.