CVE-2026-139754

Source
https://cve.org/CVERecord?id=CVE-2026-139754
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139754.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139754
Downstream
Published
2026-11-30T13:37:40Z
Modified
2026-11-30T15:02:30Z
Summary
efi/cper: Reject an error status block length that wraps a u32
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139754.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
06d65deade9aabba58e0518df86dcd324e86b832
Fixed
6a2468507c24437c08296fd1b167b59a0ec27c0b
Fixed
98c09a53284d0e9b1d6cba4c3cb8936b9daf1483
Fixed
4006f75a8fa0551de1ae8005d36c28826d3eb0e1
Fixed
d82e697c19b159c401dccbadc0621f128ad6abfb
Fixed
a1dcfc580fd98c416240aa60b2a6eb924063069a
Fixed
17b3fd50e49fd131d85fda217746b9d8824769a0
Fixed
029b9fd14ef034a1d36e0208b272f0886ded8526
Fixed
41e25ef5e417c62eb7bf39b187242b283b3ef9f1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139754.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.35
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139754.json"