CVE-2025-38560

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38560
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38560.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38560
Downstream
Related
Published
2025-08-19T17:15:32Z
Modified
2025-09-06T13:01:26Z
Summary
[none]
Details

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 Fn8000001FEBX[31] defines the COHERENCYSFW_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 COHERENCYSFWNO bit is not set, indicating the SNP guest is vulnerable.

References

Affected packages