CVE-2026-43171

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

State
Published
Severity
Not scored
Published
May 6, 2026
Updated
May 11, 2026
Reserved
May 1, 2026

Read the record on cve.org

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 ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 to before 02de64ab54b4bb0f1b21bb324aeff3b08612be33Affected
  • 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 to before 0e09b522f2622841389c3b2f9ac4969e35c0809dAffected
  • 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 to before 64ae5aaa7ac93c83da456039e8ec747bfa8a7cffAffected
  • 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 to before 5a9b1dda8481b82851a655c3bcc5b44879b95334Affected
  • 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 to before 7780c0bad2a3a70a8c0113a33c02f4151d901eb3Affected
  • 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 to before a8419f5f2c5f2d80848ddabb2b95cf0da84a5f91Affected
  • 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 to before 54e131db4cdffd946db890ff33ff2647053fd4f6Affected
  • 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 to before 55cc6fe5716f678f06bcb95140882dfa684464ecAffected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 5.10.252 through 5.10.*Not affected
  • 5.15.202 through 5.15.*Not affected
  • 6.1.165 through 6.1.*Not affected
  • 6.6.128 through 6.6.*Not affected
  • 6.12.75 through 6.12.*Not affected
  • 6.18.16 through 6.18.*Not affected
  • 6.19.6 through 6.19.*Not affected
  • 7.0 and laterNot affected

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.