# CVE-2026-23287: irqchip/sifive-plic: Fix frozen interrupt due to affinity setting

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-03-25T10:26:46.363Z
- Modified: 2026-11-10T13:18:39.110Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from cc9f04f9a84f745949e325661550ed14bd0ff322 before 8942fb1a5bc2dcbd88f7e656d109d42f778f298f; from cc9f04f9a84f745949e325661550ed14bd0ff322 before 2edbd173309165d103be6c73bd83e459dc45ae7b; from cc9f04f9a84f745949e325661550ed14bd0ff322 before 686eb378a4a51aa967e08337dd59daade16aec0f; from cc9f04f9a84f745949e325661550ed14bd0ff322 before 1883332bf21feb8871af09daf604fc4836a76925; from cc9f04f9a84f745949e325661550ed14bd0ff322 before f611791a927141d05d7030607dea6372311c1413; from cc9f04f9a84f745949e325661550ed14bd0ff322 before 1072020685f4b81f6efad3b412cdae0bd62bb043; 5.1 (not affected: before 5.1; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.77 up to 6.12.*; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.1 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.77; from 6.13 before 6.18.17; from 6.19 before 6.19.7; 7.0

## References

- <https://git.kernel.org/stable/c/8942fb1a5bc2dcbd88f7e656d109d42f778f298f> (patch)
- <https://git.kernel.org/stable/c/2edbd173309165d103be6c73bd83e459dc45ae7b> (patch)
- <https://git.kernel.org/stable/c/686eb378a4a51aa967e08337dd59daade16aec0f> (patch)
- <https://git.kernel.org/stable/c/1883332bf21feb8871af09daf604fc4836a76925> (patch)
- <https://git.kernel.org/stable/c/f611791a927141d05d7030607dea6372311c1413> (patch)
- <https://git.kernel.org/stable/c/1072020685f4b81f6efad3b412cdae0bd62bb043> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-23287](https://www.cve.org/CVERecord?id=CVE-2026-23287), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-23287](https://nvd.nist.gov/vuln/detail/CVE-2026-23287), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-23287 · Whole record: https://cve.day/CVE-2026-23287.json · Rebuilt by cve.day 2026-11-25T22:59:16.653Z
