CVE-2026-64310·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Do not initialize SNP for SEV ioctls 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? sev_move_to_init_state() is called for ioctls requiring only SEV firmware: SEV_PEK_GEN, SEV_PDH_GEN, SEV_PEK_CSR, SEV_PEK_CERT_IMPORT, and SEV_PDH_CERT_EXPORT. After the firmware command, it does SEV_SHUTDOWN on the SEV firmware. Since these commands do not require SNP to be initialized, skip it by calling __sev_platform_init_locked() which only initializes the SEV firmware. This way SNP is not Initialized at all, and HSAVE_PA is not cleared. The previous code saved any SEV initialization firmware error to init_args.error and then threw it away and hardcoded the return value of INVALID_PLATFORM_STATE regardless of the real firmware error. This patch changes it to surface the underlying error, which is hopefully both more useful and doesn't cause any problems. Note that it is still safe to call __sev_firmware_shutdown() directly: it calls __sev_snp_shutdown_locked(), which skips SNP shutdown if SNP was not initialized.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to fix an issue where SEV-only ioctls could incorrectly initialize SNP firmware, potentially clearing critical MSR registers and destabilizing running virtual machines. This patch ensures SEV operations proceed without touching SNP initialization, preventing host crashes from unintended firmware state changes.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against 7.1.4
- Step 2: Verify SEV/SNP capability on your processor with `grep -i sev /proc/cpuinfo` or `dmesg | grep -i sev`
- Step 3: Check system logs for MSR-related errors or VMRUN general protection faults with `journalctl -xe | grep -i 'general protection\|MSR\|HSAVE'`
- Step 4: After patching, reboot and confirm new kernel version with `uname -r`, then verify KVM guests continue running normally
FAQ
What is CVE-2026-64310?
This vulnerability allows userspace processes to accidentally trigger SNP firmware initialization through SEV-only ioctls, which can clear critical MSR registers and cause host crashes when KVM virtual machines are actively running.
Is CVE-2026-64310 being actively exploited?
No, there is no evidence of active exploitation in the wild, and no public exploit code is currently available.
What versions of Kernel are affected by CVE-2026-64310?
Linux kernel versions 6.19 through 7.1.3 are vulnerable; version 7.1.4 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-64310?
Run `uname -r` to get your kernel version and compare it against 7.1.4; if your version is lower, you are vulnerable. Verify SEV support with `grep -i sev /proc/cpuinfo`.
Does Defensia detect CVE-2026-64310?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-64310 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64310. Free for 1 server.
Get started free