crypto: ccp - Do not initialize SNP for ioctl(SNP_VLEK_LOAD)
Summary
| CVE | CVE-2026-64308 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:11 UTC |
| Updated | 2026-07-25 10:17:11 UTC |
| 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. |
Risk And Classification
EPSS: 0.002250000 probability, percentile 0.132610000 (date 2026-07-25)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 1c3506ea8599a3ad1b9aae5cbd573134f8d18db7 61cf5eef20657bff9ca235fe938a99ce5ff65c06 git | Not specified |
| CNA | Linux | Linux | affected ceac7fb89e8da465aec3ac3c20477f912f5c3a6c 92567ed9306d5a3d1b007eb4faeff30cc3ffc3e4 git | Not specified |
| CNA | Linux | Linux | affected ceac7fb89e8da465aec3ac3c20477f912f5c3a6c 8836801847b9479ac046cb18a24981e1b0b05e9d git | Not specified |
| CNA | Linux | Linux | affected ceac7fb89e8da465aec3ac3c20477f912f5c3a6c f91e9dbb5845d1e5abf1028e6df57dcf61583e1b git | Not specified |
| CNA | Linux | Linux | affected 6.12.75 6.12.96 semver | Not specified |
| CNA | Linux | Linux | affected 6.16 | Not specified |
| CNA | Linux | Linux | unaffected 6.16 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.96 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.39 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.4 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2-rc1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/f91e9dbb5845d1e5abf1028e6df57dcf61583e1b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/61cf5eef20657bff9ca235fe938a99ce5ff65c06 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/8836801847b9479ac046cb18a24981e1b0b05e9d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/92567ed9306d5a3d1b007eb4faeff30cc3ffc3e4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.