# CVE-2023-52520: platform/x86: think-lmi: Fix reference leak

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-03-02T21:52:28.434Z
- Modified: 2026-06-17T06:42:55.313Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1bcad8e510b27ad843315ab2c27ccf459e3acded before 124cf0ea4b82e1444ec8c7420af4e7db5558c293; from 1bcad8e510b27ad843315ab2c27ccf459e3acded before af21c9119a37cecb7ff27ce0c2f3cf721e9d0ec4; from 1bcad8e510b27ad843315ab2c27ccf459e3acded before c6e3023579de8d33256771ac0745239029e81106; from 1bcad8e510b27ad843315ab2c27ccf459e3acded before 528ab3e605cabf2f9c9bd5944d3bfe15f6e94f81; 5.14 (not affected: before 5.14; from 5.15.136 up to 5.15.*; from 6.1.59 up to 6.1.*; from 6.5.8 up to 6.5.*; from 6.6 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/124cf0ea4b82e1444ec8c7420af4e7db5558c293> (patch)
- <https://git.kernel.org/stable/c/af21c9119a37cecb7ff27ce0c2f3cf721e9d0ec4> (patch)
- <https://git.kernel.org/stable/c/c6e3023579de8d33256771ac0745239029e81106> (patch)
- <https://git.kernel.org/stable/c/528ab3e605cabf2f9c9bd5944d3bfe15f6e94f81> (patch)

## Sources

- CVE List: [CVE-2023-52520](https://www.cve.org/CVERecord?id=CVE-2023-52520), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52520](https://nvd.nist.gov/vuln/detail/CVE-2023-52520), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52520 · Whole record: https://cve.day/CVE-2023-52520.json · Rebuilt by cve.day 2026-11-25T22:58:33.162Z
