Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154033; b=UmmCpswovKEBz9ZvunLIgoEgLCvHh/rDaS+H47SWNgpz+sA3DpMAz9hJa/1dUZgiNbkJ 2TbifT62/EStGZaYgOJfzcBv2u6eS81/Q2ovSNKQVGQA59gx4i2J1YpP7gsFccpHbn35a w8ulEsrAmsOw+/fBcVTuJkqilL4nL5ZCCu8RFOREzqx5fTMCjRn9ffuZly9g6RmA/OESb 8ZlrioeZpo0g8gpmKkE/TuJy/8OySAf+M1rVO9KwZMfY0h0N4bwka58NCVpqB8piHSYaQ CNb3WPs542keOhM0R9W1i4T3rD1FzQvKwiGmU6Dq+CfR2KfwWdypZQQ85K2rgPEI9BQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154033; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=SnM6WbIndF32wcNCMWXtbCI4IKiRkYLBSH7jxOol1Yg=; b=5QtBlBrloAWhCstC8Mi4NZgXj9H5ffaZ+IMuAMqC5aNzjYzuXrOTFZRMGoRUu85jU1mc 0xI9RuxWXTdXm5Deix5weJcp6Y0/SpcgLbFLNiXyCUCij7kGAXDLrC1ZOTsFN8ELgV+02 WHtgSu5/otEpS2tL9hjqJH/eCQwOXXqOi7go4q9VoEfF4I185ENASu2oWNNWUEd/rGH9v eVRGTQKm4I3TaNsIBRkYIDg55yBKWfh/PZJGZMphx5QfyorYRTEBZMvFBlvRq6O6ITlIQ rNoXg9zycMY9A/8ZTVIbOxkVPQjg/6Eua4uEkCkOjxZUrCF/8sI+oo3WS7cVF93cgeg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=d2so7Q7M; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2DD5606A325 for ; Fri, 20 Nov 2026 05:53:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=d2so7Q7M Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D5A21F000C6; Fri, 20 Nov 2026 05:53:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1795154033; bh=SnM6WbIndF32wcNCMWXtbCI4IKiRkYLBSH7jxOol1Yg=; h=From:To:Cc:Subject:Date:Reply-To; b=d2so7Q7MWB58ihbfHfkR3Nr8wO6OTIKDvFx7l93OTzwrnCFuIa15x1u5/JBMLF0U3 S7bVkzsTNf03YF1yoLI58Zo4J6lhl2WP2JfGozGhGkiwziadCt1fFtjwrBU/mgRdTd rT8RfEZtPX/HywuxpaA5ncafSezj0ZTZIk7r6B8k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99595: sched/fair: Clear throttle state when leaving the fair class Date: Fri, 20 Nov 2026 06:49:41 +0100 Message-ID: <2026112023-CVE-2026-99595-773f@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3503; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kq4z2KzKShFrjt91Vgj9rrwYvxfwgQnWKIKfC5BpDnM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFn/7yf3mSsZ7LnGz/BgZ3dWFPu7e2nXjUR2MlXbyz362 ZX3/uPqjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIwyGGeUqdAQKb1DUFdESd jTbNM/q0gkPqJ8P85HobgV8/P/r+7bBZrCy4UHnXhLhEAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: sched/fair: Clear throttle state when leaving the fair class Task-based CFS bandwidth throttling removes a task's fair sched_entity while the scheduler core still considers the task queued. p->throttled carries the fair-specific state across dequeue/enqueue operations. DEQUEUE_CLASS removes the task from cfs_rq->throttled_limbo_list but retains the bit. If the last finite CFS quota is disabled while the task runs in another class, it is absent from the unthrottle walk and the bit survives. Returning to fair while cfs_bandwidth_used() is false then performs a real fair enqueue with p->throttled still set. After bandwidth is re-enabled, a class-change dequeue treats the stale bit as limbo state and skips __dequeue_task(). p->se.on_rq therefore remains set, and put_prev_task_fair() places the entity in the EEVDF tree while the task moves to RT. On exit, the fair picker can select the TASK_DEAD task. __schedule() then returns to do_task_dead(), which hits BUG(). Keep p->throttled across migrations and group moves, but clear it on DEQUEUE_CLASS because fair-specific state must not outlive fair-class membership. A later return to fair uses the normal enqueue path. That path still respects a throttled cfs_rq. A KASAN, LOCKDEP and DEBUG_LIST v7.3 kernel reproduced the do_task_dead() BUG in 3/3 root and 3/3 delegated uid-1000 runs with CapPrm=CapEff=0 and RLIMIT_RTPRIO=1. The fix passed both matrices plus a 3/3 class-switch control with bandwidth continuously enabled, without a scheduler warning, KASAN report, lockdep splat or crash. An AI coding assistant analyzed the state mismatch and drafted the initial reproducer, fix candidate and this changelog. The source paths, trigger, controls and results were rechecked against the cited revisions. The Linux kernel CVE team has assigned CVE-2026-99595 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit e1fad12dcb66b7f35573c52b665830a1538f9886 and fixed in 7.3.5 with commit b91da5a7f8bc9ff522c5554c1a1934c2cb7991fe Issue introduced in 6.18 with commit e1fad12dcb66b7f35573c52b665830a1538f9886 and fixed in 7.4-rc2 with commit c282051fc2cae2ea54770ebe435dbea090272c25 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-99595 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: kernel/sched/fair.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b91da5a7f8bc9ff522c5554c1a1934c2cb7991fe https://git.kernel.org/stable/c/c282051fc2cae2ea54770ebe435dbea090272c25