crypto: ccp - Do not initialize SNP for ioctl(SNP_COMMIT)
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7a361c74bb12f3398c388905f1d325be642cd36e, Kernel 6.18.39, Kernel 7.1.4 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: crypto: ccp - Do not initialize SNP for ioctl(SNP_COMMIT) 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 SNP_COMMIT command does not require the firmware to be in any particular state. Skip initializing it if it was previously uninitialized. The SEV-SNP firmware specification doc 56860 does not mention SNP_COMMIT in Table 5 as a command that is allowed in the UNINIT state, but it is in fact allowed and a future documentation update will reflect that.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=ceac7fb89e8da465aec3ac3c20477f912f5c3a6c <7a361c74bb12f3398c388905f1d325be642cd36e, >=6.16 <6.18.39, >=6.19 <7.1.4, >=ceac7fb89e8da465aec3ac3c20477f912f5c3a6c <5a1364da2f04217a36e2fdfa2db4ee025b383a20, >=ceac7fb89e8da465aec3ac3c20477f912f5c3a6c <67ed191b4c8bdf432a3f32d1eb302880b4795cd1, >=6.12.75 <6.12.96, =6.16, >=1c3506ea8599a3ad1b9aae5cbd573134f8d18db7 <74768f73854d647a6462f252dc8782ab8a835211 | 7a361c74bb12f3398c388905f1d325be642cd36e, 6.18.39, 7.1.4, 5a1364da2f04217a36e2fdfa2db4ee025b383a20, 67ed191b4c8bdf432a3f32d1eb302880b4795cd1, 6.12.96, 74768f73854d647a6462f252dc8782ab8a835211 |
| linux-kernel: Kernel | >=6.12.75 <6.12.96, >=6.16.0 <6.18.39, >=6.19.0 <7.1.4 | 6.12.96, 6.18.39, 7.1.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket