# CVE-2026-53156: nvmem: core: fix use-after-free bugs in error paths

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-25T08:38:39.495Z
- Modified: 2026-11-06T17:18:11.733Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e888d445ac33a5b0288d670ecd970908b13f07cd before 6cdcf0d16c80900f42d60252480cd131c1a83d23; from e888d445ac33a5b0288d670ecd970908b13f07cd before e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7; from e888d445ac33a5b0288d670ecd970908b13f07cd before cb85ef5a227b3662b88f4d849a1aad43bfe7f5ae; from e888d445ac33a5b0288d670ecd970908b13f07cd before 40e2a459c0dd1333b2343831480a0ad80dc07614; from e888d445ac33a5b0288d670ecd970908b13f07cd before 5b6b6fc491899d583eaa75344e094796ae9b530b; 4.20 (not affected: before 4.20; from 6.6.160 up to 6.6.*; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.20 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/6cdcf0d16c80900f42d60252480cd131c1a83d23>
- <https://git.kernel.org/stable/c/e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7> (patch)
- <https://git.kernel.org/stable/c/cb85ef5a227b3662b88f4d849a1aad43bfe7f5ae> (patch)
- <https://git.kernel.org/stable/c/40e2a459c0dd1333b2343831480a0ad80dc07614> (patch)
- <https://git.kernel.org/stable/c/5b6b6fc491899d583eaa75344e094796ae9b530b> (patch)

## Sources

- CVE List: [CVE-2026-53156](https://www.cve.org/CVERecord?id=CVE-2026-53156), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53156](https://nvd.nist.gov/vuln/detail/CVE-2026-53156), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53156 · Whole record: https://cve.day/CVE-2026-53156.json · Rebuilt by cve.day 2026-11-25T22:59:25.848Z
