irqchip/gic-v3: Don't register a redistributor that was never counted
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v3: Don't register a redistributor that was never counted
gic_acpi_match_gicc() counts only the enabled GICCs with a non-zero gicr_base_address, and that count sizes redist_regs[], but gic_acpi_parse_madt_gicc() registers every enabled one. On a MADT with no GICR entries, an enabled GICC with a zero GICR base therefore makes gic_acpi_register_redist() write a struct redist_region past the end of the array.
Commit fa2dabe57220e ("irqchip/gic-v3: Don't return errors from gic_acpi_match_gicc()") removed the check that kept the two consistent. Its message says such entries are still caught by gic_populate_rdist(), but that runs from gic_cpu_init(), after the write.
Skip the entry instead, and mark the CPU's redistributor broken as the online-capable path does, so that gic_check_rdist() rejects the CPU. gic_starting_cpu() 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, its_cpu_init() would then dereference a NULL rd_base.
| Product | Versions |
|---|---|
| Linux Linux | fa2dabe57220e6af78ed7a2f7016bf250a618204 to before 13dfc086edf7018e6a26e63204c4b14412d2ef6b Affectedfa2dabe57220e6af78ed7a2f7016bf250a618204 to before f3441cd4f44304dca3339658f9cefcd0b66b338f Affectedfa2dabe57220e6af78ed7a2f7016bf250a618204 to before c86107e281a885bb1314fc09dde8bc0cb8f3931d Affectedfa2dabe57220e6af78ed7a2f7016bf250a618204 to before 6a21693b97ee5cb0a21d04bfd051a05dde5aa783 Affected |
| Linux Linux | 6.11 Affectedbefore 6.11 Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.