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 6526B28D830 for ; Tue, 30 Dec 2025 12:09:58 +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=1767096598; cv=none; b=Glzqx+52LuoSKDieVhJsZqjE37vbrnwe/gurxCjRPtfqR/Pp/UzzEHShwuaB0+0TY13FnX1UaQ9XFwaM07lmuB/9CaWejyseJW4zSfzJLuhfDE8Mg9F08iBnH6NuP1E/qci3o2AE7ZZ/k9SVwfGO4IazM2ZJ2TszEGARtlxTSVk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096598; c=relaxed/simple; bh=OgOBeOcijYR/acKGbRpoRYyrmdYpNtBXy/L+V7D16hg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nLfkZN2m6fntaSestCpQLA0BcfCuAsLHopR5I367njgmW0GCcLNSdby5FUgeeWyCTr7oZ0FRmlb1g0e2ubke+D/EigtC0K4TCKjvYv+2bXblnNj2xE1CwpdrNdlq5A7SH3lX5NYKx3+hhr88fBR8cdd+qxkv5/6mooM1gb3mBSM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RKGrzkXK; 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="RKGrzkXK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E12A4C4CEFB; Tue, 30 Dec 2025 12:09:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096598; bh=OgOBeOcijYR/acKGbRpoRYyrmdYpNtBXy/L+V7D16hg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=RKGrzkXKXQsgI9TdmQ3pSDIR6mYjz6GQdD1OvcolEE8RRaLxkKtY2rMvcVBfGRFeL 2VQD1CxZqFIGyFQ955fM+vbrn3gt/YgKYWZXhqaB3ozdeo4urGtEQjZSroKfBTaGVd SAi2Qe0Cogx/UJW2XtkQHcJ4vrtOU6LmW9K0Bkkk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50824: tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak Date: Tue, 30 Dec 2025 13:09:28 +0100 Message-ID: <2025123017-CVE-2022-50824-8dc8@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=3324; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lFTsGMIXnbfEhTm11/gVglFssJgY+OdgyuDAcDufDZg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB97e22Mn76HpUzJv4eVdXbJM21MYP3qf6NzjEhy36 pW9/qwXHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARQV6GBbMfLDi79tKs0GVS 6rsPvJq14ixjpB/DgkWSDYm7YhaJ7OA91Pw5+kDX3HlRFgA= 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: tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak In check_acpi_tpm2(), we get the TPM2 table just to make sure the table is there, not used after the init, so the acpi_put_table() should be added to release the ACPI memory. The Linux kernel CVE team has assigned CVE-2022-50824 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 4cb586a188d468e05649575f0689dd2bf8c122e6 and fixed in 4.14.303 with commit 8bc6c10d3f389693410adb14b4e9deec01ff6334 Issue introduced in 4.13 with commit 4cb586a188d468e05649575f0689dd2bf8c122e6 and fixed in 4.19.270 with commit de667a2704ae799f697fd45cf4317623d8c79fb7 Issue introduced in 4.13 with commit 4cb586a188d468e05649575f0689dd2bf8c122e6 and fixed in 5.4.229 with commit e027f3b9fabd2b410a4e6a7651e7a45b87019f23 Issue introduced in 4.13 with commit 4cb586a188d468e05649575f0689dd2bf8c122e6 and fixed in 5.10.163 with commit 3b6c822238da9ee8984803355601bcc603d49cb5 Issue introduced in 4.13 with commit 4cb586a188d468e05649575f0689dd2bf8c122e6 and fixed in 5.15.87 with commit 43135fb098126ef2cd6ed584900fd7bfa25f95ce Issue introduced in 4.13 with commit 4cb586a188d468e05649575f0689dd2bf8c122e6 and fixed in 6.0.17 with commit e0d1cf8ef84bb14a673215699fb8acc187aa2c4a Issue introduced in 4.13 with commit 4cb586a188d468e05649575f0689dd2bf8c122e6 and fixed in 6.1.3 with commit e60fa800a32a693d672b1a091424d780278c4587 Issue introduced in 4.13 with commit 4cb586a188d468e05649575f0689dd2bf8c122e6 and fixed in 6.2 with commit db9622f762104459ff87ecdf885cc42c18053fd9 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-2022-50824 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/char/tpm/tpm_tis.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/8bc6c10d3f389693410adb14b4e9deec01ff6334 https://git.kernel.org/stable/c/de667a2704ae799f697fd45cf4317623d8c79fb7 https://git.kernel.org/stable/c/e027f3b9fabd2b410a4e6a7651e7a45b87019f23 https://git.kernel.org/stable/c/3b6c822238da9ee8984803355601bcc603d49cb5 https://git.kernel.org/stable/c/43135fb098126ef2cd6ed584900fd7bfa25f95ce https://git.kernel.org/stable/c/e0d1cf8ef84bb14a673215699fb8acc187aa2c4a https://git.kernel.org/stable/c/e60fa800a32a693d672b1a091424d780278c4587 https://git.kernel.org/stable/c/db9622f762104459ff87ecdf885cc42c18053fd9