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

CVE-2026-53156
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e888d445ac33a5b0288d670ecd970908b13f07cd < 6cdcf0d16c80900f42d60252480cd131c1a83d23 ; affected e888d445ac33a5b0288d670ecd970908b13f07cd < e0d38bf47a72da2f02c9fa6f752cd66d977cd7f7 ; affected e888d445ac33a5b0288d670ecd970908b13f07cd < cb85ef5a227b3662b88f4d849a1aad43bfe7f5ae ; affected e888d445ac33a5b0288d670ecd970908b13f07cd < 40e2a459c0dd1333b2343831480a0ad80dc07614 ; affected e888d445ac33a5b0288d670ecd970908b13f07cd < 5b6b6fc491899d583eaa75344e094796ae9b530b
Linux · Linuxaffected 4.20 ; unaffected 0 < 4.20 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.94 ≤ 6.12.* ; unaffected 6.18.36 ≤ 6.18.* ; unaffected 7.0.13 ≤ 7.0.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD