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

Published Aug 19, 2025
·
Updated

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

Affected Software

8 affected components
Linux Linux kernel
Linux Linux kernel>=5.19<6.1.148
Linux Linux kernel>=6.2<6.6.102
Linux Linux kernel>=6.7<6.12.42
Linux Linux kernel>=6.13<6.15.10
Linux Linux kernel>=6.16<6.16.1
Linux Linux kernel=6.17-rc1
Debian Debian Linux=11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Implement/enable the mitigation by evicting cache lines during SNP memory validation: when validating a 4K page during a page state change to private, and the COHERENCY_SFW_NO CPUID bit (Fn8000001F_EBX[31]) is not set, touch the first and last byte of the 4K page being validated. When the COHERENCY_SFW_NO bit is set, skip the mitigation as no software mitigation is needed.

    Linux kernel (x86/sev) SNP cache coherency mitigation (COHERENCY_SFW_NO CPUID bit Fn8000001F_EBX[31]) = Evict cache lines by touching the first and last byte of each 4K page only when COHERENCY_SFW_NO bit is not set

Event History

Aug 19, 2025
CVE Published
via MITRE·05:02 PM
Data Sourced
via MITRE·05:02 PM
DescriptionSeverity
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-38560?

CVE-2025-38560 has been classified as a high-severity vulnerability due to its potential impact on system security.

2

How do I fix CVE-2025-38560?

To mitigate CVE-2025-38560, ensure that your Linux kernel is updated to the latest version that includes the fix.

3

What type of systems are affected by CVE-2025-38560?

CVE-2025-38560 affects systems running the Linux kernel that utilize Secure Nested Paging (SNP) for memory validation.

4

What is the nature of the vulnerability in CVE-2025-38560?

CVE-2025-38560 involves a cache coherency issue that requires cache line eviction during memory validation after a page state change.

5

Is there a recommended action for administrators regarding CVE-2025-38560?

Administrators should review their systems for the Linux kernel version and apply updates promptly to mitigate CVE-2025-38560.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203