CVE-2023-52520

Source
https://cve.org/CVERecord?id=CVE-2023-52520
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52520.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52520
Downstream
Related
Published
2024-03-02T21:52:28.434Z
Modified
2026-04-11T12:46:31.908078Z
Summary
platform/x86: think-lmi: Fix reference leak
Details

In the Linux kernel, the following vulnerability has been resolved:

platform/x86: think-lmi: Fix reference leak

If a duplicate attribute is found using ksetfindobj(), 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52520.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2023-52520.json"

Linux / Kernel

Package

Name
Kernel

Affected 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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52520.json"