CVE-2026-139750: ACPI: APEI: GHES: Validate CXL protocol error section length before RAS cap copy
In the Linux kernel, the following vulnerability has been resolved:
ACPI: APEI: GHES: Validate CXL protocol error section length before RAS cap copy
cxlcpersetupproterrworkdata() locates the RAS Capability block at proterr + sizeof(proterr) + dvseclen and copies it, but dvseclen is firmware controlled and never validated, so it can point the copy outside the section.
Extend cxlcpersecproterrvalid() to check that the section can hold the header, and that the header, DVSEC and RAS Capability block together fit the reported section length.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Extend cxl_cper_sec_prot_err_valid() to validate that the reported section length can contain the header, DVSEC, and RAS Capability block before copying the RAS Capability block.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Linux kernel systems that process CXL protocol error sections through ACPI APEI GHES are exposed when firmware supplies a malformed section with an invalid DVSEC length. The vulnerable path uses firmware-controlled length data while handling RAS Capability information.
What does an attacker need to exploit it?
The malformed CXL protocol error section must be supplied by firmware. The provided information does not establish that an unprivileged local or remote user can directly trigger the condition.
How can this be mitigated if updating is not immediately possible?
No workaround is provided in the available data. Reducing reliance on affected firmware-generated CXL protocol error reporting may limit exposure, but the described fix is kernel validation of the section length.
How can I determine whether a system has the fix?
Check whether the running kernel includes one of the referenced stable commits: edbb0bd832d5ee0622e8b9d0e83230a946926f8a, e5875694b1cd493b77da0c5cfe804a92281a6195, or 8bf58815315aeb60125d26404d6fa7d576d5d518. The fix extends CXL protocol error section validation to ensure the header, DVSEC, and RAS Capability block fit within the reported section length.