What’s Vulnerable › Vulnerabilities
CVE-2023-52520: platform/x86: think-lmi: Fix reference leak
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-02 · updated 2026-06-17
Description
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: from 5.14 before 5.15.136; from 5.16 before 6.1.59; from 6.2 before 6.5.8; 6.6-rc1, 6.6-rc2, 6.6-rc3, 6.6-rc4 — fixed in 5.15.136, 6.1.59, 6.5.8
How to fix
Upgrade to a fixed version: Linux kernel 5.15.136, 6.1.59, 6.5.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/124cf0ea4b82e1444ec8c7420af4e7db5558c293
- https://git.kernel.org/stable/c/528ab3e605cabf2f9c9bd5944d3bfe15f6e94f81
- https://git.kernel.org/stable/c/af21c9119a37cecb7ff27ce0c2f3cf721e9d0ec4
- https://git.kernel.org/stable/c/c6e3023579de8d33256771ac0745239029e81106
- https://git.kernel.org/stable/c/124cf0ea4b82e1444ec8c7420af4e7db5558c293
- https://git.kernel.org/stable/c/528ab3e605cabf2f9c9bd5944d3bfe15f6e94f81
- https://git.kernel.org/stable/c/af21c9119a37cecb7ff27ce0c2f3cf721e9d0ec4
- https://git.kernel.org/stable/c/c6e3023579de8d33256771ac0745239029e81106
Get alerted when CVE-2023-52520 or the next vulnerability affects your stack