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

CVE-2026-43171
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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 ]

Weaknesses (CWE)

  • CWE-191 — Integer Underflow (Wrap or Wraparound)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 < 02de64ab54b4bb0f1b21bb324aeff3b08612be33 ; affected 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 < 0e09b522f2622841389c3b2f9ac4969e35c0809d ; affected 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 < 64ae5aaa7ac93c83da456039e8ec747bfa8a7cff ; affected 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 < 5a9b1dda8481b82851a655c3bcc5b44879b95334 ; affected 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 < 7780c0bad2a3a70a8c0113a33c02f4151d901eb3 ; affected 3d8c11efd528d56972d44ed0de51c4e11a9a4fa9 < a8419f5f2c5f2d80848ddabb2b95cf0da84a5f91
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD