CVE-2023-52976

published 27 Mar 2025 · updated 17 Nov 2026

efi: fix potential NULL deref in efi_mem_reserve_persistent

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.2, Kernel 87d4ff18738fd71e7e3c10827c80257da6283697, Kernel 966d47e1f27c45507c5df82b2a2157e5a4fd3909 and 7 more.

In the Linux kernel, the following vulnerability has been resolved: efi: fix potential NULL deref in efi_mem_reserve_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]

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.1.16 <5.2, >=18df7577adae6c6c778bf774b3aebcacbc1fb439 <87d4ff18738fd71e7e3c10827c80257da6283697, >=18df7577adae6c6c778bf774b3aebcacbc1fb439 <966d47e1f27c45507c5df82b2a2157e5a4fd3909, >=18df7577adae6c6c778bf774b3aebcacbc1fb439 <a2e6a9ff89f13666a1c3ff7195612ab949ea9afc, >=18df7577adae6c6c778bf774b3aebcacbc1fb439 <d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c, >=18df7577adae6c6c778bf774b3aebcacbc1fb439 <d92a25627bcdf264183670da73c9a60c0bac327e, =5.2, =b5961ecad7121fec138ebee7d9eba4863f9dc6e75.2, 87d4ff18738fd71e7e3c10827c80257da6283697, 966d47e1f27c45507c5df82b2a2157e5a4fd3909, a2e6a9ff89f13666a1c3ff7195612ab949ea9afc, d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c, d92a25627bcdf264183670da73c9a60c0bac327e
linux-kernel: Kernel>=5.11.0 <5.15.93, >=5.16.0 <6.1.11, >=5.2.0 <5.4.232, >=5.5.0 <5.10.168, >=5.1.16 <5.25.15.93, 6.1.11, 5.4.232, 5.10.168, 5.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-52976 severity on Zeptric[![CVE-2023-52976](https://zeptric.io/badge/cve/CVE-2023-52976.svg)](https://zeptric.io/cve/CVE-2023-52976)