CVE-2026-23287

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().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*

History

29 May 2026, 16:32

Type Values Removed Values Added
CWE NVD-CWE-noinfo
First Time Linux
Linux linux Kernel
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: irqchip/sifive-plic: Solución para la interrupción congelada debido a la configuración de afinidad PLIC ignora el mensaje de finalización de interrupción para interrupciones deshabilitadas, explicado por la especificación: El PLIC señala que ha completado la ejecución de un gestor de interrupciones escribiendo el ID de interrupción que recibió de la solicitud en el registro de solicitud/finalización. El PLIC no verifica si el ID de finalización es el mismo que el último ID de solicitud para ese objetivo. Si el ID de finalización no coincide con una fuente de interrupción que está actualmente habilitada para el objetivo, la finalización es ignorada silenciosamente. Esto causó problemas en el pasado, porque una interrupción puede ser deshabilitada mientras aún está siendo gestionada y plic_irq_eoi() no tenía efecto. Eso se solucionó verificando si la interrupción está deshabilitada, y si es así, habilitarla, antes de enviar el mensaje de finalización. Esa verificación se realiza con irqd_irq_disabled(). Sin embargo, eso no es suficiente porque el bit de habilitación para el hart de gestión puede ser cero a pesar de que irqd_irq_disabled(d) sea falso. Esto puede ocurrir cuando la configuración de afinidad se cambia mientras un hart todavía está gestionando la interrupción. Este problema es fácilmente reproducible volcando un archivo grande a la uart (lo que genera muchas interrupciones) y al mismo tiempo seguir cambiando la configuración de afinidad de la interrupción de la uart. El puerto de la uart se congela casi instantáneamente. Solucione esto verificando el bit de habilitación del PLIC en lugar de irqd_irq_disabled().
CPE cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/1072020685f4b81f6efad3b412cdae0bd62bb043 - () https://git.kernel.org/stable/c/1072020685f4b81f6efad3b412cdae0bd62bb043 - Patch
References () https://git.kernel.org/stable/c/1883332bf21feb8871af09daf604fc4836a76925 - () https://git.kernel.org/stable/c/1883332bf21feb8871af09daf604fc4836a76925 - Patch
References () https://git.kernel.org/stable/c/2edbd173309165d103be6c73bd83e459dc45ae7b - () https://git.kernel.org/stable/c/2edbd173309165d103be6c73bd83e459dc45ae7b - Patch
References () https://git.kernel.org/stable/c/686eb378a4a51aa967e08337dd59daade16aec0f - () https://git.kernel.org/stable/c/686eb378a4a51aa967e08337dd59daade16aec0f - Patch
References () https://git.kernel.org/stable/c/8942fb1a5bc2dcbd88f7e656d109d42f778f298f - () https://git.kernel.org/stable/c/8942fb1a5bc2dcbd88f7e656d109d42f778f298f - Patch
References () https://git.kernel.org/stable/c/f611791a927141d05d7030607dea6372311c1413 - () https://git.kernel.org/stable/c/f611791a927141d05d7030607dea6372311c1413 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

25 Mar 2026, 11:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-25 11:16

Updated : 2026-05-29 16:32


NVD link : CVE-2026-23287

Mitre link : CVE-2026-23287

CVE.ORG link : CVE-2026-23287


JSON object : View

Products Affected

linux

  • linux_kernel