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.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linuxUpgrade linux-6.12 | Jul 28, 2026 | Jul 28, 2026 |
| Redhat_linux | — | No solution exists | Jul 31, 2026 | Jul 25, 2026 |
| Ubuntu | — | Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-generic-64k-7.0Upgrade linux-image-7.0.0-1013-ibmUpgrade linux-image-ibmUpgrade linux-image-nvidia-64k-7.0Upgrade linux-image-nvidiaUpgrade linux-image-7.0.0-1006-gke-64kUpgrade linux-image-gcpUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-7.0.0-2018-nvidia-bosUpgrade linux-image-7.0.0-1019-raspi-realtimeUpgrade linux-image-realtime-64k-hwe-26.04Upgrade linux-image-7.0.0-1013-oemUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-generic-hwe-26.04Upgrade linux-image-7.0.0-31-generic-64kUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-gke-64k-hwe-26.04Upgrade linux-image-generic-hwe-24.04Upgrade linux-image-raspiUpgrade linux-image-raspi-realtimeUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-oem-7.0Upgrade linux-image-7.0.0-31-genericUpgrade linux-image-aws-64kUpgrade linux-image-realtime-hwe-26.04Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-virtualUpgrade linux-image-nvidia-64kUpgrade linux-image-generic-64kUpgrade linux-image-gcp-64kUpgrade linux-image-ibm-7.0Upgrade linux-image-gkeUpgrade linux-image-genericUpgrade linux-image-oem-26.04Upgrade linux-image-virtual-hwe-24.04Upgrade linux-image-gke-hwe-26.04Upgrade linux-image-nvidia-bosUpgrade linux-image-gke-7.0Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-7.0.0-1018-nvidiaUpgrade linux-image-realtime-64k-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-virtual-hwe-26.04Upgrade linux-image-virtual-7.0Upgrade linux-image-7.0.0-1006-gkeUpgrade linux-image-7.0.0-31-realtimeUpgrade linux-image-7.0.0-2018-nvidia-bos-64kUpgrade linux-image-gke-64kUpgrade linux-image-gke-64k-7.0Upgrade linux-image-realtime-7.0Upgrade linux-image-aws-64k-7.0Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-7.0.0-1019-raspiUpgrade linux-image-nvidia-7.0Upgrade linux-image-realtimeUpgrade linux-image-oem-26.04bUpgrade linux-image-realtime-64kUpgrade linux-image-awsUpgrade linux-image-7.0.0-31-realtime-64kUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-7.0.0-1012-awsUpgrade linux-image-raspi-7.0Upgrade linux-image-7.0.0-1018-nvidia-64kUpgrade linux-image-7.0.0-1012-aws-64kUpgrade linux-image-oem-26.04aUpgrade linux-image-generic-7.0Upgrade linux-image-generic-64k-hwe-26.04Upgrade linux-image-generic-64k-hwe-24.04 | Sep 14, 2026 | Sep 7, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 3, 2026 | Jul 25, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub