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: linux kernel
References5
- git.kernel.org/stable/c/40e2a459c0dd1333b2343831480a0ad80dc07614 Patch
- git.kernel.org/stable/c/5b6b6fc491899d583eaa75344e094796ae9b530b Patch
- git.kernel.org/stable/c/cb85ef5a227b3662b88f4d849a1aad43bfe7f5ae Patch
- git.kernel.org/stable/c/e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7 Patch
- git.kernel.org/stable/c/6cdcf0d16c80900f42d60252480cd131c1a83d23
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 2 · as of 16 November 2026
- CWE
- CWE-416
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.