CVE-2023-52976

efi: fix potential NULL deref in efi_mem_reserve_persistent

MEDIUM
5.5
CVSS Score
Published: March 27, 2025 at 04:43 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.1.165.1.16 ≤ v < 5.25.1.16 ≤ v < 5.4.2325.11 ≤ v < 5.15.935.16 ≤ v < 6.1.115.2 ≤ v < 5.10.1685.2 ≤ v < 5.15.935.2 ≤ v < 5.4.2325.2 ≤ v < 6.1.115.2 ≤ v < 6.25.5 ≤ v < 5.10.16818df7577adae6c6c778bf774b3aebcacbc1fb4395.1.166.2 rc16.2 rc26.2 rc36.2 rc46.2 rc56.2 rc6b5961ecad7121fec138ebee7d9eba4863f9dc6e7
Vendor states this is fixed in 87d4ff18738fd71e7e3c10827c80257da6283697 (fixed)
Vendor states this is fixed in 966d47e1f27c45507c5df82b2a2157e5a4fd3909 (fixed)
Vendor states this is fixed in a2e6a9ff89f13666a1c3ff7195612ab949ea9afc (fixed)
Vendor states this is fixed in d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c (fixed)
Vendor states this is fixed in d92a25627bcdf264183670da73c9a60c0bac327e (fixed)
Vendor states this is fixed in 5.10.168 (unaffected)
Vendor states this is fixed in 5.15.93 (unaffected)
Vendor states this is fixed in 5.2 (unaffected)
Vendor states this is fixed in 5.4.232 (unaffected)
Vendor states this is fixed in 6.1.11 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/87d4ff18738fd71e7e3c10827c80257da6283697
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/966d47e1f27c45507c5df82b2a2157e5a4fd3909
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a2e6a9ff89f13666a1c3ff7195612ab949ea9afc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d92a25627bcdf264183670da73c9a60c0bac327e

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card