CVE-2025-38560

x86/sev: Evict cache lines during SNP memory validation

State
Published
Severity
9.3 Critical
Published
Aug 19, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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

x86/sev: Evict cache lines during SNP memory validation

An SNP cache coherency vulnerability requires a cache line eviction mitigation when validating memory after a page state change to private. The specific mitigation is to touch the first and last byte of each 4K page that is being validated. There is no need to perform the mitigation when performing a page state change to shared and rescinding validation.

CPUID bit Fn8000001F_EBX[31] defines the COHERENCY_SFW_NO CPUID bit that, when set, indicates that the software mitigation for this vulnerability is not needed.

Implement the mitigation and invoke it when validating memory (making it private) and the COHERENCY_SFW_NO bit is not set, indicating the SNP guest is vulnerable.

Scores

CVSSScoreVectorSource
3.19.3 CriticalCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 to before 1fec416c03d0a64cc21aa04ce4aa14254b017e6aAffected
  • 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 to before 1fb873971e23c35c53823c62809a474a92bc3022Affected
  • 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 to before aed15fc08f15dbb15822b2a0b653f67e76aa0fdfAffected
  • 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 to before a762a4c8d9e768b538b3cc60615361a8cf377de8Affected
  • 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 to before f92af52e6dbd8d066d77beba451e0230482dc45bAffected
  • 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 to before 7b306dfa326f70114312b320d083b21fa9481e1eAffected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.148 through 6.1.*Not affected
  • 6.6.102 through 6.6.*Not affected
  • 6.12.42 through 6.12.*Not affected
  • 6.15.10 through 6.15.*Not affected
  • 6.16.1 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.