{"id":"CVE-2023-52520","summary":"platform/x86: think-lmi: Fix reference leak","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/x86: think-lmi: Fix reference leak\n\nIf a duplicate attribute is found using kset_find_obj(), a reference\nto that attribute is returned which needs to be disposed accordingly\nusing kobject_put(). Move the setting name validation into a separate\nfunction to allow for this change without having to duplicate the\ncleanup code for this setting.\nAs a side note, a very similar bug was fixed in\ncommit 7295a996fdab (\"platform/x86: dell-sysman: Fix reference leak\"),\nso it seems that the bug was copied from that driver.\n\nCompile-tested only.","modified":"2026-04-02T09:42:58.885202Z","published":"2024-03-02T21:52:28.434Z","related":["ALSA-2024:3618","ALSA-2024:3627","SUSE-SU-2024:1320-1","SUSE-SU-2024:1321-1","SUSE-SU-2024:1466-1","SUSE-SU-2024:1480-1","SUSE-SU-2024:1490-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52520.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/124cf0ea4b82e1444ec8c7420af4e7db5558c293"},{"type":"WEB","url":"https://git.kernel.org/stable/c/528ab3e605cabf2f9c9bd5944d3bfe15f6e94f81"},{"type":"WEB","url":"https://git.kernel.org/stable/c/af21c9119a37cecb7ff27ce0c2f3cf721e9d0ec4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c6e3023579de8d33256771ac0745239029e81106"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52520.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52520"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1bcad8e510b27ad843315ab2c27ccf459e3acded"},{"fixed":"124cf0ea4b82e1444ec8c7420af4e7db5558c293"},{"fixed":"af21c9119a37cecb7ff27ce0c2f3cf721e9d0ec4"},{"fixed":"c6e3023579de8d33256771ac0745239029e81106"},{"fixed":"528ab3e605cabf2f9c9bd5944d3bfe15f6e94f81"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52520.json"}}],"schema_version":"1.7.5"}