{
  "id": "CVE-2025-38560",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38560",
  "published_at": "2025-08-19T17:02:37.792Z",
  "title": "x86/sev: Evict cache lines during SNP memory validation",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nx86/sev: Evict cache lines during SNP memory validation\n\nAn SNP cache coherency vulnerability requires a cache line eviction\nmitigation when validating memory after a page state change to private.\nThe specific mitigation is to touch the first and last byte of each 4K\npage that is being validated. There is no need to perform the mitigation\nwhen performing a page state change to shared and rescinding validation.\n\nCPUID bit Fn8000001F_EBX[31] defines the COHERENCY_SFW_NO CPUID bit\nthat, when set, indicates that the software mitigation for this\nvulnerability is not needed.\n\nImplement the mitigation and invoke it when validating memory (making it\nprivate) and the COHERENCY_SFW_NO bit is not set, indicating the SNP\nguest is vulnerable.",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.3,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684, \u003c 1fec416c03d0a64cc21aa04ce4aa14254b017e6a",
          "\u003e= 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684, \u003c 1fb873971e23c35c53823c62809a474a92bc3022",
          "\u003e= 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684, \u003c aed15fc08f15dbb15822b2a0b653f67e76aa0fdf",
          "\u003e= 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684, \u003c a762a4c8d9e768b538b3cc60615361a8cf377de8",
          "\u003e= 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684, \u003c f92af52e6dbd8d066d77beba451e0230482dc45b",
          "\u003e= 4f9c403e44e5e88feb27d5e617d1adc9cc7ef684, \u003c 7b306dfa326f70114312b320d083b21fa9481e1e"
        ],
        "fixed_in": [
          "1fec416c03d0a64cc21aa04ce4aa14254b017e6a",
          "1fb873971e23c35c53823c62809a474a92bc3022",
          "aed15fc08f15dbb15822b2a0b653f67e76aa0fdf",
          "a762a4c8d9e768b538b3cc60615361a8cf377de8",
          "f92af52e6dbd8d066d77beba451e0230482dc45b",
          "7b306dfa326f70114312b320d083b21fa9481e1e"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.19"
        ],
        "fixed_in": [
          "0",
          "6.1.148",
          "6.6.102",
          "6.12.42",
          "6.15.10",
          "6.16.1",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 1fec416c03d0a64cc21aa04ce4aa14254b017e6a or 1fb873971e23c35c53823c62809a474a92bc3022 or aed15fc08f15dbb15822b2a0b653f67e76aa0fdf or a762a4c8d9e768b538b3cc60615361a8cf377de8 or f92af52e6dbd8d066d77beba451e0230482dc45b or 7b306dfa326f70114312b320d083b21fa9481e1e or later.",
      "Upgrade Linux to 0 or 6.1.148 or 6.6.102 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
