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 2742830216D for ; Tue, 13 Jan 2026 15:32:22 +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=1768318342; cv=none; b=tK7TFhl7qvEpCVUj5iJcHzNjLpNx2TdDRDBxy+x1YReY8XcAqsiqz/xCJy4Mdw0I8PVOwNekH1HiIfVgLtYOeRZ2Iz8IApYA0aKisks/1xfcrwSIgMuiWgru9oUncgDx4KWAH/D9ai5pUw4zCegTndBgc4hO+wE5ZZQ1RUQf8KU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318342; c=relaxed/simple; bh=emeet2FPyYLUpgqh8fstHA3d11R5Sg4Zphhr9vzUUBo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cpJjxB18RQ80DxsONfT2mznwCrmiizUO8UTpvcY/ps2GnNMcFbWTnE4Z5l2yQkZcVwSFxuinQetUn6GF6BOatUVF5JTfnymvjPMHLngIgHK7ojB/AwQpE7bhtUZ1PP67E5TCUkKhc6Az89wq9i5MzTdZqqfSP+eNv14dPbWF/9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pb37Ts39; 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="pb37Ts39" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2ABBC116C6; Tue, 13 Jan 2026 15:32:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318342; bh=emeet2FPyYLUpgqh8fstHA3d11R5Sg4Zphhr9vzUUBo=; h=From:To:Cc:Subject:Date:Reply-To:From; b=pb37Ts39DdsTJfrSKgWDTL4/a2V7mpuQIsdhwc0UMsS5wdP0myce7UzsSfRL2sQuU IkCaCDgoKzlvkUH8ntyr9frkUlqOSf9YxvXckSp7Mzkcyt2EIlmAryzpvQoA4MK+Gm ttYmD6Tm5fMABK6Ug9xmIg57gyQLbq+mmSe541rw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71077: tpm: Cap the number of PCR banks Date: Tue, 13 Jan 2026 16:31:35 +0100 Message-ID: <2026011327-CVE-2025-71077-6e08@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=2703; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DL64XCnxsfDzooDH9OI8KaArJK+3sT4tI2P9WDT8laE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpqf4zpZss5k7/9cllttjCAsN2rv9b5O9e27lst76g3 xHFiuvbO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiS7cyLDiXGKsVs+zAlxuq ucV7Ev8emndX2IJhwRa9e1Whs54v2j2LU3nxXE9z/495xgA= 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: Cap the number of PCR banks tpm2_get_pcr_allocation() does not cap any upper limit for the number of banks. Cap the limit to eight banks so that out of bounds values coming from external I/O cause on only limited harm. The Linux kernel CVE team has assigned CVE-2025-71077 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit bcfff8384f6c4e6627676ef07ccad9cfacd67849 and fixed in 6.1.160 with commit ceb70d31da5671d298bad94ae6c20e4bbb800f96 Issue introduced in 5.1 with commit bcfff8384f6c4e6627676ef07ccad9cfacd67849 and fixed in 6.6.120 with commit d88481653d74d622d1d0d2c9bad845fc2cc6fd23 Issue introduced in 5.1 with commit bcfff8384f6c4e6627676ef07ccad9cfacd67849 and fixed in 6.12.64 with commit b69492161c056d36789aee42a87a33c18c8ed5e1 Issue introduced in 5.1 with commit bcfff8384f6c4e6627676ef07ccad9cfacd67849 and fixed in 6.18.3 with commit 858344bc9210bea9ab2bdc7e9e331ba84c164e50 Issue introduced in 5.1 with commit bcfff8384f6c4e6627676ef07ccad9cfacd67849 and fixed in 6.19-rc1 with commit faf07e611dfa464b201223a7253e9dc5ee0f3c9e 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-2025-71077 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-chip.c drivers/char/tpm/tpm1-cmd.c drivers/char/tpm/tpm2-cmd.c include/linux/tpm.h 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/ceb70d31da5671d298bad94ae6c20e4bbb800f96 https://git.kernel.org/stable/c/d88481653d74d622d1d0d2c9bad845fc2cc6fd23 https://git.kernel.org/stable/c/b69492161c056d36789aee42a87a33c18c8ed5e1 https://git.kernel.org/stable/c/858344bc9210bea9ab2bdc7e9e331ba84c164e50 https://git.kernel.org/stable/c/faf07e611dfa464b201223a7253e9dc5ee0f3c9e