# CVE-2026-72239: x86/virt/sev: Revert "Drop WBINVD before setting MSR_AMD64_SYSCFG_SNP_EN"

- Severity: Critical 9.3 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-08-15T05:54:28.166Z
- Modified: 2026-08-17T06:18:25.467Z
- Assigned by: Linux

## Description

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

x86/virt/sev: Revert "Drop WBINVD before setting MSR_AMD64_SYSCFG_SNP_EN"

Revert

  99cf1fb58e68 ("x86/virt/sev: Drop WBINVD before setting MSR_AMD64_SYSCFG_SNP_EN").

Section 8.8 of the SNP spec says:

  Before invoking SNP_INIT_EX with INIT_RMP set to 1, software must ensure
  that no CPUs contain dirty cache lines for the memory containing the RMP.

Cachelines can be moved from cache to cache in a dirty state. The
wbinvd_on_all_cpus() before SNP_INIT_EX flushes the caches for each CPU, but
if the IPIs for WBINVD race with this dirty cacheline movement, it is possible
that they may not get flushed, violating the firmware requirement.

Doing wbinvd_on_all_cpus() before setting SNPEn is safer since the RMP
table is not yet in use.

  [ Heroically bisected by Srikanth. ]
  [ bp: Massage commit message. ]

(As written by CVE List.)

## Affected

- Linux Linux: from 99cf1fb58e68291d408b4c4484181cf88f081857 before e5158ff53fdff9c229bf13aa5f75eb17cdcfcd2d; from 99cf1fb58e68291d408b4c4484181cf88f081857 before 4c2509f3b79756679a02bea649c6a7501b58f52c; 7.1 (not affected: before 7.1; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/e5158ff53fdff9c229bf13aa5f75eb17cdcfcd2d>
- <https://git.kernel.org/stable/c/4c2509f3b79756679a02bea649c6a7501b58f52c>

## Sources

- CVE List: [CVE-2026-72239](https://www.cve.org/CVERecord?id=CVE-2026-72239), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-72239](https://nvd.nist.gov/vuln/detail/CVE-2026-72239), Public domain, modified 2026-08-17

---

Page: https://cve.day/CVE-2026-72239 · Whole record: https://cve.day/CVE-2026-72239.json · Rebuilt by cve.day 2026-11-25T22:59:33.055Z
