CVE-2026-143259

Source
https://cve.org/CVERecord?id=CVE-2026-143259
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143259.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143259
Downstream
Published
2026-12-03T09:21:05Z
Modified
2026-12-03T11:01:51Z
Summary
sched/deadline: Fix this_bw on class change of a dying task
Details

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

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

Moving a SCHED_DEADLINE task out of the class with sched_setscheduler(2) after it stored TASK_DEAD in do_task_dead(), but before __schedule() dequeued it, subtracts its bandwidth from the runqueue's this_bw twice. this_bw then stays short until reboot: __sub_rq_bw() warns about the underflow or about running_bw > this_bw, and GRUB reclaim for SCHED_FLAG_RECLAIM tasks on that CPU is miscomputed.

The class change dequeues the still queued task with DEQUEUE_SAVE, which removes its bandwidth from running_bw and this_bw. switched_from_dl() then calls task_non_contending(), which, if the 0-lag time has passed, removes it from this_bw again because the task is TASK_DEAD. That removal is meant for the dying task's own DEQUEUE_SLEEP dequeue, which has removed nothing before it.

Do the TASK_DEAD removal only on that dequeue path.

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

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143259.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8fd27231c3302e0c7e1907df1252db97b65eb241
Fixed
40e644b33189a8a592e6f3cb6518867a53099b29
Fixed
0c93e25ef11a9dee43f6076bd1f09771dc2b167e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143259.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.13.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143259.json"