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 B889E36D9E0 for ; Sat, 25 Jul 2026 08:53:04 +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=1784969585; cv=none; b=XJdtI28cXGIyN4mmsCDFP95LSwOlV7s4ZB88Uq4YYgjWStt4uWRhmt7yBzSSMKsEkqxKCRoL8YuTFXvHRZDkgJQHlq/sDonan8zr4weVsmaqQjZGIoJmSCtDrY5VQhynkLqEGDHR/D1ZbrgoJxUqxY5M+0RfME+PXRKZl73Cn6Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784969585; c=relaxed/simple; bh=bRqICTpZBt951tyjxIcauJRRZv9c4pF2R6Ef/0Uz+Nk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OljsQtN00wRmsDhIuJwzavOsytXNyg906iQeDKVZBdt3MN96cw0IhCbjWSdaozF5KfRm3BHDwqlPFQziCQG0HZMeZpMRa6Rw8XJxAwiktOZcT2pKUP4bSR0g5opjj9XqCkKAARSMBQFqngqX5dXnXh+C/hyLPpIIqyij9lo+o0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XL5oyXAs; 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="XL5oyXAs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 168AD1F000E9; Sat, 25 Jul 2026 08:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784969584; bh=Jt7RrkSn26Kl8XvufZaxLKUmJCNlYw5ZlVFLFSju+x4=; h=From:To:Cc:Subject:Date:Reply-To; b=XL5oyXAsjlzz8Oi/agDKUhUl9Vr3nGNhoDUeNQWXJ62arXtH6TZZMsu+VGG/mT3mm qKCo0+AYOxhO+5vDGOrwr90V5zaoFTXcGk31DSgeZmsy5iad1IH+W3iYz6l13h8h0c v9ofPfBMH/xfzqR7q2MnLTVsCHHUgi4a82y0671E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64308: crypto: ccp - Do not initialize SNP for ioctl(SNP_VLEK_LOAD) Date: Sat, 25 Jul 2026 10:48:45 +0200 Message-ID: <2026072508-CVE-2026-64308-054b@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=3074; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8NHJHZpIGd55JN1Ru7IIZ+/8D03DKetEFXVHvFY7ULs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFR7asemuipW2LFF5lRPeq09W2Py9++FKz/Rvt4sM+ HM9Jr3uiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgInM8mZYsDpXurHCXGX+yt+e D50rPY4sSwm6xDDftyQ063CIbOG3MK9M16jTanpzWVIB 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_VLEK_LOAD) 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 SEV firmware docs for SNP_VLEK_LOAD note: > On SNP_SHUTDOWN, the VLEK is deleted. That is, the initialization/shutdown wrapper here is pointless, because the firmware immediately throws away the key anyway. Instead, refuse to do anything if SNP has not been previously initialized. This is an ABI break: before, this was a no-op and almost certainly a mistake by userspace, and now it returns -ENODEV. ABI compatibility could be maintained here by simply returning 0 in the check instead. The Linux kernel CVE team has assigned CVE-2026-64308 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.75 with commit 1c3506ea8599a3ad1b9aae5cbd573134f8d18db7 and fixed in 6.12.96 with commit 61cf5eef20657bff9ca235fe938a99ce5ff65c06 Issue introduced in 6.16 with commit ceac7fb89e8da465aec3ac3c20477f912f5c3a6c and fixed in 6.18.39 with commit 92567ed9306d5a3d1b007eb4faeff30cc3ffc3e4 Issue introduced in 6.16 with commit ceac7fb89e8da465aec3ac3c20477f912f5c3a6c and fixed in 7.1.4 with commit 8836801847b9479ac046cb18a24981e1b0b05e9d Issue introduced in 6.16 with commit ceac7fb89e8da465aec3ac3c20477f912f5c3a6c and fixed in 7.2-rc1 with commit f91e9dbb5845d1e5abf1028e6df57dcf61583e1b 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-64308 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/61cf5eef20657bff9ca235fe938a99ce5ff65c06 https://git.kernel.org/stable/c/92567ed9306d5a3d1b007eb4faeff30cc3ffc3e4 https://git.kernel.org/stable/c/8836801847b9479ac046cb18a24981e1b0b05e9d https://git.kernel.org/stable/c/f91e9dbb5845d1e5abf1028e6df57dcf61583e1b