Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B42683FDBE9 for ; Wed, 27 May 2026 12:25:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884713; cv=none; b=jT6lpfAx3OcH+hehL+IvVcMn/66w1jkqmPBp6AHOh06cjOqp7rlF6hOb5pRdGHaUImnLZWWWymji1lBWpdUC35qiF2OL7lQyc4lWc2x63WQrxYx/vYkxnhydki43hoIzviVTSi/SGhjk6ucozDr3Bf5Orpjxe7Tc95zZpKtkyiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884713; c=relaxed/simple; bh=mV2jwR1QaXbUxilHO2XEIWiy7ifz3n/2dRfIRZjiLCA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UJfl5FG46XDiTy8vodM5freshnp2wlarKpMp6OupXZyOvYWrX1D8unI0WEOKMBzKpvIR8Ty9xiOyv4lziTbX31NFKS50ooeMYdziVaSA7/tu82YI86UfUXlTwv4XRM+mwOnu072Ee6+dbrVb1m/aiNzDvKV7CR4Vf63+r8IHPQs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oaetcsdo; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oaetcsdo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13FFD1F000E9; Wed, 27 May 2026 12:25:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884711; bh=JyGFLIqTdoqkXgOHlP44/3BSf/Sps0V3MoVpaeoE59g=; h=From:To:Cc:Subject:Date:Reply-To; b=oaetcsdodCk7fo7juVZXIoTycsLWeLn1Dwcp9cM8Ed62SGd8+sgD4f0bxYqnqRkHT 6vVkBwZey3TBr+SNWvU6rvteyPYAig4Kz1QLoqqH6l1NOU3vcLsdvFKA2xTNo/zZuA rbdO6KzFIFTol0l22xw9bGdzhgnXwRrDuFaXyI40= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45919: sched/rt: Skip currently executing CPU in rto_next_cpu() Date: Wed, 27 May 2026 14:19:21 +0200 Message-ID: <2026052724-CVE-2026-45919-5649@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5363; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=p85MF0HC0KTPAM4BEjTd2OqrE4gktfmaDX3rVIAVYVA=; b=kA0DAAIRMUfUDdst+ykByyZiAGoW4RCjinUQNi7dLPodzMGT9QR4IcEXnIs3aIr19+EeN0IZU IhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmoW4RAACgkQMUfUDdst+ymTewCg0hlE g/cxtQzN6o5njjqvhud5QVEAnR9f/w8kmFtqZZgk14cuslTc9Q/p 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/rt: Skip currently executing CPU in rto_next_cpu() CPU0 becomes overloaded when hosting a CPU-bound RT task, a non-CPU-bound RT task, and a CFS task stuck in kernel space. When other CPUs switch from RT to non-RT tasks, RT load balancing (LB) is triggered; with HAVE_RT_PUSH_IPI enabled, they send IPIs to CPU0 to drive the execution of rto_push_irq_work_func. During push_rt_task on CPU0, if next_task->prio < rq->donor->prio, resched_curr() sets NEED_RESCHED and after the push operation completes, CPU0 calls rto_next_cpu(). Since only CPU0 is overloaded in this scenario, rto_next_cpu() should ideally return -1 (no further IPI needed). However, multiple CPUs invoking tell_cpu_to_push() during LB increments rd->rto_loop_next. Even when rd->rto_cpu is set to -1, the mismatch between rd->rto_loop and rd->rto_loop_next forces rto_next_cpu() to restart its search from -1. With CPU0 remaining overloaded (satisfying rt_nr_migratory && rt_nr_total > 1), it gets reselected, causing CPU0 to queue irq_work to itself and send self-IPIs repeatedly. As long as CPU0 stays overloaded and other CPUs run pull_rt_tasks(), it falls into an infinite self-IPI loop, which triggers a CPU hardlockup due to continuous self-interrupts. The trigging scenario is as follows: cpu0 cpu1 cpu2 pull_rt_task tell_cpu_to_push <------------irq_work_queue_on rto_push_irq_work_func push_rt_task resched_curr(rq) pull_rt_task rto_next_cpu tell_cpu_to_push <-------------------------- atomic_inc(rto_loop_next) rd->rto_loop != next rto_next_cpu irq_work_queue_on rto_push_irq_work_func Fix redundant self-IPI by filtering the initiating CPU in rto_next_cpu(). This solution has been verified to effectively eliminate spurious self-IPIs and prevent CPU hardlockup scenarios. The Linux kernel CVE team has assigned CVE-2026-45919 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 and fixed in 5.10.252 with commit d57d0746276a88ea43a2cc62b849fd8a95e32e41 Issue introduced in 4.15 with commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 and fixed in 5.15.202 with commit 3b3c672a66db3de3b40f8a7057864bc1f874ede3 Issue introduced in 4.15 with commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 and fixed in 6.1.165 with commit 16ca9f3117e9a294646c897daf08a5ab546c711b Issue introduced in 4.15 with commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 and fixed in 6.6.128 with commit 8ad5577b2d4acfd83f03d97a0aece2d18aac5f07 Issue introduced in 4.15 with commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 and fixed in 6.12.75 with commit a6a73403733e86748421f2eeaf028c85683ef896 Issue introduced in 4.15 with commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 and fixed in 6.18.14 with commit 52aeb1e07ec223caf212f036817976c98d2aa250 Issue introduced in 4.15 with commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 and fixed in 6.19.4 with commit 9f25edc5a20cb52a5abbf25f0724bb4732b81801 Issue introduced in 4.15 with commit 4bdced5c9a2922521e325896a7bbbf0132c94e56 and fixed in 7.0 with commit 94894c9c477e53bcea052e075c53f89df3d2a33e Issue introduced in 4.4.103 with commit cb1831a83e54cd3269a2420fce81c4fd8ae6f667 Issue introduced in 4.9.66 with commit 1c37ff78298a6b6063649123356a312e1cce12ca Issue introduced in 4.14.3 with commit f17c786b28a3060a566a170c2cf3bd7441fc30a3 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-45919 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/rt.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/d57d0746276a88ea43a2cc62b849fd8a95e32e41 https://git.kernel.org/stable/c/3b3c672a66db3de3b40f8a7057864bc1f874ede3 https://git.kernel.org/stable/c/16ca9f3117e9a294646c897daf08a5ab546c711b https://git.kernel.org/stable/c/8ad5577b2d4acfd83f03d97a0aece2d18aac5f07 https://git.kernel.org/stable/c/a6a73403733e86748421f2eeaf028c85683ef896 https://git.kernel.org/stable/c/52aeb1e07ec223caf212f036817976c98d2aa250 https://git.kernel.org/stable/c/9f25edc5a20cb52a5abbf25f0724bb4732b81801 https://git.kernel.org/stable/c/94894c9c477e53bcea052e075c53f89df3d2a33e