{"api_version":"1","generated_at":"2026-12-04T05:10:10+00:00","cve":"CVE-2026-143259","urls":{"html":"https://cve.report/CVE-2026-143259","api":"https://cve.report/api/cve/CVE-2026-143259.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143259","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143259"},"summary":{"title":"sched/deadline: Fix this_bw on class change of a dying task","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:06","updated_at":"2026-12-03 10:18:06"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0c93e25ef11a9dee43f6076bd1f09771dc2b167e","name":"https://git.kernel.org/stable/c/0c93e25ef11a9dee43f6076bd1f09771dc2b167e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/40e644b33189a8a592e6f3cb6518867a53099b29","name":"https://git.kernel.org/stable/c/40e644b33189a8a592e6f3cb6518867a53099b29","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143259","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143259","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8fd27231c3302e0c7e1907df1252db97b65eb241 40e644b33189a8a592e6f3cb6518867a53099b29 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8fd27231c3302e0c7e1907df1252db97b65eb241 0c93e25ef11a9dee43f6076bd1f09771dc2b167e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143259","cve":"CVE-2026-143259","epss":"0.001980000","percentile":"0.099560000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/sched/deadline.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"40e644b33189a8a592e6f3cb6518867a53099b29","status":"affected","version":"8fd27231c3302e0c7e1907df1252db97b65eb241","versionType":"git"},{"lessThan":"0c93e25ef11a9dee43f6076bd1f09771dc2b167e","status":"affected","version":"8fd27231c3302e0c7e1907df1252db97b65eb241","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/sched/deadline.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.13"},{"lessThan":"4.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"4.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"4.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:21:05.348Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/40e644b33189a8a592e6f3cb6518867a53099b29"},{"url":"https://git.kernel.org/stable/c/0c93e25ef11a9dee43f6076bd1f09771dc2b167e"}],"title":"sched/deadline: Fix this_bw on class change of a dying task","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143259","datePublished":"2026-12-03T09:21:05.348Z","dateReserved":"2026-12-03T03:10:28.363Z","dateUpdated":"2026-12-03T09:21:05.348Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:06","lastModifiedDate":"2026-12-03 10:18:06","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143259","Ordinal":"1","Title":"sched/deadline: Fix this_bw on class change of a dying task","CVE":"CVE-2026-143259","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143259","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"sched/deadline: Fix this_bw on class change of a dying task"}]}}}