x86/sev: Evict cache lines during SNP memory validation (Linux Linux)

CVE-2025-38560
CRITICAL 9.3

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.3CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 < 1fec416c03d0a64cc21aa04ce4aa14254b017e6a ; affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 < 1fb873971e23c35c53823c62809a474a92bc3022 ; affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 < aed15fc08f15dbb15822b2a0b653f67e76aa0fdf ; affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 < a762a4c8d9e768b538b3cc60615361a8cf377de8 ; affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 < f92af52e6dbd8d066d77beba451e0230482dc45b ; affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 < 7b306dfa326f70114312b320d083b21fa9481e1e
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.148 ≤ 6.1.* ; unaffected 6.6.102 ≤ 6.6.* ; unaffected 6.12.42 ≤ 6.12.* ; unaffected 6.15.10 ≤ 6.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD