CVE-2026-98718 (GCVE-0-2026-98718)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:46 – Updated: 2026-10-19 09:24
VLAI
Title
KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state
Summary
In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state Explicitly flush caches after intra-host migration before clearing "SEV active" on the source VM, as doing cache maintenance afterwards creates a tiny window where memory reclaim could return memory to the host without performing a cache flush, e.g. as pointed out by Sashiko: CPU1 in sev_migrate_from(): src->active = false; CPU2 running concurrent unmap: Since active is false, the automatic cache flush in sev_guest_memory_reclaimed is skipped. The host frees and reallocates the page. CPU1 in sev_migrate_from(): sev_writeback_caches(src_kvm); Executes a hardware cache flush (wbnoinvd), which writes the guest's old dirty ciphertext over the new page owner's data.
Severity
No CVSS data available.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6820 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 37dfb676fafd1eef36fe0bb649607afbb0d5521b , < 8b7d4f68fef96cebe0b6dbb6e5607772337f7369 (git)
Affected: d4cc2dff12116a700add601c0262132cc26e1b2c , < de83ff6a4d8f3618473bedb3c4400020c22e8a8a (git)
Affected: 93de2a6a4b91b72607136dd656edf03fb399d27f , < 973ea70393e885e540f714904e51bc6cac80e3d7 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.18.55 , < 6.18.56 (semver)
Affected: 7.2.9 , < 7.2.10 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/kvm/svm/sev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8b7d4f68fef96cebe0b6dbb6e5607772337f7369",
              "status": "affected",
              "version": "37dfb676fafd1eef36fe0bb649607afbb0d5521b",
              "versionType": "git"
            },
            {
              "lessThan": "de83ff6a4d8f3618473bedb3c4400020c22e8a8a",
              "status": "affected",
              "version": "d4cc2dff12116a700add601c0262132cc26e1b2c",
              "versionType": "git"
            },
            {
              "lessThan": "973ea70393e885e540f714904e51bc6cac80e3d7",
              "status": "affected",
              "version": "93de2a6a4b91b72607136dd656edf03fb399d27f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/x86/kvm/svm/sev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6.18.56",
              "status": "affected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThan": "7.2.10",
              "status": "affected",
              "version": "7.2.9",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.56",
                  "versionStartIncluding": "6.18.55",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.10",
                  "versionStartIncluding": "7.2.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state\n\nExplicitly flush caches after intra-host migration before clearing \"SEV\nactive\" on the source VM, as doing cache maintenance afterwards creates a\ntiny window where memory reclaim could return memory to the host without\nperforming a cache flush, e.g. as pointed out by Sashiko:\n\n  CPU1 in sev_migrate_from():\n    src-\u003eactive = false;\n\n  CPU2 running concurrent unmap:\n    Since active is false, the automatic cache flush in\n    sev_guest_memory_reclaimed is skipped.\n    The host frees and reallocates the page.\n\n  CPU1 in sev_migrate_from():\n    sev_writeback_caches(src_kvm);\n    Executes a hardware cache flush (wbnoinvd), which writes the guest\u0027s old\n    dirty ciphertext over the new page owner\u0027s data."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:24:29.156Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369"
        },
        {
          "url": "https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a"
        },
        {
          "url": "https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7"
        }
      ],
      "title": "KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98718",
    "datePublished": "2026-10-18T15:46:53.611Z",
    "dateReserved": "2026-09-25T10:25:14.366Z",
    "dateUpdated": "2026-10-19T09:24:29.156Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98718",
      "date": "2026-11-02",
      "epss": "0.00166",
      "percentile": "0.05837"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "arch/x86/kvm/svm/sev.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "8b7d4f68fef96cebe0b6dbb6e5607772337f7369",
                    "status": "affected",
                    "version": "37dfb676fafd1eef36fe0bb649607afbb0d5521b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "de83ff6a4d8f3618473bedb3c4400020c22e8a8a",
                    "status": "affected",
                    "version": "d4cc2dff12116a700add601c0262132cc26e1b2c",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "973ea70393e885e540f714904e51bc6cac80e3d7",
                    "status": "affected",
                    "version": "93de2a6a4b91b72607136dd656edf03fb399d27f",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "arch/x86/kvm/svm/sev.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6.18.56",
                    "status": "affected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.2.10",
                    "status": "affected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state\n\nExplicitly flush caches after intra-host migration before clearing \"SEV\nactive\" on the source VM, as doing cache maintenance afterwards creates a\ntiny window where memory reclaim could return memory to the host without\nperforming a cache flush, e.g. as pointed out by Sashiko:\n\n  CPU1 in sev_migrate_from():\n    src-\u003eactive = false;\n\n  CPU2 running concurrent unmap:\n    Since active is false, the automatic cache flush in\n    sev_guest_memory_reclaimed is skipped.\n    The host frees and reallocates the page.\n\n  CPU1 in sev_migrate_from():\n    sev_writeback_caches(src_kvm);\n    Executes a hardware cache flush (wbnoinvd), which writes the guest\u0027s old\n    dirty ciphertext over the new page owner\u0027s data."
          }
        ],
        "id": "CVE-2026-98718",
        "lastModified": "2026-10-19T10:19:36.047",
        "metrics": {},
        "published": "2026-10-18T16:17:25.363",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8b7d4f68fef96cebe0b6dbb6e5607772337f7369"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/973ea70393e885e540f714904e51bc6cac80e3d7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/de83ff6a4d8f3618473bedb3c4400020c22e8a8a"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-10-29T08:18:57+00:00",
      "cve": "CVE-2026-98718",
      "id": "CVE-2026-98718",
      "initial_release_date": "2026-10-18T00:00:00+00:00",
      "product_status:known_affected": "236",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: KVM: SEV: Do cache maintenance on the source VM *before* clearing SEV state",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98718.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.