x86/sev: Evict cache lines during SNP memory validation

Summary

CVECVE-2025-38560
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-08-19 17:15:32 UTC
Updated2026-10-15 22:18:45 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: NVD-CWE-noinfo


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary9.3CRITICALCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
3.1CNADECLARED9.3CRITICALCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 1fec416c03d0a64cc21aa04ce4aa14254b017e6a git Not specified
CNA Linux Linux affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 1fb873971e23c35c53823c62809a474a92bc3022 git Not specified
CNA Linux Linux affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 aed15fc08f15dbb15822b2a0b653f67e76aa0fdf git Not specified
CNA Linux Linux affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 a762a4c8d9e768b538b3cc60615361a8cf377de8 git Not specified
CNA Linux Linux affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 f92af52e6dbd8d066d77beba451e0230482dc45b git Not specified
CNA Linux Linux affected 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684 7b306dfa326f70114312b320d083b21fa9481e1e git Not specified
CNA Linux Linux affected 5.19 Not specified
CNA Linux Linux unaffected 5.19 semver Not specified
CNA Linux Linux unaffected 6.1.148 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.102 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.42 6.12.* semver Not specified
CNA Linux Linux unaffected 6.15.10 6.15.* semver Not specified
CNA Linux Linux unaffected 6.16.1 6.16.* semver Not specified
CNA Linux Linux unaffected 6.17 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/aed15fc08f15dbb15822b2a0b653f67e76aa0fdf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/f92af52e6dbd8d066d77beba451e0230482dc45b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
lists.debian.org/debian-lts-announce/2025/10/msg00008.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Third Party Advisory
git.kernel.org/stable/c/7b306dfa326f70114312b320d083b21fa9481e1e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/1fec416c03d0a64cc21aa04ce4aa14254b017e6a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a762a4c8d9e768b538b3cc60615361a8cf377de8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/1fb873971e23c35c53823c62809a474a92bc3022 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report