Skip to content
Heist/ feed
Unrated

KVM: arm64: Validate the SVE vector length in pkvm_vcpu_init_sve()

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Validate the SVE vector length in pkvm_vcpu_init_sve() pkvm_vcpu_init_sve() clamps only the upper bound of the host-provided sve_max_vl, so an invalid vector length reaches sve_state_size_from_vl() and the WARN_ON() there, which is fatal at EL2. The existing !sve_state_size test rejects such a length, but only after the macro has run. Check sve_vl_valid() before deriving the state size. A valid length cannot yield a zero size, so the !sve_state_size test goes with it.

Announced Source revision 1
Original source ↗

CVE-2026-98638

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

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": "5db1bef933427aa467ad89c7b695a84a6b4afe16",
        "lessThan": "faf66e55e87498ab4bf88cdf9a629e61b3f2d3bc",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5db1bef933427aa467ad89c7b695a84a6b4afe16",
        "lessThan": "bae3e4493046de4fefa15f809d9b8dc114e84a3d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "5db1bef933427aa467ad89c7b695a84a6b4afe16",
        "lessThan": "2a2eb10795a1e495aebc7f829ccecb72c05b4fd9",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "arch/arm64/kvm/hyp/nvhe/pkvm.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.16"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.16",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.55",
        "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/kvm/hyp/nvhe/pkvm.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98638

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

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