Vulnerabilities · 2023 · Linux
CVE-2023-52520
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: platform/x86: think-lmi: Fix reference leak If a duplicate attribute is found using kset_find_obj(), a reference to that attribute is returned which needs to be disposed accordingly using kobject_put(). Move the setting name validation into a separate function to allow for this change without having to duplicate the cleanup code for this setting. As a side note, a very similar bug was fixed in commit 7295a996fdab ("platform/x86: dell-sysman: Fix reference leak"), so it seems that the bug was copied from that driver. Compile-tested only.
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/124cf0ea4b82e1444ec8c7420af4e7db5558c293 · Patch
- git.kernel.org/stable/c/528ab3e605cabf2f9c9bd5944d3bfe15f6e94f81 · Patch
- git.kernel.org/stable/c/af21c9119a37cecb7ff27ce0c2f3cf721e9d0ec4 · Patch
- git.kernel.org/stable/c/c6e3023579de8d33256771ac0745239029e81106 · Patch
- nvd.nist.gov/vuln/detail/CVE-2023-52520
- cve.org/CVERecord?id=CVE-2023-52520
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.