Skip to content
Heist/ feed
High

KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction We free the shadow S2 structures from kvm_arch_flush_shadow_all(), which is a Bad Idea(tm). Freeing the page tables is fair game (this is what this callback is for), but freeing the container that could still be referenced by another part of the system is not great. Instead, grow separate destructors that gets called when we tear the VM down for good. From there, we can nuke both the individual MMUs as well as the global array that points to them, safe in the knowledge that the vcpus themselves have been destroyed already.

Announced Group revision 1
Original source ↗

CVE-2026-98440

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-2026-98440

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": "4f128f8e1aaac189f83d0f828bcdb2986d8d2e51",
        "lessThan": "876049f026b4dfaca0cc78ec81be0e639ca8525d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f128f8e1aaac189f83d0f828bcdb2986d8d2e51",
        "lessThan": "22e82acec93a681071ed36f70eabe2d0c4e0bebd",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f128f8e1aaac189f83d0f828bcdb2986d8d2e51",
        "lessThan": "5bf1c9175e657b3c2dc1cf77403031ac7aadcf66",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f128f8e1aaac189f83d0f828bcdb2986d8d2e51",
        "lessThan": "e5843f4effaa2ffac3e789ecd4456403564961d4",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "arch/arm64/include/asm/kvm_nested.h",
      "arch/arm64/kvm/arm.c",
      "arch/arm64/kvm/nested.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.11"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.11",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.12.113",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.56",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.9",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "arch/arm64/include/asm/kvm_nested.h",
      "arch/arm64/kvm/arm.c",
      "arch/arm64/kvm/nested.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98440

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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