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.
Published: 2026-06-25
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

No advisories yet.

History

Fri, 26 Jun 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Fri, 26 Jun 2026 00:15:00 +0000

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


Thu, 25 Jun 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 25 Jun 2026 09:15:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-25T08:38:39.495Z

Reserved: 2026-06-09T07:44:35.388Z

Link: CVE-2026-53156

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-25T09:16:32.980

Modified: 2026-07-06T16:41:14.443

Link: CVE-2026-53156

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-25T00:00:00Z

Links: CVE-2026-53156 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T14:30:18Z

Weaknesses