CVE-2025-38560 x86/sev: Evict cache lines during SNP memory validation

Critical 9.3 Published Updated

Attackers can exploit cache coherency flaws in AMD SEV-SNP guests to read sensitive memory data during page validation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-38560?

CVE-2025-38560 is a critical vulnerability in Debian Debian Linux, published on 19 Aug 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2025-38560?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-38560?

Apply the vendor's patch.

Is CVE-2025-38560 being exploited?

There is no known exploitation of CVE-2025-38560 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-66536, BELL-CVE-2025-38560, DEBIAN-CVE-2025-38560, GHSA-rcx5-mm72-w6xv, ROOT-OS-DEBIAN-11-CVE-2025-38560, ROOT-OS-DEBIAN-12-CVE-2025-38560 and 4 more.

Is CVE-2025-38560 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free