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

Summary

CVECVE-2026-139755
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:08 UTC
Updated2026-11-30 14:20:08 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad a91a6ae45386e56624d933ac69ce036a767bbe94 git Not specified
CNA Linux Linux affected 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad 1d62d7c5e38602ceda4c0830d1e4931b0544a1a0 git Not specified
CNA Linux Linux affected 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad 09dd5f66a5783f6e4d0e9fa1d44320fd240b1e66 git Not specified
CNA Linux Linux affected 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad 2962cc94d4465705561e86ba284b387c08022d98 git Not specified
CNA Linux Linux affected 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad 8b5b2978b16cc8346da68393bbf9a6a60e616da2 git Not specified
CNA Linux Linux affected 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad a013702fc1d40f98f606bca1f6f81ec8c9f4b124 git Not specified
CNA Linux Linux affected 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad 92ce77092a2c310295be90a8e53cc654d73ad872 git Not specified
CNA Linux Linux affected 45b14a4ffcc1e0b5caa246638f942cbe7eaea7ad a5a612cd3eecbadf135df1e9b2b40bc9f4c28f1c git Not specified
CNA Linux Linux affected 7022c49509e95130aa8e59c825b13c03afe9e603 git Not specified
CNA Linux Linux affected d60f458e4c4dddb4d7ad20656d41a0d83a3d855b git Not specified
CNA Linux Linux affected 5d1db4825e3c55ccf162f92eb1bcbd12f77c6a67 git Not specified
CNA Linux Linux affected 4.14.111 4.15 semver Not specified
CNA Linux Linux affected 4.19.34 4.20 semver Not specified
CNA Linux Linux affected 5.0.7 5.1 semver Not specified
CNA Linux Linux affected 5.1 Not specified
CNA Linux Linux unaffected 5.1 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a91a6ae45386e56624d933ac69ce036a767bbe94 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8b5b2978b16cc8346da68393bbf9a6a60e616da2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/09dd5f66a5783f6e4d0e9fa1d44320fd240b1e66 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a013702fc1d40f98f606bca1f6f81ec8c9f4b124 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/92ce77092a2c310295be90a8e53cc654d73ad872 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1d62d7c5e38602ceda4c0830d1e4931b0544a1a0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a5a612cd3eecbadf135df1e9b2b40bc9f4c28f1c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2962cc94d4465705561e86ba284b387c08022d98 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report