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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

Description

In 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.

ProductVersions
Linux Linux06d65deade9aabba58e0518df86dcd324e86b832 to before 6a2468507c24437c08296fd1b167b59a0ec27c0b Affected06d65deade9aabba58e0518df86dcd324e86b832 to before 98c09a53284d0e9b1d6cba4c3cb8936b9daf1483 Affected06d65deade9aabba58e0518df86dcd324e86b832 to before 4006f75a8fa0551de1ae8005d36c28826d3eb0e1 Affected06d65deade9aabba58e0518df86dcd324e86b832 to before d82e697c19b159c401dccbadc0621f128ad6abfb Affected06d65deade9aabba58e0518df86dcd324e86b832 to before a1dcfc580fd98c416240aa60b2a6eb924063069a Affected06d65deade9aabba58e0518df86dcd324e86b832 to before 17b3fd50e49fd131d85fda217746b9d8824769a0 Affected06d65deade9aabba58e0518df86dcd324e86b832 to before 029b9fd14ef034a1d36e0208b272f0886ded8526 Affected06d65deade9aabba58e0518df86dcd324e86b832 to before 41e25ef5e417c62eb7bf39b187242b283b3ef9f1 Affected
Linux Linux2.6.35 Affectedbefore 2.6.35 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.