CVE-2026-139755
JSON

Not scored

efi/cper: Reject CPER records with an out-of-range error_data_length

Severity
Not scored
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: efi/cper: Reject CPER records with an out-of-range error_data_length cper_estatus_check() sizes each section with acpi_hest_get_record_size(), which adds the firmware-controlled u32 error_data_length to the header size as a signed int (see <acpi/ghes.h>). A value in the top sizeof(*gdata) bytes of the u32 range wraps the sum small rather than large, so it slips past the "record_size > data_len" check: against the 72-byte v300 header, 0xffffffb9 sizes the record at 1 and acpi_hest_get_next() walks it a byte at a time, off the end. 0xffffffb8 sizes it at 0 and loops forever. Use check_add_overflow() to reject a sum that will not fit the int those helpers return, since the walk advances by that value. That subsumes the "acpi_hest_get_size(gdata) > data_len" test above it, because record_size is never smaller than the header. The later "len < sizeof(*foo)" guards rely on this per-section upper bound; they are lower bounds only.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad before a91a6ae45386e56624d933ac69ce036a767bbe94, from 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad before 1d62d7c5e38602ceda4c0830d1e4931b0544a1a0, from 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad before 09dd5f66a5783f6e4d0e9fa1d44320fd240b1e66, from 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad before 2962cc94d4465705561e86ba284b387c08022d98, from 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad before 8b5b2978b16cc8346da68393bbf9a6a60e616da2, from 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad before a013702fc1d40f98f606bca1f6f81ec8c9f4b124, from 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad before 92ce77092a2c310295be90a8e53cc654d73ad872, from 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad before a5a612cd3eecbadf135df1e9b2b40bc9f4c28f1c and 7 more
Not affected: before 5.1, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139755 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139755 changed 2026-11-30Public domain