All reports
Low

kernel: platform/x86: think-lmi: Fix memory leak when showing current settings

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53830

Probability of exploitation in the next 30 days: 0.26%

FIRST EPSS · 2026-11-19

Description

In the Linux kernel, the following vulnerability has been resolved: platform/x86: think-lmi: Fix memory leak when showing current settings When retriving a item string with tlmi_setting(), the result has to be freed using kfree(). In current_value_show() however, malformed item strings are not freed, causing a memory leak. Fix this by eliminating the early return responsible for this.

A memory leak was found in the Lenovo ThinkPad LMI driver in the Linux kernel. When current_value_show() encounters malformed item strings from tlmi_setting(), it returns early without freeing the allocated memory. Repeated reads of sysfs attributes could gradually exhaust kernel memory.