irqchip/sifive-plic: Fix frozen interrupt due to affinity setting
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().
CVE-2026-23287
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-23287
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "cc9f04f9a84f745949e325661550ed14bd0ff322",
"lessThan": "8942fb1a5bc2dcbd88f7e656d109d42f778f298f",
"versionType": "git"
},
{
"status": "affected",
"version": "cc9f04f9a84f745949e325661550ed14bd0ff322",
"lessThan": "2edbd173309165d103be6c73bd83e459dc45ae7b",
"versionType": "git"
},
{
"status": "affected",
"version": "cc9f04f9a84f745949e325661550ed14bd0ff322",
"lessThan": "686eb378a4a51aa967e08337dd59daade16aec0f",
"versionType": "git"
},
{
"status": "affected",
"version": "cc9f04f9a84f745949e325661550ed14bd0ff322",
"lessThan": "1883332bf21feb8871af09daf604fc4836a76925",
"versionType": "git"
},
{
"status": "affected",
"version": "cc9f04f9a84f745949e325661550ed14bd0ff322",
"lessThan": "f611791a927141d05d7030607dea6372311c1413",
"versionType": "git"
},
{
"status": "affected",
"version": "cc9f04f9a84f745949e325661550ed14bd0ff322",
"lessThan": "1072020685f4b81f6efad3b412cdae0bd62bb043",
"versionType": "git"
}
],
"programFiles": [
"drivers/irqchip/irq-sifive-plic.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.1"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.1",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.1.167",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.130",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.77",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.17",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.7",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/irqchip/irq-sifive-plic.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-23287
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #27212 · Revision 1
- Added to Heist Feed
- Publisher date