CVE-2026-139753: ACPI: extlog: Validate elog record length before walking sections
In the Linux kernel, the following vulnerability has been resolved:
ACPI: extlog: Validate elog record length before walking sections
extlogprint() copies a fixed ELOGENTRYLEN (4096) bytes from the elog record into elogbuf, then walks the sections using the firmware-controlled datalength. Nothing keeps datalength inside the buffer, so a malformed record walks the section pointer past elogbuf and reads adjacent memory. Unlike the GHES paths, extlog never calls cperestatuscheck().
Reject a record longer than ELOGENTRYLEN and run cperestatuscheck() before walking the sections. The length test alone is not enough: a wrapped length reads back short and passes it, which cperestatuscheck() catches via the header check added earlier. Drop a malformed record with NOTIFYDONE and without MCEHANDLEDEXTLOG, since extlog did not consume it.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 4.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 4.20 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.5 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Compensating control
In Linux kernel ACPI extlog, reject records longer than ELOG_ENTRY_LEN (4096 bytes) and call cper_estatus_check() before walking the record sections.
Event History
Frequently Asked Questions
What conditions are required to trigger the out-of-bounds read?
The system must process a malformed firmware-provided ACPI extended error log record whose data_length causes section walking to extend beyond the fixed 4096-byte elog buffer. The vulnerable path relies on firmware-controlled record metadata.
What happens when a malformed record is detected by the fix?
The record is dropped with NOTIFY_DONE and is not marked with MCE_HANDLED_EXTLOG. The extlog handler therefore does not consume the malformed record.
Why is validating the record length alone insufficient?
A wrapped length can appear short enough to pass a simple length check. The added cper_estatus_check() validation catches this condition through header validation before the sections are walked.