CVE-2026-64310
crypto: ccp - Do not initialize SNP for SEV ioctls
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Do not initialize SNP for SEV ioctls 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? sev_move_to_init_state() is called for ioctls requiring only SEV firmware: SEV_PEK_GEN, SEV_PDH_GEN, SEV_PEK_CSR, SEV_PEK_CERT_IMPORT, and SEV_PDH_CERT_EXPORT. After the firmware command, it does SEV_SHUTDOWN on the SEV firmware. Since these commands do not require SNP to be initialized, skip it by calling __sev_platform_init_locked() which only initializes the SEV firmware. This way SNP is not Initialized at all, and HSAVE_PA is not cleared. The previous code saved any SEV initialization firmware error to init_args.error and then threw it away and hardcoded the return value of INVALID_PLATFORM_STATE regardless of the real firmware error. This patch changes it to surface the underlying error, which is hopefully both more useful and doesn't cause any problems. Note that it is still safe to call __sev_firmware_shutdown() directly: it calls __sev_snp_shutdown_locked(), which skips SNP shutdown if SNP was not initialized.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
Nov. 6, 2026, 5:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply the provided patch for the crypto/ccp module.
- Verify SNP initialization behavior.
- Test SEV ioctl functionality.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64310.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64310 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64310
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64310 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64310 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 06, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/5181e88da99c3d1d41e25db3472a62b8d4b42cdd Added Reference https://git.kernel.org/stable/c/9e983d0a74a6a2348e4ce61647ec8a4dfbe198ac Added Reference https://git.kernel.org/stable/c/d51207735e7c224cf591fa260c557a451a69a5cf Added Reference https://git.kernel.org/stable/c/fb1758e74b8061aacfbce7bbb7a7cc650537e167 Removed Reference https://git.kernel.org/stable/c/5181e88da99c3d1d41e25db3472a62b8d4b42cdd Removed Reference https://git.kernel.org/stable/c/9e983d0a74a6a2348e4ce61647ec8a4dfbe198ac Removed Reference https://git.kernel.org/stable/c/d51207735e7c224cf591fa260c557a451a69a5cf Removed Reference https://git.kernel.org/stable/c/fb1758e74b8061aacfbce7bbb7a7cc650537e167 Removed Reference Type https://git.kernel.org/stable/c/5181e88da99c3d1d41e25db3472a62b8d4b42cdd Types: Patch Removed Reference Type https://git.kernel.org/stable/c/9e983d0a74a6a2348e4ce61647ec8a4dfbe198ac Types: Patch Removed Reference Type https://git.kernel.org/stable/c/d51207735e7c224cf591fa260c557a451a69a5cf Types: Patch Removed Reference Type https://git.kernel.org/stable/c/fb1758e74b8061aacfbce7bbb7a7cc650537e167 Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 06, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-64310', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-06T16:34:48.642596Z'} -
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Added Translation Title: crypto: ccp - Do not initialize SNP for SEV ioctls, Description: En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: crypto: ccp - No inicializar SNP para ioctls de SEV Notas de Sashiko: > si la inicialización de SEV falla y KVM está ejecutando activamente VMs normales, ¿podría un > proceso de espacio de usuario activar esta ruta de código a través de ioctls de /dev/sev (p. ej., > SEV_PDH_GEN) y poner a cero MSR_VM_HSAVE_PA globalmente? ¿La siguiente ejecución de VMRUN > para una VM activa activaría una falla de protección general y colapsaría el > host? sev_move_to_init_state() se llama para ioctls que requieren solo firmware de SEV: SEV_PEK_GEN, SEV_PDH_GEN, SEV_PEK_CSR, SEV_PEK_CERT_IMPORT y SEV_PDH_CERT_EXPORT. Después del comando de firmware, realiza SEV_SHUTDOWN en el firmware de SEV. Dado que estos comandos no requieren que SNP sea inicializado, se omite llamando a __sev_platform_init_locked() que solo inicializa el firmware de SEV. De esta manera, SNP no se inicializa en absoluto, y HSAVE_PA no se borra. El código anterior guardaba cualquier error de firmware de inicialización de SEV en init_args.error y luego lo descartaba y codificaba el valor de retorno de INVALID_PLATFORM_STATE independientemente del error real del firmware. Este parche lo cambia para mostrar el error subyacente, lo que, con suerte, es más útil y no causa ningún problema. Tenga en cuenta que sigue siendo seguro llamar a __sev_firmware_shutdown() directamente: llama a __sev_snp_shutdown_locked(), que omite el apagado de SNP si SNP no fue inicializado. -
Initial Analysis by [email protected]
Sep. 04, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.1.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.16 up to (excluding) 6.18.39 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.12.75 up to (excluding) 6.12.96 Added Reference Type kernel.org: https://git.kernel.org/stable/c/5181e88da99c3d1d41e25db3472a62b8d4b42cdd Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9e983d0a74a6a2348e4ce61647ec8a4dfbe198ac Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d51207735e7c224cf591fa260c557a451a69a5cf Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fb1758e74b8061aacfbce7bbb7a7cc650537e167 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1c3506ea8599a3ad1b9aae5cbd573134f8d18db7', 'lessThan': '5181e88da99c3d1d41e25db3472a62b8d4b42cdd', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '9e983d0a74a6a2348e4ce61647ec8a4dfbe198ac', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': 'd51207735e7c224cf591fa260c557a451a69a5cf', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': 'fb1758e74b8061aacfbce7bbb7a7cc650537e167', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.75', 'lessThan': '6.12.96', 'versionType': 'semver'}], 'programFiles': ['drivers/crypto/ccp/sev-dev.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/crypto/ccp/sev-dev.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1c3506ea8599a3ad1b9aae5cbd573134f8d18db7', 'lessThan': '5181e88da99c3d1d41e25db3472a62b8d4b42cdd', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '9e983d0a74a6a2348e4ce61647ec8a4dfbe198ac', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': 'd51207735e7c224cf591fa260c557a451a69a5cf', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': 'fb1758e74b8061aacfbce7bbb7a7cc650537e167', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.75', 'lessThan': '6.12.96', 'versionType': 'semver'}], 'programFiles': ['drivers/crypto/ccp/sev-dev.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/crypto/ccp/sev-dev.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '1c3506ea8599a3ad1b9aae5cbd573134f8d18db7', 'lessThan': '5181e88da99c3d1d41e25db3472a62b8d4b42cdd', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '9e983d0a74a6a2348e4ce61647ec8a4dfbe198ac', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': 'd51207735e7c224cf591fa260c557a451a69a5cf', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': 'fb1758e74b8061aacfbce7bbb7a7cc650537e167', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.75', 'lessThan': '6.12.96', 'versionType': 'semver'}], 'programFiles': ['drivers/crypto/ccp/sev-dev.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/crypto/ccp/sev-dev.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Do not initialize SNP for SEV ioctls 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? sev_move_to_init_state() is called for ioctls requiring only SEV firmware: SEV_PEK_GEN, SEV_PDH_GEN, SEV_PEK_CSR, SEV_PEK_CERT_IMPORT, and SEV_PDH_CERT_EXPORT. After the firmware command, it does SEV_SHUTDOWN on the SEV firmware. Since these commands do not require SNP to be initialized, skip it by calling __sev_platform_init_locked() which only initializes the SEV firmware. This way SNP is not Initialized at all, and HSAVE_PA is not cleared. The previous code saved any SEV initialization firmware error to init_args.error and then threw it away and hardcoded the return value of INVALID_PLATFORM_STATE regardless of the real firmware error. This patch changes it to surface the underlying error, which is hopefully both more useful and doesn't cause any problems. Note that it is still safe to call __sev_firmware_shutdown() directly: it calls __sev_snp_shutdown_locked(), which skips SNP shutdown if SNP was not initialized. Added Reference https://git.kernel.org/stable/c/5181e88da99c3d1d41e25db3472a62b8d4b42cdd Added Reference https://git.kernel.org/stable/c/9e983d0a74a6a2348e4ce61647ec8a4dfbe198ac Added Reference https://git.kernel.org/stable/c/d51207735e7c224cf591fa260c557a451a69a5cf Added Reference https://git.kernel.org/stable/c/fb1758e74b8061aacfbce7bbb7a7cc650537e167