CVE-2023-52520 platform/x86: think-lmi: Fix reference leak
A reference leak in the Linux kernel think-lmi driver can lead to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52520?
CVE-2023-52520 is a medium-severity vulnerability in Linux kernel, published on 2 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2023-52520?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52520?
Apply the vendor's patch.
Is CVE-2023-52520 being exploited?
There is no known exploitation of CVE-2023-52520 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52520, DEBIAN-CVE-2023-52520, GHSA-w2cg-jcf6-hrgr, UBUNTU-CVE-2023-52520.