CVE-2026-100020: sched_ext: Reset runnable_at when a task leaves its scheduler

Published Nov 30, 2026
·
Updated

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

schedext: Reset runnableat when a task leaves its scheduler

The watchdog measures how long a task has been waiting from p->scx.runnableat, which settaskrunnable() resets when the task becomes runnable after it last ran. opsdequeue() 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 SCHEDEXT while it's waiting keeps its runnableat. 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:

schedext: classswitchstall: runner[418] failed to run for 3.010s

Here, the task waited for a few milliseconds before it was switched to SCHEDOTHER, slept outside of SCHEDEXT for three seconds, and was charged for all of it as soon as it woke up on SCHEDEXT again.

The same happens when scxsubenableworkfn() hands a waiting task over to a new sub-scheduler, which can then be blamed for time the task waited under the parent. scxrehometask() isn't affected, as it moves the task through SCXTASKINIT, which resets runnableat. The stale runnableat also skews the default core-sched ordering in scxprioless().

Reset runnableat in scxdisabletask(), when the task leaves the control of its scheduler.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this condition?

Systems using sched_ext are affected when a task is waiting and leaves SCHED_EXT, then later returns and becomes runnable. The issue can also occur when a waiting task is handed to a new sub-scheduler by scx_sub_enable_workfn().

2

What operational impact should administrators expect?

The sched_ext watchdog can incorrectly include time the task spent outside SCHED_EXT in its wait time. If the watchdog checks before the task runs, it can abort the scheduler with a class_switch_stall message.

3

How can this be recognized in logs?

Affected systems may report a sched_ext class_switch_stall indicating that a task failed to run for roughly the watchdog timeout period, such as "sched_ext: class_switch_stall: runner[418] failed to run for 3.010s". This can follow a task being switched to another scheduling class, sleeping there, and then waking under SCHED_EXT.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203