CVE-2026-139363: irqchip/gic-v3: Don't register a redistributor that was never counted
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v3: Don't register a redistributor that was never counted
gicacpimatchgicc() counts only the enabled GICCs with a non-zero gicrbaseaddress, and that count sizes redistregs[], but gicacpiparsemadtgicc() registers every enabled one. On a MADT with no GICR entries, an enabled GICC with a zero GICR base therefore makes gicacpiregisterredist() write a struct redistregion past the end of the array.
Commit fa2dabe57220e ("irqchip/gic-v3: Don't return errors from gicacpimatchgicc()") removed the check that kept the two consistent. Its message says such entries are still caught by gicpopulaterdist(), but that runs from giccpuinit(), after the write.
Skip the entry instead, and mark the CPU's redistributor broken as the online-capable path does, so that giccheckrdist() rejects the CPU. gicstartingcpu() runs past cpuhp's last failure point, so without the mark the CPU would come online with its redistributor and CPU interface unconfigured. With an ITS, itscpuinit() would then dereference a NULL rdbase.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Compensating control
In gic_acpi_parse_madt_gicc(), skip an enabled GICC entry with a zero GICR base and mark its CPU's redistributor broken so gic_check_rdist() rejects the CPU.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using ACPI GICv3 configuration are affected when the MADT has no GICR entries and contains an enabled GICC whose GICR base address is zero. That combination causes an enabled redistributor entry to be registered even though it was not included when sizing the redistributor array.
What can happen when the malformed firmware configuration is processed?
Registering the uncounted redistributor writes a redist_region structure past the end of redist_regs[]. The affected CPU can also come online with its redistributor and CPU interface unconfigured; with an ITS present, its_cpu_init() can dereference a NULL rd_base.
How does the fix handle the affected CPU entry?
The fix skips the enabled GICC entry with a zero redistributor base in this scenario and marks that CPU's redistributor as broken. This causes gic_check_rdist() to reject the CPU rather than allowing it to come online unconfigured.