Skip to content
Heist/ feed
High

KVM: arm64: Reassign nested_mmus array behind mmu_lock

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Reassign nested_mmus array behind mmu_lock kvm->arch.nested_mmus[] is walked under kvm->mmu_lock, including from the MMU notifier path (kvm_unmap_gfn_range() -> kvm_nested_s2_unmap()), which can run at any time. kvm_vcpu_init_nested() reallocates the array and frees the old buffer while holding only kvm->arch.config_lock, so such a walker can reference the freed array. Allocate the new array outside of mmu_lock, as the allocation can sleep. Under the lock, copy the existing entries, fix up the back pointers and reassign the array. Free the old buffer after dropping the lock, as kvfree() can sleep as well.

Announced Source revision 1
Original source ↗

CVE-2026-46317

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-46317

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": "918450ad6010df6ecd2efde12a1409e011da22d6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f128f8e1aaac189f83d0f828bcdb2986d8d2e51",
        "lessThan": "4424dbcb06d68e34e51c019a5781a7dc00731971",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4f128f8e1aaac189f83d0f828bcdb2986d8d2e51",
        "lessThan": "70543358fa08e0f7cebc3447c3b70fe97ad7aaa8",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "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.18.35",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.12",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "arch/arm64/kvm/nested.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-46317

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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