Skip to content
Heist/ feed
High

KVM: arm64: Bound used_lrs when flushing the pKVM hyp vCPU

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Bound used_lrs when flushing the pKVM hyp vCPU flush_hyp_vcpu() copies the host vGIC state into the hyp's private vCPU on every run. The vGIC list register save and restore use used_lrs as their loop bound and expect it to stay within the number of implemented list registers. While this is generally the case, flush_hyp_vcpu() copies vgic_v3 verbatim and does not enforce this, so a value provided by the host is used at EL2 to index vgic_lr[] and access ICH_LR_EL2 (host -> EL2). Fix by clamping used_lrs to the number of implemented list registers after the copy, as the trusted path already does in vgic_flush_lr_state(). The number of implemented list registers is constant after init, so it is replicated once from kvm_vgic_global_state.nr_lr into hyp_gicv3_nr_lr rather than read on every entry.

Announced Source revision 1
Original source ↗

CVE-2026-64287

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

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": "be66e67f175096f283c9d5614c4991fc9e7ed975",
        "lessThan": "2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "be66e67f175096f283c9d5614c4991fc9e7ed975",
        "lessThan": "9fa301d8298778dd799fa4dcf7a7f440715d146e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "be66e67f175096f283c9d5614c4991fc9e7ed975",
        "lessThan": "c646431865f4b1a5b14067233fa27b11e05e0d46",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "be66e67f175096f283c9d5614c4991fc9e7ed975",
        "lessThan": "7fca3fcef81c713bc82a37bf741e0f28e6d04a6f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "be66e67f175096f283c9d5614c4991fc9e7ed975",
        "lessThan": "8cc8bbbfab14c22c5551d0dd19b208a44b141c76",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "arch/arm64/include/asm/kvm_hyp.h",
      "arch/arm64/kvm/arm.c",
      "arch/arm64/kvm/hyp/nvhe/hyp-main.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.2"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.2",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.145",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.97",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.4",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "arch/arm64/include/asm/kvm_hyp.h",
      "arch/arm64/kvm/arm.c",
      "arch/arm64/kvm/hyp/nvhe/hyp-main.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-64287

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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