CVE-2026-64307
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
A local user with access to a special AMD virtualization device could crash a Linux virtualization host and interrupt the virtual machines running on it.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Denial of service
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Medium
What it actually does
This is a local denial-of-service flaw in the Linux kernel AMD crypto co-processor / SEV handling path. Under specific conditions where SEV/SNP initialization has failed, a userspace process with access to /dev/sev may be able to trigger an ioctl path that retries initialization while KVM is running normal virtual machines. That retry can disturb global CPU virtualization state, specifically HSAVE-related state used by AMD SVM/VMRUN, potentially causing a general protection fault on a subsequent VM entry and crashing the host kernel. The practical technical result is host instability or a kernel panic rather than code execution or data theft.
Why it matters to the business
Systems acting as AMD-based Linux virtualization hosts are the primary concern. A successful exploit could crash a hypervisor host and interrupt all virtual machines running on it, causing service downtime, failed workloads, and possible cascading impact in clustered environments. The current exploitation likelihood appears low: EPSS is low, the issue is not in CISA KEV, no public exploit maturity is reported, and exploitation requires local access to the SEV device path under specific platform conditions. However, because the impact is host-level denial of service, exposed multi-tenant or shared virtualization infrastructure should still treat remediation as important.
How an attack unfolds
An attacker first needs local execution on a vulnerable Linux system, or control of a process/container/user context that can open and issue ioctls to /dev/sev. The host must use AMD SEV/SNP-capable hardware and have the relevant ccp/sev kernel functionality available. If SEV or SNP initialization has previously failed, the attacker can attempt to invoke SEV/SNP-related ioctls that reach the vulnerable reinitialization path. While KVM is actively running VMs, that path may alter global virtualization state used by CPU VM-entry operations. The next time KVM attempts VMRUN for an active guest, the host may encounter a general protection fault or kernel oops/panic, causing a denial of service for the host and its VMs.
How to fix it
Upgrade to a Linux kernel version that contains the fix for this issue from the kernel stable tree or the relevant distribution/vendor security update. Because no exact fixed package versions were provided in the input, use vendor advisories for the deployed distribution and kernel stream to identify the corrected build. Prioritize AMD SEV/SNP-capable KVM hosts and any systems where /dev/sev is present. As interim mitigations, restrict access to /dev/sev to only trusted administrative or virtualization-management users, review udev rules and group membership that grant SEV device access, avoid granting untrusted containers or workloads access to host device nodes, and consider disabling/unloading unused SEV/SNP functionality where operationally acceptable. General kernel hardening and least-privilege controls reduce exploitability but do not replace applying the kernel fix.
How to confirm the fix worked
Confirm that each AMD virtualization host is running a kernel build that includes the upstream fix preventing SNP initialization retry through SNP_CONFIG when SNP is not already initialized. Validate using distribution package metadata, vendor advisory references, changelogs, or kernel source/package inspection for the ccp/sev fix. Check whether /dev/sev exists and verify that its permissions are restricted to trusted users only. On test systems, verify that SNP_CONFIG or related SEV/SNP ioctls no longer cause transparent SNP reinitialization after an initialization failure, and that KVM guests continue to run without host oops/panic behavior. Review kernel logs after patching to ensure there are no recurring SEV/SNP initialization failures, CCP driver errors, or SVM/VMRUN-related general protection faults.
Typical attack path
- Gain local code execution on an affected Linux virtualization host or compromise a local account/service with access to /dev/sev.
- Confirm that the host exposes AMD SEV/SNP functionality through the ccp/sev driver and that /dev/sev is accessible.
- Wait for or induce a condition where SEV/SNP initialization has failed or is incomplete.
- Issue SEV/SNP-related ioctls, such as configuration or platform-management requests, against /dev/sev to trigger the vulnerable initialization retry path.
- Rely on the vulnerable path disturbing global SVM/HSAVE state while KVM is running guests.
- Cause or wait for the next guest VMRUN operation, resulting in a host general protection fault, kernel crash, or VM-host service disruption.
How to detect it
Look for evidence of suspicious or unexpected local access to /dev/sev, especially shortly before host instability, guest outages, kernel oops messages, or reboots. Useful log sources include auditd syscall/path logs for /dev/sev, Linux kernel logs from dmesg, journald, /var/log/kern.log, /var/log/messages, hypervisor management logs, crash dumps, kdump artifacts, and monitoring alerts for host reboots or VM outages. If auditd was enabled, search for open/ioctl activity against /dev/sev by non-standard users or processes. In kernel logs, look for SEV/SNP/CCP initialization failures followed by KVM/SVM/VMRUN failures, general protection faults, oops, panic, or unexpected host reset. Because this flaw primarily causes denial of service and does not inherently drop files or create network traffic, detection depends on correlating device access and kernel crash artifacts rather than finding a durable malware indicator.
- /dev/sev
- ioctl.*\/dev\/sev
- SEV_PDH_GEN
- SNP_CONFIG
- ccp.*SEV
- ccp.*SNP
- SEV initialization failed
- SNP initialization failed
- general protection fault
- kernel panic
- Oops:
- VMRUN
- MSR_VM_HSAVE_PA
- kvm_amd
- svm
- AMD-Vi
- BUG: kernel NULL pointer dereference
What your security team should do
- Inventory Linux KVM hosts using AMD SEV/SNP-capable hardware and identify systems exposing /dev/sev.
- Apply the vendor-provided fixed Linux kernel to affected virtualization hosts, prioritizing shared, production, and multi-tenant hypervisors.
- Restrict /dev/sev access to trusted host-management components only; remove unnecessary users from groups or udev rules that permit access.
- Search recent kernel, audit, and system logs for /dev/sev ioctl activity followed by KVM, SVM, VMRUN, general protection fault, oops, or panic events.
- Ensure untrusted containers, VMs, build jobs, and automation accounts do not have direct access to host device nodes such as /dev/sev.
- Schedule host reboots as required to activate the fixed kernel and confirm that all running hypervisors have booted into the remediated version.
- Monitor vendor advisories for exact fixed kernel package versions and any backport notes for long-term-support distributions.
The record
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
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|