CVE-2025-38560

Source
https://cve.org/CVERecord?id=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:02:37.792Z
Modified
2026-03-12T02:14:36.271593Z
Summary
x86/sev: Evict cache lines during SNP memory validation
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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38560.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4f9c403e44e5e88feb27d5e617d1adc9cc7ef684
Fixed
1fec416c03d0a64cc21aa04ce4aa14254b017e6a
Fixed
1fb873971e23c35c53823c62809a474a92bc3022
Fixed
aed15fc08f15dbb15822b2a0b653f67e76aa0fdf
Fixed
a762a4c8d9e768b538b3cc60615361a8cf377de8
Fixed
f92af52e6dbd8d066d77beba451e0230482dc45b
Fixed
7b306dfa326f70114312b320d083b21fa9481e1e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38560.json"