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.
Affected products and versions
References
- git.kernel.org/stable/c/9bb7b972a0c277ababeee129524114f84fa2f5ed
- git.kernel.org/stable/c/d127f3f82b64b5140697044790e887dd2e98b5ec
- git.kernel.org/stable/c/cae80757dd7b2de42f053481b5236ca194113dd0
- git.kernel.org/stable/c/248e7b033f5374cecddc78c74c5163ed7b6121d7
- git.kernel.org/stable/c/30e92480482004d40235bd6a89ee9469e3f6dbae
- git.kernel.org/stable/c/32be865907449b1acdeb5c680d6cff9e9d8889b9
- git.kernel.org/stable/c/1dc57e62aeb8e770810fd00f3a29a6a9791c3fa5
- git.kernel.org/stable/c/e1fd582a8134150aa10c1f0286dbce00cf63b086
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.