CVE-2023-52976

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52976
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52976.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52976
Downstream
Related
Published
2025-03-27T17:15:44Z
Modified
2025-08-09T20:01:25Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

efi: fix potential NULL deref in efimemreserve_persistent

When iterating on a linked list, a result of memremap is dereferenced without checking it for NULL.

This patch adds a check that falls back on allocating a new page in case memremap doesn't succeed.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

[ardb: return -ENOMEM instead of breaking out of the loop]

References

Affected packages