CVE-2026-53156

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

State
Published
Severity
Not scored
Published
Jun 25, 2026
Updated
Oct 21, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e888d445ac33a5b0288d670ecd970908b13f07cd to before 6cdcf0d16c80900f42d60252480cd131c1a83d23Affected
  • e888d445ac33a5b0288d670ecd970908b13f07cd to before e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7Affected
  • e888d445ac33a5b0288d670ecd970908b13f07cd to before cb85ef5a227b3662b88f4d849a1aad43bfe7f5aeAffected
  • e888d445ac33a5b0288d670ecd970908b13f07cd to before 40e2a459c0dd1333b2343831480a0ad80dc07614Affected
  • e888d445ac33a5b0288d670ecd970908b13f07cd to before 5b6b6fc491899d583eaa75344e094796ae9b530bAffected
LinuxLinux
  • 4.20Affected
  • before 4.20Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.94 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.