CVE-2026-139751: ACPI: APEI: GHES: Bound CXL event record copy to the firmware section length
In the Linux kernel, the following vulnerability has been resolved:
ACPI: APEI: GHES: Bound CXL event record copy to the firmware section length
cxlcperpostevent() copies a fixed sizeof(struct cxlcpereventrec) out of the firmware CPER section without checking how long the section actually is, so a short one reads past the record.
Pass gdata->errordatalength in and reject a section too small to hold the record before the copy.
Affected Software
Event History
Frequently Asked Questions
What condition is required to trigger the out-of-bounds read?
The kernel must process a firmware CPER section containing a CXL event record that is shorter than sizeof(struct cxl_cper_event_rec). The vulnerable code copies the fixed record size without first validating the firmware section length.
What does the fix change?
The fix passes gdata->error_data_length to the CXL CPER event handler and rejects sections that are too small to contain the complete event record before copying it.
How can I determine whether a system may be affected?
Review the installed Linux kernel source or applied stable commits to determine whether cxl_cper_post_event() validates the firmware section length using gdata->error_data_length before copying the CXL CPER event record. Systems running code that performs the fixed-size copy without that check may be affected.