# CVE-2026-43171: EFI/CPER: don't dump the entire memory region

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-06T11:27:46.698Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

EFI/CPER: don't dump the entire memory region

The current logic at cper_print_fw_err() doesn't check if the
error record length is big enough to handle offset. On a bad firmware,
if the ofset is above the actual record, length -= offset will
underflow, making it dump the entire memory.

The end result can be:

 - the logic taking a lot of time dumping large regions of memory;
 - data disclosure due to the memory dumps;
 - an OOPS, if it tries to dump an unmapped memory region.

Fix it by checking if the section length is too small before doing
a hex dump.

[ rjw: Subject tweaks ]

(As written by CVE List.)

## Affected

- Linux Linux: from 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 before 02de64ab54b4bb0f1b21bb324aeff3b08612be33; from 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 before 0e09b522f2622841389c3b2f9ac4969e35c0809d; from 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 before 64ae5aaa7ac93c83da456039e8ec747bfa8a7cff; from 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 before 5a9b1dda8481b82851a655c3bcc5b44879b95334; from 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 before 7780c0bad2a3a70a8c0113a33c02f4151d901eb3; from 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 before a8419f5f2c5f2d80848ddabb2b95cf0da84a5f91; from 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 before 54e131db4cdffd946db890ff33ff2647053fd4f6; from 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 before 55cc6fe5716f678f06bcb95140882dfa684464ec; 5.7 (not affected: before 5.7; from 5.10.252 up to 5.10.*; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from >5.7 before 5.10.252; from 5.11 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6; 5.7

## References

- <https://git.kernel.org/stable/c/02de64ab54b4bb0f1b21bb324aeff3b08612be33> (patch)
- <https://git.kernel.org/stable/c/0e09b522f2622841389c3b2f9ac4969e35c0809d> (patch)
- <https://git.kernel.org/stable/c/64ae5aaa7ac93c83da456039e8ec747bfa8a7cff> (patch)
- <https://git.kernel.org/stable/c/5a9b1dda8481b82851a655c3bcc5b44879b95334> (patch)
- <https://git.kernel.org/stable/c/7780c0bad2a3a70a8c0113a33c02f4151d901eb3> (patch)
- <https://git.kernel.org/stable/c/a8419f5f2c5f2d80848ddabb2b95cf0da84a5f91> (patch)
- <https://git.kernel.org/stable/c/54e131db4cdffd946db890ff33ff2647053fd4f6> (patch)
- <https://git.kernel.org/stable/c/55cc6fe5716f678f06bcb95140882dfa684464ec> (patch)

## Sources

- CVE List: [CVE-2026-43171](https://www.cve.org/CVERecord?id=CVE-2026-43171), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43171](https://nvd.nist.gov/vuln/detail/CVE-2026-43171), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43171 · Whole record: https://cve.day/CVE-2026-43171.json · Rebuilt by cve.day 2026-11-25T22:59:20.712Z
