Vulnerability in Linux
CVE-2023-52929
In the Linux kernel, the following vulnerability has been resolved: nvmem: core: fix cleanup after dev_set_name() If dev_set_name() fails, we leak nvmem->wp_gpio as the cleanup does not put this. While a minimal fix for this would be to add the gpiod_put() call, we can do better if we split device_register(), and use the tested nvmem_release() cleanup code by initialising the device early, and putting the device. This results in a slightly larger fix, but results in clear code. Note: this patch depends on "nvmem: core: initialise nvmem->id early" and "nvmem: core: remove nvmem_config wp_gpio". [Srini: Fixed subject line and error code handing with wp_gpio while applying.]
EPSS: 0.002 (13.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions a19a0f67dbb89ad2bfc466f2003841acba645884, 14eea6449473c1f55e196cc104ba16d144465869, 5544e90c81261e82e02bbf7c6015a4b9c8c825ef
- Linux Linux_kernel — versions 6.2
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2023-52929?
- CVE-2023-52929 is a medium-severity vulnerability in Linux, classified under Incomplete Cleanup. CVSS score: 5.5/10. Published 2025-03-27.
- How severe is CVE-2023-52929?
- Medium severity. CVSS v3 base score is 5.5 out of 10.