Vulnerabilities · 2023 · Linux
CVE-2023-52929
Linux Kernel vulnerability
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.]
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/23676ecd2eb377f7c24a6ff578b0f4c7135658b6 · Patch
- git.kernel.org/stable/c/39708bc8da7858de0bed9b3a88b3beb1d1e0b443 · Patch
- git.kernel.org/stable/c/560181d3ace61825f4ca9dd3481d6c0ee6709fa8 · Patch
- git.kernel.org/stable/c/8f9c4b2a3b132bf6698e477aba6ee194b40c75f4 · Patch
- nvd.nist.gov/vuln/detail/CVE-2023-52929
- cve.org/CVERecord?id=CVE-2023-52929
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.