Integer overflow in Linux kernel CPER record size check
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel EFI CPER record check is affected in versions from 4.14.111 before 4.15, from 4.19.34 before 4.20, from 5.0.7 before 5.1, and from 5.1 until the fixed versions listed in the solution. The check adds the firmware-supplied error_data_length to the header size in a signed int, so a large value wraps to a small size and passes the bounds test. A crafted CPER record can then make the kernel walk past the end of the buffer or loop forever.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In 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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade the Linux kernel to 4.15, 4.20, 5.1, 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, depending on the branch in use. The sources list no fixed version for any other Linux kernel branch.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 4.15, 4.20, 5.1
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139755
- 2026-11-30 Alias added: GHSA-47xx-jg36-64f9
References
Other 8
- https://git.kernel.org/stable/c/a91a6ae45386e56624d933ac69ce036a767bbe94
- https://git.kernel.org/stable/c/1d62d7c5e38602ceda4c0830d1e4931b0544a1a0
- https://git.kernel.org/stable/c/09dd5f66a5783f6e4d0e9fa1d44320fd240b1e66
- https://git.kernel.org/stable/c/2962cc94d4465705561e86ba284b387c08022d98
- https://git.kernel.org/stable/c/8b5b2978b16cc8346da68393bbf9a6a60e616da2
- https://git.kernel.org/stable/c/a013702fc1d40f98f606bca1f6f81ec8c9f4b124
- https://git.kernel.org/stable/c/92ce77092a2c310295be90a8e53cc654d73ad872
- https://git.kernel.org/stable/c/a5a612cd3eecbadf135df1e9b2b40bc9f4c28f1c
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139755 · CVE Program
- CVE-2026-139755 · NVD
- GHSA-47xx-jg36-64f9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences