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.
Product status
0fdf10e5fc964c315cf131a2eaab9cc531a9f40f (git) before b9396d991abe8d1ac31a043274ab20b49f92c2e6
0fdf10e5fc964c315cf131a2eaab9cc531a9f40f (git) before 9071525bfcb1f5674117dbed3eca0cd7b122813b
0fdf10e5fc964c315cf131a2eaab9cc531a9f40f (git) before 5f99014c19fa50a5719c0bb78143282632675893
0fdf10e5fc964c315cf131a2eaab9cc531a9f40f (git) before a3c4c053014585dcf20f4df954791b74d8a8afcd
5.14
Any version before 5.14
5.15.107 (semver)
6.1.24 (semver)
6.2.11 (semver)
6.3 (original_commit_for_fix)
References
git.kernel.org/...c/b9396d991abe8d1ac31a043274ab20b49f92c2e6
git.kernel.org/...c/9071525bfcb1f5674117dbed3eca0cd7b122813b
git.kernel.org/...c/5f99014c19fa50a5719c0bb78143282632675893
git.kernel.org/...c/a3c4c053014585dcf20f4df954791b74d8a8afcd