CVE-2026-139754

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

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel efi/cper module contains a flaw where error status block lengths that exceed the range of a 32‑bit unsigned integer can wrap to zero. This wrap causes bounds checks to succeed incorrectly, allowing an attacker to send a crafted CPER error status block that leads the kernel into an infinite loop in both BERT and GHES processing paths, effectively hanging the system. The weakness is an Integer Overflow or Wraparound (CWE-190) that results in Uncontrolled Resource Consumption (CWE-400).

Affected Systems

The vulnerability affects all Linux kernel releases prior to the merge of the fix in the latest kernel. Linux:Linux is the vendor designation, and the issue is present in the efi/cper component of the kernel. The patch that rejects a wrapped length was added in the commits referenced in the advisory.

Risk and Exploitability

Because the CPER error status block is supplied by firmware, exploitation would require control over the system’s UEFI/BIOS or the ability to supply firmware that sends an invalid length. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, indicating that no widespread exploitation has been observed. Nonetheless, the severity defined by the CVSS (which is not supplied here) would likely be in the high range, and the potential to bring the system to a halt warrants a timely response.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a release that contains the cper_estatus_len wrap protection or apply the specific patch that rejects wrapped lengths in cper_estatus_check_header().
  • Ensure that installed UEFI/BIOS firmware versions validate CPER error status block lengths and avoid sending values that wrap a 32‑bit integer.
  • If CPER support is not essential for your environment, compile the kernel with the CONFIG_EFI_CPER option disabled as a temporary mitigation.
  • Monitor kernel logs for repeated “bert_print_all” loop entries which may indicate an attempted or successful exploitation.

Generated by OpenCVE AI on December 1, 2026 at 01:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-190
CWE-400
Type Values Removed Values Added
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.
Title efi/cper: Reject an error status block length that wraps a u32
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM