{"id":"CVE-2026-143259","published":"2026-12-03T09:21:05Z","modified":"2026-12-03T09:21:05Z","title":"sched/deadline: Fix this_bw on class change of a dying task","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsched/deadline: Fix this_bw on class change of a dying task\n\nMoving a SCHED_DEADLINE task out of the class with sched_setscheduler(2)\nafter it stored TASK_DEAD in do_task_dead(), but before __schedule()\ndequeued it, subtracts its bandwidth from the runqueue's this_bw twice.\nthis_bw then stays short until reboot: __sub_rq_bw() warns about the\nunderflow or about running_bw > this_bw, and GRUB reclaim for\nSCHED_FLAG_RECLAIM tasks on that CPU is miscomputed.\n\nThe class change dequeues the still queued task with DEQUEUE_SAVE, which\nremoves its bandwidth from running_bw and this_bw. switched_from_dl()\nthen calls task_non_contending(), which, if the 0-lag time has passed,\nremoves it from this_bw again because the task is TASK_DEAD. That\nremoval is meant for the dying task's own DEQUEUE_SLEEP dequeue, which\nhas removed nothing before it.\n\nDo the TASK_DEAD removal only on that dequeue path.\n\nReproduced under QEMU on x86_64 and riscv64 by moving exiting deadline\ntasks to SCHED_OTHER in a loop; with this patch there is no warning.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00156,"percentile":0.04928,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/40e644b33189a8a592e6f3cb6518867a53099b29","tags":[]},{"url":"https://git.kernel.org/stable/c/0c93e25ef11a9dee43f6076bd1f09771dc2b167e","tags":[]}],"priority":{"score":1.0,"factors":[{"name":"EPSS percentile","points":0.99}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8fd27231c3302e0c7e1907df1252db97b65eb241, < 40e644b33189a8a592e6f3cb6518867a53099b29",">= 8fd27231c3302e0c7e1907df1252db97b65eb241, < 0c93e25ef11a9dee43f6076bd1f09771dc2b167e"]},{"vendor":"Linux","product":"Linux","versions":["4.13"]}],"euvd":{"id":"EUVD-2026-142909","exploited":false,"provenance":"source"}}