efi/cper: Reject an error status block length that wraps a u32

Summary

CVECVE-2026-139754
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 an error status block length that wraps a u32 cper_estatus_len() sums the firmware-controlled data_length (or raw_data_offset plus raw_data_length) into a u32. A data_length of 0xffffffec wraps that sum to 0, and a length that reads back short defeats every bound built on it: bert_print_all() passes its "remain < estatus_len" check, then advances "estatus += estatus_len" by zero and loops forever. GHES survives only because __ghes_check_estatus() rejects a length below sizeof(*estatus) first. Reject a length that cannot be expressed in a u32 in cper_estatus_check_header(), which both of today's callers reach: GHES via __ghes_check_estatus() and BERT via cper_estatus_check(). extlog reaches neither yet; a later patch routes it through cper_estatus_check(), whose ELOG_ENTRY_LEN bound needs this to hold.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 06d65deade9aabba58e0518df86dcd324e86b832 6a2468507c24437c08296fd1b167b59a0ec27c0b git Not specified
CNA Linux Linux affected 06d65deade9aabba58e0518df86dcd324e86b832 98c09a53284d0e9b1d6cba4c3cb8936b9daf1483 git Not specified
CNA Linux Linux affected 06d65deade9aabba58e0518df86dcd324e86b832 4006f75a8fa0551de1ae8005d36c28826d3eb0e1 git Not specified
CNA Linux Linux affected 06d65deade9aabba58e0518df86dcd324e86b832 d82e697c19b159c401dccbadc0621f128ad6abfb git Not specified
CNA Linux Linux affected 06d65deade9aabba58e0518df86dcd324e86b832 a1dcfc580fd98c416240aa60b2a6eb924063069a git Not specified
CNA Linux Linux affected 06d65deade9aabba58e0518df86dcd324e86b832 17b3fd50e49fd131d85fda217746b9d8824769a0 git Not specified
CNA Linux Linux affected 06d65deade9aabba58e0518df86dcd324e86b832 029b9fd14ef034a1d36e0208b272f0886ded8526 git Not specified
CNA Linux Linux affected 06d65deade9aabba58e0518df86dcd324e86b832 41e25ef5e417c62eb7bf39b187242b283b3ef9f1 git Not specified
CNA Linux Linux affected 2.6.35 Not specified
CNA Linux Linux unaffected 2.6.35 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/41e25ef5e417c62eb7bf39b187242b283b3ef9f1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a1dcfc580fd98c416240aa60b2a6eb924063069a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/98c09a53284d0e9b1d6cba4c3cb8936b9daf1483 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6a2468507c24437c08296fd1b167b59a0ec27c0b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/17b3fd50e49fd131d85fda217746b9d8824769a0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4006f75a8fa0551de1ae8005d36c28826d3eb0e1 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/029b9fd14ef034a1d36e0208b272f0886ded8526 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d82e697c19b159c401dccbadc0621f128ad6abfb 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