← CVE Intelligence

CVE-2023-53830

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f before b9396d991abe8d1ac31a043274ab20b49f92c2e6; affected 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f before 9071525bfcb1f5674117dbed3eca0cd7b122813b; affected 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f before 5f99014c19fa50a5719c0bb78143282632675893; affected 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f before a3c4c053014585dcf20f4df954791b74d8a8afcd
Linux / Linuxaffected 5.14; unaffected 0 before 5.14; unaffected 5.15.107 through 5.15.*; unaffected 6.1.24 through 6.1.*; unaffected 6.2.11 through 6.2.*; unaffected 6.3 through *

CWE

No CWE identifiers supplied.

References