CVE-2026-64307
crypto: ccp - Do not initialize SNP for ioctl(SNP_CONFIG)
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Do not initialize SNP for ioctl(SNP_CONFIG) 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? Refuse to re-try initialization if SNP is not already initialized for SNP_CONFIG. This is technically an ABI break: before if SNP initialization failed it could be transparently retriggered by this ioctl, and if no VMs were running, everything worked fine. Hopefully this is enough of a corner case that nobody will notice, but someone does, there are a few options: * do something like symbol_get() for kvm and refuse to initialize if KVM is loaded * check each cpu's HSAVE_PA for non-zero data before re-initializing * once initialization has failed, continue to refuse to initialize until the ccp module is unloaded
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
Aug. 17, 2026, 5:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel.
- Ensure SNP is not re-initialized if it fails.
- Consult vendor advisories for specific patch details.
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-64307.
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-64307 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-64307
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-64307 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64307 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
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': '345a6e869b33687e9268044bcaeeefd7c61da675', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '441ea32cf2755a0dc593557056b00b7caa0651f5', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '20f548cdac94860a164e5ebba4f7e4a01051cb06', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '08f0e65e784c4b20e6e620dd4f68d8636073a3d2', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.75', 'lessThan': '6.12.97', '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.97', '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': '345a6e869b33687e9268044bcaeeefd7c61da675', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '441ea32cf2755a0dc593557056b00b7caa0651f5', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '20f548cdac94860a164e5ebba4f7e4a01051cb06', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '08f0e65e784c4b20e6e620dd4f68d8636073a3d2', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.75', 'lessThan': '6.12.97', '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.97', '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': '345a6e869b33687e9268044bcaeeefd7c61da675', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '441ea32cf2755a0dc593557056b00b7caa0651f5', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '20f548cdac94860a164e5ebba4f7e4a01051cb06', 'versionType': 'git'}, {'status': 'affected', 'version': 'ceac7fb89e8da465aec3ac3c20477f912f5c3a6c', 'lessThan': '08f0e65e784c4b20e6e620dd4f68d8636073a3d2', 'versionType': 'git'}, {'status': 'affected', 'version': '6.12.75', 'lessThan': '6.12.97', '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.97', '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 ioctl(SNP_CONFIG) 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? Refuse to re-try initialization if SNP is not already initialized for SNP_CONFIG. This is technically an ABI break: before if SNP initialization failed it could be transparently retriggered by this ioctl, and if no VMs were running, everything worked fine. Hopefully this is enough of a corner case that nobody will notice, but someone does, there are a few options: * do something like symbol_get() for kvm and refuse to initialize if KVM is loaded * check each cpu's HSAVE_PA for non-zero data before re-initializing * once initialization has failed, continue to refuse to initialize until the ccp module is unloaded Added Reference https://git.kernel.org/stable/c/08f0e65e784c4b20e6e620dd4f68d8636073a3d2 Added Reference https://git.kernel.org/stable/c/20f548cdac94860a164e5ebba4f7e4a01051cb06 Added Reference https://git.kernel.org/stable/c/345a6e869b33687e9268044bcaeeefd7c61da675 Added Reference https://git.kernel.org/stable/c/441ea32cf2755a0dc593557056b00b7caa0651f5