What’s Vulnerable › Vulnerabilities
CVE-2026-53156: nvmem: core: fix use-after-free bugs in error paths
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-25 · updated 2026-10-21
- Weakness: CWE-416
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.
Affected products
- 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-rc1, 7.1-rc2, 7.1-rc3, 7.1-rc4, 7.1-rc5, 7.1-rc6 (+1) — fixed in 6.12.94, 6.18.36, 7.0.13
How to fix
Upgrade to a fixed version: Linux kernel 6.12.94, 6.18.36, 7.0.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/40e2a459c0dd1333b2343831480a0ad80dc07614
- https://git.kernel.org/stable/c/5b6b6fc491899d583eaa75344e094796ae9b530b
- https://git.kernel.org/stable/c/6cdcf0d16c80900f42d60252480cd131c1a83d23
- https://git.kernel.org/stable/c/cb85ef5a227b3662b88f4d849a1aad43bfe7f5ae
- https://git.kernel.org/stable/c/e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7
Get alerted when CVE-2026-53156 or the next vulnerability affects your stack