CVE-2026-139749: ACPI: APEI: GHES: Validate memory error section length before payload access

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

ghesdoproc() hands the CPERSECPLATFORMMEM payload to the report chain, archapeireportmemerror() and gheshandlememoryfailure() without checking gdata->errordatalength. All three read validationbits and physicaladdr, at offsets 0 and 16, so a shorter section reads past the record.

Check the length once in ghesdoproc(), before any consumer runs. Take the 73-byte struct cpersecmemerrold as the floor: older firmware legitimately emits that UEFI 2.1/2.2 layout, and it makes validationbits 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 BANKGROUP and BANKADDRESS bits describe "bank" at offset 38, which every record carries. Testing the whole mask against one size, as cperprintmem() does, gets it wrong both ways.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In ghes_do_proc(), validate the CPER_SEC_PLATFORM_MEM payload length before passing it to any consumer. Use 73 bytes as the minimum for the older cper_sec_mem_err_old layout, and check each field against its own required length rather than requiring 80 bytes for the entire validation mask; rank requires 76 bytes, and extended fields require enough bytes to include them.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203