CVE-2026-139363

irqchip/gic-v3: Don't register a redistributor that was never counted

Published Nov 30, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kernel miscounts enabled GICCs and registers redistributor regions on systems without GICR entries, causing an out‑of‑bounds write that corrupts kernel memory during boot. This overflow (CWE‑787) introduces a path to kernel memory corruption, which can allow an attacker to execute arbitrary code or elevate privileges.

Affected Systems

Linux kernels that enable the GICv3 driver (CONFIG_IRQ_GIC) and rely on ACPI MADT tables for GICC and GICR configuration are affected. The vulnerability is present in kernel versions that lack the commit that fixed the out‑of‑bounds write, meaning any system using an unpatched kernel may be vulnerable.

Risk and Exploitability

The advantage of exploitation requires influencing firmware or ACPI tables that drive the GIC configuration before the kernel completes initialization. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. The CVSS score is not disclosed, but the kernel memory corruption makes the risk high; attackers with local access could potentially compromise the entire system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch that fixes the out‑of‑bounds write (CWE‑787) by applying the commit fa2dabe57220 to the kernel.
  • If a kernel upgrade cannot be performed immediately, mitigate the buffer overflow risk (CWE‑787) by disabling the GICv3 driver – remove CONFIG_IRQ_GIC from the kernel configuration or disable the GIC in the BIOS/firmware if available.
  • Ensure firmware, bootloader, and ACPI tables do not provide GICR base addresses with a value of zero, and apply any vendor firmware updates that address this issue, thereby reducing the chance of the CWE‑787 overflow.
  • Regularly review kernel changelogs and security advisories to stay informed about additional mitigations or patches for this vulnerability.

Generated by OpenCVE AI on December 1, 2026 at 11:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
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.
Title irqchip/gic-v3: Don't register a redistributor that was never counted
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:34 PM