Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D998E3A6406 for ; Wed, 25 Mar 2026 10:28:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434490; cv=none; b=M5BF2snlxxMu24Z/VnuhEZy8Ejfk295bSA3jZHtjwi7khEZW5vnuLjrvdH2qjFUZMZk0Xg4klgRpeePH8OWMJ5hEnwZ/gG/FvwRUCKJ7tEtY+y97GqV3DA+EPt5AB3V9c0g9NyVAh8vFvEraIgXz7Vl9EMzzNcmgjcews9CG+t0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434490; c=relaxed/simple; bh=21a5exvznn9VFXVYlOF9RrITkp7AZIeGBpl1uutPwe0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E33vhUxC+xu6eesDQgWNnyTZfCgPwBTbM8jgKTbVCcVbib90zwF8eE14f77CNwJFfwoIbUo4800i3KZNhkKZEbbiGvGOYEGmKPsOXEq/o9f2T6yFy5BJvf+s38tt+LY1SxrrGlGFlMXKv+chh4q763QZA2YkZTAFq2f/4VA9Jw8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=r6aW3tcB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="r6aW3tcB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D143C2BC9E; Wed, 25 Mar 2026 10:28:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434490; bh=21a5exvznn9VFXVYlOF9RrITkp7AZIeGBpl1uutPwe0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=r6aW3tcB8BZh1C+9qOnwqpKKOxVi5+qr/Vgi2r4cA2ZZjCgR05gT9fScSXPAB3Fc+ 8bJYAEku7DqosrQF8jKgbPBVLvjjEQxRpoO9ajxlcLfJYX9GrUuBmagnfIJz5ImduE FiOsw6/EEhiwyAoCoeODe1k2z22ujurlGshKC7GM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23287: irqchip/sifive-plic: Fix frozen interrupt due to affinity setting Date: Wed, 25 Mar 2026 11:26:31 +0100 Message-ID: <2026032524-CVE-2026-23287-93b2@gregkh> X-Mailer: git-send-email 2.53.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=4054; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7N1oK+1cLkBP9BYxuDoAwWuC77/K47Dy09Zqd35ieyw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHdwRcmsinekNYrvHzkhiRMwWxTh++7ngzT0lu1o9Hg T/u97RKdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPsoyzI9nfS7Q+sS6WWrJ 7V0l7dVn7m2VqWJYsExrpfZ2kWWVMgXT94TZi3/yS+nUBQA= 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: irqchip/sifive-plic: Fix frozen interrupt due to affinity setting PLIC ignores interrupt completion message for disabled interrupt, explained by the specification: The PLIC signals it has completed executing an interrupt handler by writing the interrupt ID it received from the claim to the claim/complete register. The PLIC does not check whether the completion ID is the same as the last claim ID for that target. If the completion ID does not match an interrupt source that is currently enabled for the target, the completion is silently ignored. This caused problems in the past, because an interrupt can be disabled while still being handled and plic_irq_eoi() had no effect. That was fixed by checking if the interrupt is disabled, and if so enable it, before sending the completion message. That check is done with irqd_irq_disabled(). However, that is not sufficient because the enable bit for the handling hart can be zero despite irqd_irq_disabled(d) being false. This can happen when affinity setting is changed while a hart is still handling the interrupt. This problem is easily reproducible by dumping a large file to uart (which generates lots of interrupts) and at the same time keep changing the uart interrupt's affinity setting. The uart port becomes frozen almost instantaneously. Fix this by checking PLIC's enable bit instead of irqd_irq_disabled(). The Linux kernel CVE team has assigned CVE-2026-23287 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit cc9f04f9a84f745949e325661550ed14bd0ff322 and fixed in 6.1.167 with commit 8942fb1a5bc2dcbd88f7e656d109d42f778f298f Issue introduced in 5.1 with commit cc9f04f9a84f745949e325661550ed14bd0ff322 and fixed in 6.6.130 with commit 2edbd173309165d103be6c73bd83e459dc45ae7b Issue introduced in 5.1 with commit cc9f04f9a84f745949e325661550ed14bd0ff322 and fixed in 6.12.77 with commit 686eb378a4a51aa967e08337dd59daade16aec0f Issue introduced in 5.1 with commit cc9f04f9a84f745949e325661550ed14bd0ff322 and fixed in 6.18.17 with commit 1883332bf21feb8871af09daf604fc4836a76925 Issue introduced in 5.1 with commit cc9f04f9a84f745949e325661550ed14bd0ff322 and fixed in 6.19.7 with commit f611791a927141d05d7030607dea6372311c1413 Issue introduced in 5.1 with commit cc9f04f9a84f745949e325661550ed14bd0ff322 and fixed in 7.0-rc2 with commit 1072020685f4b81f6efad3b412cdae0bd62bb043 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-23287 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: drivers/irqchip/irq-sifive-plic.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/8942fb1a5bc2dcbd88f7e656d109d42f778f298f https://git.kernel.org/stable/c/2edbd173309165d103be6c73bd83e459dc45ae7b https://git.kernel.org/stable/c/686eb378a4a51aa967e08337dd59daade16aec0f https://git.kernel.org/stable/c/1883332bf21feb8871af09daf604fc4836a76925 https://git.kernel.org/stable/c/f611791a927141d05d7030607dea6372311c1413 https://git.kernel.org/stable/c/1072020685f4b81f6efad3b412cdae0bd62bb043