Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 89FB2371D1D for ; Sat, 25 Jul 2026 08:53:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969588; cv=none; b=ZkQ0ICCe0IN24QqjbVER72ROdzMKLT7wGG6o4MGQJMkgnBT6hwjO1f4/ej0Iuddyk7N5uwtG8C+SUWI0Y1ZpmIgm2RSdiEQfcmk4FcovimvzL8MMI2XR3fBW1dEoU/0d3UbWO1LPoHuBNo51Isd+5VBTIw3yuKVWnFLbKrDgors= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969588; c=relaxed/simple; bh=vKj5w09TEDY30QiKDH9CqWJ+//GJ9fU1pyoTOdiKz9c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OTO4E4bGB++J1XKw0uMSS8K5fgipzinRIgbiyM/B0aVzqDyWi1UaLtdskbGo7sOsDK3RIM8Y/1uG25Qw1wAF7qDYrzXgvfdCrrWVqXsyfZSEtyeJuq4JH74B8MdTsSNLt7czrTeRyRsqqHTIWHlnqs7qb76PvP3yKNIIQ2Kjk44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ENGCJvB0; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ENGCJvB0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4BE11F000E9; Sat, 25 Jul 2026 08:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969587; bh=21/Pkg/wqBNSmd1y/36H/3BzNO9uit6+Qc691UDcRtg=; h=From:To:Cc:Subject:Date:Reply-To; b=ENGCJvB0VFnL4d3uB1DLAq08d8XNLc38mFLWrC1dW0x5D1ttC5dRVGbAcvD1d57vh 0f6OeH51Ad3U76Ln7L17QtCIRgpESDFkd46l6gylSvSCwS+BOpnPmqCpRH5G+J2KZa vS211notljkpqAJ6WYlM9j9Xg/DJXNQkEzdLZcTw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64309: crypto: ccp - Do not initialize SNP for ioctl(SNP_COMMIT) Date: Sat, 25 Jul 2026 10:48:46 +0200 Message-ID: <2026072508-CVE-2026-64309-77b5@gregkh> X-Mailer: git-send-email 2.55.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=2925; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=88GZiPFbMBlxbZhSHCP1y5wt5flYeGbbh1aHgHWOGYI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFR72xqeirxnf4nwd+lRly+2ZXDpfl3qv0WwL2fJCR Tw95/n1jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIPAOGeRYWmkLf1rUn91T+ M/2kE+VbalbDzTDPYM/5mn3ZBxs8dQI/Ms6sbUm8NmM+AA== 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 - Do not initialize SNP for ioctl(SNP_COMMIT) Sashiko notes: > if SEV initialization fails and KVM is actively running normal VMs, could a > userspace process trigger this code path via /dev/sev ioctls (e.g., > SEV_PDH_GEN) and zero out MSR_VM_HSAVE_PA globally? Would the next VMRUN > execution for an active VM trigger a general protection fault and crash the > host? The SNP_COMMIT command does not require the firmware to be in any particular state. Skip initializing it if it was previously uninitialized. The SEV-SNP firmware specification doc 56860 does not mention SNP_COMMIT in Table 5 as a command that is allowed in the UNINIT state, but it is in fact allowed and a future documentation update will reflect that. The Linux kernel CVE team has assigned CVE-2026-64309 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.75 with commit 1c3506ea8599a3ad1b9aae5cbd573134f8d18db7 and fixed in 6.12.96 with commit 74768f73854d647a6462f252dc8782ab8a835211 Issue introduced in 6.16 with commit ceac7fb89e8da465aec3ac3c20477f912f5c3a6c and fixed in 6.18.39 with commit 7a361c74bb12f3398c388905f1d325be642cd36e Issue introduced in 6.16 with commit ceac7fb89e8da465aec3ac3c20477f912f5c3a6c and fixed in 7.1.4 with commit 67ed191b4c8bdf432a3f32d1eb302880b4795cd1 Issue introduced in 6.16 with commit ceac7fb89e8da465aec3ac3c20477f912f5c3a6c and fixed in 7.2-rc1 with commit 5a1364da2f04217a36e2fdfa2db4ee025b383a20 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-64309 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/74768f73854d647a6462f252dc8782ab8a835211 https://git.kernel.org/stable/c/7a361c74bb12f3398c388905f1d325be642cd36e https://git.kernel.org/stable/c/67ed191b4c8bdf432a3f32d1eb302880b4795cd1 https://git.kernel.org/stable/c/5a1364da2f04217a36e2fdfa2db4ee025b383a20