Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 292032E22B5 for ; Tue, 9 Dec 2025 01:33:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765244014; cv=none; b=F5z/H2sztW0lUk9VnrhU2nLM8A+znoiIOAaW2vrL5jKnLcfm1LPY78w5Hq8TwhiWkpJDrSugsgiQ091XOy2wkBpQuDoSwPNQfZlSH8uL/wSeswxqmqeiMgigr8vWuMH+t3ElI24uWvCms80FTpIeIsUP3/a6C0u9HP26DXG0TfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765244014; c=relaxed/simple; bh=SBOda0F91Ladk8ykt0BQ72JREk7fEprUWWDSjGY9CuI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HyTmYAsUsyZkriwUk8Gq0mlrwelN8yNjy8TweifMLH9tmKUnBm9UJbmqx1kEqrFGnS4APKvbAW+vvKou6n65Cc9teiVBgzJC6UowkOrx15G0Vy33GoFs/TnExZSl97Duz7jIvIZFBqjhEzrVCFDeV07KMBh6cxMcVJ8Ctxx3c/I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gLvvCkRy; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gLvvCkRy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 48016C4CEF1; Tue, 9 Dec 2025 01:33:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765244013; bh=SBOda0F91Ladk8ykt0BQ72JREk7fEprUWWDSjGY9CuI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=gLvvCkRysgq1IaO6ZAdZZQxorsnQgid/0jiMg92vXuP8aXMY9rZIQJeW3MhIYDuyc AWa7Rm+6hBSHwFh8dM+FUYhqpHQ54JGRM7wISq1jpFLRcSe6qOq6ygMy7umq1faAl4 o9vnSwRqZnBI6ScGBV+m3ZfIkNj42L2UW4/ToLSE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53830: platform/x86: think-lmi: Fix memory leak when showing current settings Date: Tue, 9 Dec 2025 10:31:14 +0900 Message-ID: <2025120953-CVE-2023-53830-7785@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2494; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wLbwWaTQCBXEweFikZQoiucvo7o8C9LADTI0ONr2+WU=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnm1WdVPsXMq3iSOEm2IiBa8k50S//Wa1yefuktZ83+a vwtu/+/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYiqMIwV+Tb7hMpq9gb7RuW vDmW75CkEN0VyrBgou1Pwb/r51Y9V+2fkpl85ZHkPWYWAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2023-53830 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f and fixed in 5.15.107 with commit b9396d991abe8d1ac31a043274ab20b49f92c2e6 Issue introduced in 5.14 with commit 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f and fixed in 6.1.24 with commit 9071525bfcb1f5674117dbed3eca0cd7b122813b Issue introduced in 5.14 with commit 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f and fixed in 6.2.11 with commit 5f99014c19fa50a5719c0bb78143282632675893 Issue introduced in 5.14 with commit 0fdf10e5fc964c315cf131a2eaab9cc531a9f40f and fixed in 6.3 with commit a3c4c053014585dcf20f4df954791b74d8a8afcd Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2023-53830 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/platform/x86/think-lmi.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/b9396d991abe8d1ac31a043274ab20b49f92c2e6 https://git.kernel.org/stable/c/9071525bfcb1f5674117dbed3eca0cd7b122813b https://git.kernel.org/stable/c/5f99014c19fa50a5719c0bb78143282632675893 https://git.kernel.org/stable/c/a3c4c053014585dcf20f4df954791b74d8a8afcd