platform/x86: think-lmi: Fix reference leak
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.136, 6.1.59, 6.5.8
- CVEs
- CVE-2023-52520
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:59 UTC · Revision 1
Source evidence
platform/x86: think-lmi: Fix reference leak
core-osv · Original sourcePublished 2 Mar 2024, 21:52 UTC
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.
osv:CVE-2023-52520
Kernel
Fixed versions: 5.15.136, 6.1.59, 6.5.8
Complete source record
{
"id": "1b85fd133ca08270f5ec8957b2cddeb14e1bd059498915da059432111265aa7a",
"url": "https://osv.dev/vulnerability/CVE-2023-52520",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "platform/x86: think-lmi: Fix reference leak",
"summary": "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.",
"evidence": "osv:CVE-2023-52520",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.136",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.59",
"evidence": "/affected/1/ranges"
},
{
"value": "6.5.8",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2023-52520",
"aliases": [
"CVE-2023-52520"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "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"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.14.0"
},
{
"fixed": "5.15.136"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.59"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.5.8"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52520.json"
}
}
],
"modified": "2026-10-28T02:30:38.128251822Z",
"provider": "osv",
"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://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52520.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-52520",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52520.json"
}
},
"related_cves": [
{
"value": "CVE-2023-52520",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 505063,
"published_at": "2024-03-02T21:52:28.434+00:00"
}