CVE-2026-139749

ACPI: APEI: GHES: Validate memory error section length before payload access

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ACPI: APEI: GHES: Validate memory error section length before payload access

ghes_do_proc() hands the CPER_SEC_PLATFORM_MEM payload to the report chain,
arch_apei_report_mem_error() and ghes_handle_memory_failure() without
checking gdata->error_data_length. All three read validation_bits and
physical_addr, at offsets 0 and 16, so a shorter section reads past the
record.

Check the length once in ghes_do_proc(), before any consumer runs. Take the
73-byte struct cper_sec_mem_err_old as the floor: older firmware
legitimately emits that UEFI 2.1/2.2 layout, and it makes validation_bits
safe to read.

The fields from "extended" on are absent from that layout, so also require
whatever length the validation bits claim. Derive it per field rather than
demanding the full 80 bytes: rank needs only 76, and the BANK_GROUP and
BANK_ADDRESS bits describe "bank" at offset 38, which every record carries.
Testing the whole mask against one size, as cper_print_mem() does, gets it
wrong both ways.

Analysis

AI-generated

Technical impact

The vulnerability stems from insufficient validation of the CPER_SEC_PLATFORM_MEM payload length inside the Linux kernel ACPI APEI GHES handling routine. The code reads fixed offsets (validation_bits at offset 0 and physical_addr at offset 16) without first confirming that the payload supplied by the firmware is long enough, resulting in a memory read past the bounds of a corrupt or truncated CPER record. The weakness is an improper input validation flaw that can leak arbitrary kernel memory content or trigger a kernel fault, potentially leading to a denial‑of‑service condition. The affected component is the Linux kernel's ACPI APEI framework, specifically the ghes_do_proc, arch_apei_report_mem_error, and ghes_handle_memory_failure functions.

Affected Systems

The flaw affects all Linux kernel releases that include the vulnerable ACPI APEI GHES code path before the patch is applied. The vendor is Linux and the product is the Linux kernel. Exact version ranges are not enumerated in the CVE data, so any kernel version containing the unpatched ghes_do_proc routine is potentially impacted.

Risk and Exploitability

The CVSS score is not listed, and the EPSS score is unavailable, so the quantitative risk cannot be precisely quantified. The weakness is a classic out‑of‑bounds read that would be exploitable primarily via a specially crafted ACPI firmware payload or by manipulating a UEFI component that delivers a CPER record to the kernel. The likely attack vector is through firmware or local privileged access, which would be feasible for an attacker with physical control of the hardware or compromised firmware. Because there is no KEV listing and no exploit probability indicator, the chance of active exploitation appears low, but the potential impact is significant should an exploit be discovered or a vulnerability be combined with other kernel exploitation techniques.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Linux kernel patch that implements the length check in ghes_do_proc as referenced in commit 10338c9085b4939a428a8dc78d2bbf62c161278b and subsequent merges
  • If an immediate kernel upgrade is not possible, manually apply the patch to the kernel source before compiling, following the patch details in the Git repositories linked in the CVE references
  • As a temporary mitigation, boot the system with the kernel parameter 'acpi_apei=off' to disable ACPI APEI memory error reporting until the patch can be applied
  • Ensure that any UEFI or firmware images (especially OEM firmware) are updated to versions that emit properly sized CPER records, as the vulnerability is triggered by malformed payloads

Generated by OpenCVE AI on December 1, 2026 at 01:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ACPI: APEI: GHES: Validate memory error section length before payload access ghes_do_proc() hands the CPER_SEC_PLATFORM_MEM payload to the report chain, arch_apei_report_mem_error() and ghes_handle_memory_failure() without checking gdata->error_data_length. All three read validation_bits and physical_addr, at offsets 0 and 16, so a shorter section reads past the record. Check the length once in ghes_do_proc(), before any consumer runs. Take the 73-byte struct cper_sec_mem_err_old as the floor: older firmware legitimately emits that UEFI 2.1/2.2 layout, and it makes validation_bits safe to read. The fields from "extended" on are absent from that layout, so also require whatever length the validation bits claim. Derive it per field rather than demanding the full 80 bytes: rank needs only 76, and the BANK_GROUP and BANK_ADDRESS bits describe "bank" at offset 38, which every record carries. Testing the whole mask against one size, as cper_print_mem() does, gets it wrong both ways.
Title ACPI: APEI: GHES: Validate memory error section length before payload access
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM