CVE-2026-53156

nvmem: core: fix use-after-free bugs in error paths

Published Jun 25, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

nvmem: core: fix use-after-free bugs in error paths

Fix several instances of error paths in which we call
__nvmem_device_put() - which may end up freeing the underlying memory
and other resources - and then keep on using the nvmem structure. Always
put the reference to the nvmem device as the last step before returning
the error code.

Analysis

AI-generated

Technical impact

The vulnerability arises from error-handling paths in the Linux kernel’s nvmem subsystem that call __nvmem_device_put(), a routine that frees the underlying memory and resources. After the free operation, the kernel continues to reference the released nvmem structure, creating a use‑after‑free condition that can corrupt kernel memory. If an attacker could trigger this flaw, the resulting memory corruption could potentially allow arbitrary code execution or privilege escalation; this conclusion is inferred because the description does not explicitly state the exploitability consequence.

Affected Systems

All Linux kernel releases that contain the unpatched nvmem core are affected. The Common Platform Enumeration entries indicate that versions from Linux kernel 7.1 rc1 through rc7, as well as earlier stable releases, are vulnerable. Any vendor‑specific or custom kernel that compiles the nvmem subsystem without the patch is included, regardless of distribution.

Risk and Exploitability

The CVSS score of 7.8 denotes a high severity impact, while an EPSS score of <1% suggests that a successful exploit is unlikely, although it remains possible. The flaw is not listed in the CISA KEV catalog and no public exploits have been reported. Exploitation would require the attacker to trigger the error path in the nvmem subsystem, and while such an attack vector is possible, the practical likelihood is considered low at present. Nonetheless, the potential for significant kernel memory corruption warrants prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the fix, such as the latest stable branch or a distribution’s security‑patched kernel.
  • If immediate kernel upgrade is not feasible, apply the patch directly by backporting the relevant commit(s) from the kernel repository to your current kernel source.
  • As a temporary measure, reduce exposure by limiting user access to the nvmem device nodes (e.g., apply stricter uaccess permissions or disable the nvmem subsystem if not required).

Generated by OpenCVE AI on August 13, 2026 at 14:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8726-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8727-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-3 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8800-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8760-2 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8726-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8903-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8904-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8905-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8906-1 Linux kernel (IBM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8903-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8905-2 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nvmem: core: fix use-after-free bugs in error paths Fix several instances of error paths in which we call __nvmem_device_put() - which may end up freeing the underlying memory and other resources - and then keep on using the nvmem structure. Always put the reference to the nvmem device as the last step before returning the error code.
Title nvmem: core: fix use-after-free bugs in error paths
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:24 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Modified
Published
Jun 25, 2026, 9:16 AM
Modified
Nov 6, 2026, 5:18 PM
Severity
Moderate
Public date
Jun 25, 2026, 12:00 AM