ACPI: extlog: Validate elog record length before walking sections
- CVE-2026-139753
- GHSA-vwq7-r5gr-5jwq
- EUVD-2026-139459
Description
In the Linux kernel, the following vulnerability has been resolved: ACPI: extlog: Validate elog record length before walking sections extlog_print() copies a fixed ELOG_ENTRY_LEN (4096) bytes from the elog record into elog_buf, then walks the sections using the firmware-controlled data_length. Nothing keeps data_length inside the buffer, so a malformed record walks the section pointer past elog_buf and reads adjacent memory. Unlike the GHES paths, extlog never calls cper_estatus_check(). Reject a record longer than ELOG_ENTRY_LEN and run cper_estatus_check() before walking the sections. The length test alone is not enough: a wrapped length reads back short and passes it, which cper_estatus_check() catches via the header check added earlier. Drop a malformed record with NOTIFY_DONE and without MCE_HANDLED_EXTLOG, since extlog did not consume it.
Text from the CVE.org record.
Recommendation
Linux
- If you run 5.15.xupdate to 5.15.226 or laterPatch update: breaking changes are unlikely
- If you run 5.10.xupdate to 5.10.275 or laterPatch update: breaking changes are unlikely
- If you run a version from 5.4.221 to before 5.5update to 5.5 or laterMinor version change: check the release notes
- If you run a version from 4.19.264 to before 4.20update to 4.20 or laterMinor version change: check the release notes
- If you run a version from 4.14.298 to before 4.15update to 4.15 or laterMinor version change: check the release notes
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 5.15.76 to before 5.15.226 5.15.226 from 5.10.152 to before 5.10.275 5.10.275 from 5.4.221 to before 5.5 5.5 from 4.19.264 to before 4.20 4.20 from 4.14.298 to before 4.15 4.15 from 6.0.6 to before 6.1 none stated 6.1 none stated before 6.1: not affected none stated and 8 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.