Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793635481; b=iZ7CIyIJVxUv5oOUmkyZQ3g/BfKWRstLcC29FHTBNvWGFfT5U7i/2F1X6Bs7oldlw6Dt O8Ius6+3DiOxTUzk2JRVZ6aKnGbFpF4L11OM6WbQ9WdqKM6uJ1WmyTi41ZDgqd2sXip6C CTyWX/MJ8rzt9W+RgQnZgTh/3/TSrAXr29qqP8z94St9zT0PWRjlmuXqxigjBOyUPX8K7 g3VegT9lxyPzAZ+DQYW36jXzYPDssc0Ghq2H71MVz5PWDcMNZDcyyiyvfhc9blHsrXHlN kFSSlk3yZlW6FjhkeBFiXnsmEILb0aie4Fom8bDrgu+AzxovRm9ZomtsHAx8DbZm4zA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793635481; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=m8b91ll3xpiceg6pYnhsMto4WQ2C6udrWLbOFnUDpGA=; b=tk/9DOCfOX9OMCOZ2QMAObZuKaO0GeTadg35LtMgdgIg2KwLk3uUjtAMxqVBFQe2qgf8 zRCwycnFPbi6onpz7xcuWazkjF+NtcA1cB1N3xtswXEKrlhcTaEVNkRhoIgixwiGVf4Hf bWST+J5kQdvGdvabQ4DnIRHOYDY1eL17myC1Acs3oRfk30nSLYYu+cSXOdAyjWvnAJBPY NozL/IwGKZEuy9j3i8LSOj4rYLknC1SyH90ylTg9kaPQaMzWjhQTpUr4fmWcIZk4xN9Er uChVp3HSFaSNZRnkJGa/wSuHIlirGsSkheBflhMdmMA7AnV+D0prGEjGgatMJ/+2UYw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=F5TE14Qj; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4308B6070398 for ; Mon, 2 Nov 2026 16:04:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=F5TE14Qj Received: by smtp.kernel.org (Postfix) with ESMTPSA id D67591F00A1B; Mon, 2 Nov 2026 16:04:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793635481; bh=m8b91ll3xpiceg6pYnhsMto4WQ2C6udrWLbOFnUDpGA=; h=From:To:Cc:Subject:Date:Reply-To; b=F5TE14QjgggPzKORXAuR4jndZAHFYx2tm3+t6vTckx5VyCNBMtzJdP4vK8Fc0J5/X X1nd0s3XDEqEpZrlyZs86kv5xg15m0GBG3gYcGKQzuFSk2fWoDqb5DFzxH2KT/FrC2 PTPqX1Ht0S/w1Tx4jGMqDU+5BCQdBvMPAoTxAkt4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99221: keys/trusted_keys: return immediately after TPM unseal failure Date: Mon, 2 Nov 2026 17:04:04 +0100 Message-ID: <2026110203-CVE-2026-99221-8abe@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3270; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/bityQzdKc0qaaiydaEWAeqiA+rE74oxqXdpo9TmeNw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkvthRbn910cSJn0sHeam6pSdaNqv3X2y4I3lxZJhjJ0 zBfwvpJRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykuJlhfs53Z6tdexUUr28q NVhS+erYd+t7eQwLbgYcD+pqy6qwPOjr2XjkG4d4zY8cAA== 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: keys/trusted_keys: return immediately after TPM unseal failure trusted_tpm_unseal() proceeds to pcrlock() when the TPM unseal operation fails. If pcrlock() succeeds, its return value overwrites the unseal error, causing key instantiation to succeed. Return immediately when unseal fails to preserve the original error. The Linux kernel CVE team has assigned CVE-2026-99221 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 5d0682be318910e028bdf57c90a1695ffc34be37 and fixed in 5.15.224 with commit 4876f09ce222e140a73aad950882b3605440c935 Issue introduced in 5.13 with commit 5d0682be318910e028bdf57c90a1695ffc34be37 and fixed in 6.1.191 with commit 2d92a0f87c338a08367aff05edd1ade86da4ac8d Issue introduced in 5.13 with commit 5d0682be318910e028bdf57c90a1695ffc34be37 and fixed in 6.6.161 with commit 234d09bb3b3d84851d4b3246272addc30f3353eb Issue introduced in 5.13 with commit 5d0682be318910e028bdf57c90a1695ffc34be37 and fixed in 6.12.115 with commit 6e359d8cb8580b9874801dea930086effd4d9c62 Issue introduced in 5.13 with commit 5d0682be318910e028bdf57c90a1695ffc34be37 and fixed in 6.18.60 with commit e55d48f21f591a9fe80d26b5fbd1912ea725d9e6 Issue introduced in 5.13 with commit 5d0682be318910e028bdf57c90a1695ffc34be37 and fixed in 7.2.14 with commit 63b19ec2863b2cb5279b746ecd3d6210b1a93945 Issue introduced in 5.13 with commit 5d0682be318910e028bdf57c90a1695ffc34be37 and fixed in 7.3.1 with commit ed697a5f667435bbb1cedbe5bd9f300de645047d 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-2026-99221 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: security/keys/trusted-keys/trusted_tpm1.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/4876f09ce222e140a73aad950882b3605440c935 https://git.kernel.org/stable/c/2d92a0f87c338a08367aff05edd1ade86da4ac8d https://git.kernel.org/stable/c/234d09bb3b3d84851d4b3246272addc30f3353eb https://git.kernel.org/stable/c/6e359d8cb8580b9874801dea930086effd4d9c62 https://git.kernel.org/stable/c/e55d48f21f591a9fe80d26b5fbd1912ea725d9e6 https://git.kernel.org/stable/c/63b19ec2863b2cb5279b746ecd3d6210b1a93945 https://git.kernel.org/stable/c/ed697a5f667435bbb1cedbe5bd9f300de645047d https://git.kernel.org/stable/c/f92d0ccb05bf9089072cb067dda0dffd5394c4ef