CVE-2026-64308 PUBLISHED

crypto: ccp - Do not initialize SNP for ioctl(SNP_VLEK_LOAD)

Assigner: Linux
Reserved: 19.07.2026 Published: 25.07.2026 Updated: 25.07.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1c3506ea8599a3ad1b9aae5cbd573134f8d18db7 to 61cf5eef20657bff9ca235fe938a99ce5ff65c06 (excl.)
  • affected from ceac7fb89e8da465aec3ac3c20477f912f5c3a6c to 92567ed9306d5a3d1b007eb4faeff30cc3ffc3e4 (excl.)
  • affected from ceac7fb89e8da465aec3ac3c20477f912f5c3a6c to 8836801847b9479ac046cb18a24981e1b0b05e9d (excl.)
  • affected from ceac7fb89e8da465aec3ac3c20477f912f5c3a6c to f91e9dbb5845d1e5abf1028e6df57dcf61583e1b (excl.)
  • affected from 6.12.75 to 6.12.96 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.16 is affected
  • unaffected from 0 to 6.16 (excl.)
  • unaffected from 6.12.96 to 6.12.* (incl.)
  • unaffected from 6.18.39 to 6.18.* (incl.)
  • unaffected from 7.1.4 to 7.1.* (incl.)
  • unaffected from 7.2-rc1 to * (incl.)

References