Skip to content
Heist/ feed
Critical

x86/sev: Evict cache lines during SNP memory validation

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2025-38560

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-38560

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4f9c403e44e5e88feb27d5e617d1adc9cc7ef684",
        "lessThan": "1fec416c03d0a64cc21aa04ce4aa14254b017e6a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f9c403e44e5e88feb27d5e617d1adc9cc7ef684",
        "lessThan": "1fb873971e23c35c53823c62809a474a92bc3022",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f9c403e44e5e88feb27d5e617d1adc9cc7ef684",
        "lessThan": "aed15fc08f15dbb15822b2a0b653f67e76aa0fdf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f9c403e44e5e88feb27d5e617d1adc9cc7ef684",
        "lessThan": "a762a4c8d9e768b538b3cc60615361a8cf377de8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f9c403e44e5e88feb27d5e617d1adc9cc7ef684",
        "lessThan": "f92af52e6dbd8d066d77beba451e0230482dc45b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f9c403e44e5e88feb27d5e617d1adc9cc7ef684",
        "lessThan": "7b306dfa326f70114312b320d083b21fa9481e1e",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "arch/x86/boot/cpuflags.c",
      "arch/x86/boot/startup/sev-shared.c",
      "arch/x86/coco/sev/core.c",
      "arch/x86/include/asm/cpufeatures.h",
      "arch/x86/include/asm/sev.h",
      "arch/x86/kernel/cpu/scattered.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.148",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.102",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.42",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.15.10",
        "versionType": "semver",
        "lessThanOrEqual": "6.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.16.1",
        "versionType": "semver",
        "lessThanOrEqual": "6.16.*"
      },
      {
        "status": "unaffected",
        "version": "6.17",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "arch/x86/boot/cpuflags.c",
      "arch/x86/boot/startup/sev-shared.c",
      "arch/x86/coco/sev/core.c",
      "arch/x86/include/asm/cpufeatures.h",
      "arch/x86/include/asm/sev.h",
      "arch/x86/kernel/cpu/scattered.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-38560

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#30592 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement