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

Published Jul 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

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., SEVPDHGEN) and zero out MSRVMHSAVEPA globally? Would the next VMRUN execution for an active VM trigger a general protection fault and crash the host?

The SEV firmware docs for SNPVLEKLOAD note:

On SNPSHUTDOWN, 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.

Affected Software

4 affected components
Linux Kernel
Linux Linux kernel>=6.12.75<6.12.96
Linux Linux kernel>=6.16<6.18.39
Linux Linux kernel>=6.19<7.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Apply the kernel fix for 'crypto: ccp - Do not initialize SNP for ioctl(SNP_VLEK_LOAD)' so that the SNP initialization/shutdown wrapper does not run for this ioctl; the check should return 0 instead of performing the previously pointless initialization, and the ioctl path should refuse with -ENODEV when appropriate per the fix description.

    Linux kernel crypto: ccp Do not initialize SNP for ioctl(SNP_VLEK_LOAD) = implemented as returning 0 in the check / refuse to do the initialization (return -ENODEV)

Event History

Jul 25, 2026
CVE Published
via MITRE·08:49 AM
Data Sourced
via MITRE·08:49 AM
Description
Data Sourced
via NVD·10:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems running the Linux kernel with access to the /dev/sev ioctl interface are relevant. Exploitation requires a local user with sufficient permissions to invoke the affected ioctls.

2

What could happen if the issue is triggered?

If SEV initialization fails while KVM is running normal virtual machines, a userspace process may be able to drive a code path that clears MSR_VM_HSAVE_PA globally. A subsequent VMRUN for an active VM could cause a general protection fault and crash the host.

3

What behavior changes after the fix?

SNP_VLEK_LOAD no longer initializes SNP when SNP has not already been initialized; it returns -ENODEV instead. Previously this case was a no-op, so userspace relying on that behavior may need adjustment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203