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=1792755467; b=jRK2DWfrgXb4xjQueV9Wwag24ooZ0ccj1TIgB61B3TVJylGwE+ZSArgL21gTv47l4pIe 8wTSFcRE5aMQR6rkFaOfDv0USWxJ7hL8c5Bne7zz9S/equa6DjsC6OpEQj2kR/lDS6UwW VWMrlh0rJrNHLO3c8oVePvRmoCCJhGUDKhMUIwC1+ozOE6n5MuMxQQS9Ov3jiJ/P3UCs+ IeStUpHmLerEEqnb6n3yG0gvcpsJGEUhieI5ZdZvtbuovbhmffyR9twbX0dlYNnU/HmRh 73FqDxP4TQ2XEypj7HKXKanqei/xqOLtM3gxEfjOPIWuk2sG1TfEKrF3KdUXgj1WRbg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792755467; 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=RtEDD4vlRYdyrxiKBNLU6RZjuVP9xZxlPeEPuMvoJUo=; b=qyfmCfvBAmr8wx8N6NW9fQXxaClYFvHhiASzmdttXLIcs7IuJT7akIqbQV6scGdPlaCI rWPc2vQ57hubcWOZvX2v5wKESxG04X0963FZDS1Ve1DUAvFvrBVH1rESGamyUJTIhkuIt xs4Gd40mCl0CPEw9nBhgRjN5zHlCz3X+wW/jMIF/NPotYOhi1+I18tsVmZ6OMjWahdl8M 9VjGK8wPKvNaX/IP01wIb01T+ovSf6/e7Ix2x+m1NBUNYhmFkwiySV29XhUW470T6vJbj 9ChGkMKluFSs9DnogQbLVKQYgQqOTPxMgbAWyQylrFRNZg8RAaUYbI+X/3PsYAr07gQ== 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="sM/InoPn"; 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 F313C606A31A for ; Fri, 23 Oct 2026 11:37:46 +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=sM/InoPn Received: by smtp.kernel.org (Postfix) with ESMTPSA id B40741F01825; Fri, 23 Oct 2026 11:37:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792755466; bh=RtEDD4vlRYdyrxiKBNLU6RZjuVP9xZxlPeEPuMvoJUo=; h=From:To:Cc:Subject:Date:Reply-To; b=sM/InoPna9O6woGUinI+NKgtH8PmbSWZZczaAL8nEHl5N+/YJAe45kk+2Rgrk2oC6 ddKOXvuM53Q7qK7KvjOM9WP0mqhd/qx8vFNvk0y486dyBzX4edRyxgjVy57mdDHayG gHKDQYOsGnN71mdSNlHEbKjPQlIPsGWXnpTnj2w4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98871: crypto: ccp - Fix possible deadlock in SEV init failure path Date: Fri, 23 Oct 2026 13:37:19 +0200 Message-ID: <2026102320-CVE-2026-98871-ca33@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=2626; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/9TAVAYbxcEKITtnmn/x+6p7jAtXnzae3Jl8boWicW4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm33T5sLIqUZI0xk3zsapz/fyan282De5+uOZ13VTZv/ vN1rzo1O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi7xYzLDh0+N1iDuVJSlUd rgoRwkc2pqVNbWZY0HUuPG+xxdfw6XrHOTs1V8y6fm1lEQA= 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: crypto: ccp - Fix possible deadlock in SEV init failure path __sev_platform_init_handle_init_ex_path() calls rmp_mark_pages_firmware() with locked=false while the parent function of init_ex_path already acquired the sev_cmd_mutex. In the case of an RMPUPDATE failure for any page after the first, the cleanup path would invoke reclaim pages which would result in a deadlock in sev_do_cmd. Pass locked=true to honor the lock status of the parent function. The Linux kernel CVE team has assigned CVE-2026-98871 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 7364a6fbca45f826952ea932699fb2171d06ee73 and fixed in 6.12.111 with commit 8e7e06ee7c2938ee3fa31a61cc5289a45c8c13f1 Issue introduced in 6.9 with commit 7364a6fbca45f826952ea932699fb2171d06ee73 and fixed in 6.18.53 with commit ffd3a3df92be697eb78118a146c6a5d5e6c1f724 Issue introduced in 6.9 with commit 7364a6fbca45f826952ea932699fb2171d06ee73 and fixed in 7.2.6 with commit 364f3841bc22c72b6e2cb72a1e3c91c9c8fc1ef4 Issue introduced in 6.9 with commit 7364a6fbca45f826952ea932699fb2171d06ee73 and fixed in 7.3 with commit b0e7ec0dab242c5e480121ba12400d0513e37ca2 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-98871 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/crypto/ccp/sev-dev.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/8e7e06ee7c2938ee3fa31a61cc5289a45c8c13f1 https://git.kernel.org/stable/c/ffd3a3df92be697eb78118a146c6a5d5e6c1f724 https://git.kernel.org/stable/c/364f3841bc22c72b6e2cb72a1e3c91c9c8fc1ef4 https://git.kernel.org/stable/c/b0e7ec0dab242c5e480121ba12400d0513e37ca2