CVE-2026-143259: sched/deadline: Fix this_bw on class change of a dying task

Published Dec 3, 2026
·
Updated

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

sched/deadline: Fix thisbw on class change of a dying task

Moving a SCHEDDEADLINE task out of the class with schedsetscheduler(2) after it stored TASKDEAD in dotaskdead(), but before schedule() dequeued it, subtracts its bandwidth from the runqueue's thisbw twice. thisbw then stays short until reboot: subrqbw() warns about the underflow or about runningbw > thisbw, and GRUB reclaim for SCHEDFLAGRECLAIM tasks on that CPU is miscomputed.

The class change dequeues the still queued task with DEQUEUESAVE, which removes its bandwidth from runningbw and thisbw. switchedfromdl() then calls tasknoncontending(), which, if the 0-lag time has passed, removes it from thisbw again because the task is TASKDEAD. That removal is meant for the dying task's own DEQUEUESLEEP dequeue, which has removed nothing before it.

Do the TASKDEAD removal only on that dequeue path.

Reproduced under QEMU on x8664 and riscv64 by moving exiting deadline tasks to SCHEDOTHER in a loop; with this patch there is no warning.

Affected Software

2 affected componentsFixes available
Linux Linux kernel
linux/kernel>=4.13.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch sched/deadline: Fix this_bw on class change of a dying task

Event History

Dec 3, 2026
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Data Sourced
via OSV·09:21 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

A SCHED_DEADLINE task must be exiting and have entered TASK_DEAD, then be moved to another scheduling class with sched_setscheduler(2) before __schedule() dequeues it. The issue was reproduced by repeatedly moving exiting deadline tasks to SCHED_OTHER.

2

What is the operational impact if the issue is triggered?

The affected CPU runqueue's this_bw accounting can be reduced twice and remain incorrect until reboot. This can produce scheduler warnings about bandwidth underflow or running_bw exceeding this_bw, and can miscompute GRUB reclaim for SCHED_FLAG_RECLAIM tasks on that CPU.

3

Which systems are most likely exposed?

Systems using SCHED_DEADLINE tasks are relevant, particularly where tasks may be changed to another scheduler class while exiting. The described impact is per CPU runqueue, so the incorrect accounting affects the CPU on which the triggering task runs.

4

What can be done if patching is not immediately possible?

Avoid changing an exiting TASK_DEAD SCHED_DEADLINE task to another scheduling class with sched_setscheduler(2). A reboot clears the persisted incorrect this_bw accounting after the issue has occurred.

5

How can administrators identify that the issue has occurred?

Kernel scheduler warnings from __sub_rq_bw() may report a bandwidth underflow or running_bw greater than this_bw. Incorrect GRUB reclaim behavior for SCHED_FLAG_RECLAIM tasks on a CPU is another indicated consequence.

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