CVE-2023-52929
Last modified
CVE-2023-52929 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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 estimates a 0.23% chance of exploitation in the next 30 days.
Description
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.]
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.1, < 6.1.11 | — |
| Linux | Linux Kernel | 6.2 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2023-52929?
How severe is CVE-2023-52929?
How do I fix CVE-2023-52929?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-52923In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52924In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52925In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52926In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52927In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52928In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-5293A vulnerability, which was classified as critical, was found…6.5
- CVE-2023-52930In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52931In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-52932In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52933In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-52934In the Linux kernel, the following vulnerability has been re…4.7
Are you affected by CVE-2023-52929?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
