CVE-2023-52520

platform/x86: think-lmi: Fix reference leak

published March 2, 2024

CVSS
—
EPSS
0%
Percentile
14.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00241 · 14.3th percentile
Published
2024-03-02T21:52Z
EPSS history
Timeline
  • 02 MAR 21:52Z
    platform/x86: think-lmi: Fix reference leak
    cvelistv5