# CVE-2026-64287: KVM: arm64: Bound used\_lrs when flushing the pKVM hyp vCPU

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-07-25T08:49:28.168Z
- **Modified:** 2026-10-19T21:17:29.827Z

## Who should check

- Anyone running Linux \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 9fa301d8298778dd799fa4dcf7a7f440715d146e; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< c646431865f4b1a5b14067233fa27b11e05e0d46; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 7fca3fcef81c713bc82a37bf741e0f28e6d04a6f; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 8cc8bbbfab14c22c5551d0dd19b208a44b141c76
- Anyone running Linux 6.2

## Description

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\<n\>\_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.

## Affected and fixed versions

- Linux: \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 9fa301d8298778dd799fa4dcf7a7f440715d146e; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< c646431865f4b1a5b14067233fa27b11e05e0d46; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 7fca3fcef81c713bc82a37bf741e0f28e6d04a6f; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 8cc8bbbfab14c22c5551d0dd19b208a44b141c76 (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- Upgrade Linux to 8cc8bbbfab14c22c5551d0dd19b208a44b141c76 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64287. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64287.md
Affected: Linux >= be66e67f175096f283c9d5614c4991fc9e7ed975, < 2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8; >= be66e67f175096f283c9d5614c4991fc9e7ed975, < 9fa301d8298778dd799fa4dcf7a7f440715d146e; >= be66e67f175096f283c9d5614c4991fc9e7ed975, < c646431865f4b1a5b14067233fa27b11e05e0d46; >= be66e67f175096f283c9d56…
Fixed in: Linux 2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8, Linux 9fa301d8298778dd799fa4dcf7a7f440715d146e, Linux 7fca3fcef81c713bc82a37bf741e0f28e6d04a6f, Linux 8cc8bbbfab14c22c5551d0dd19b208a44b141c76

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64287 being exploited?

There is no confirmed exploitation: CVE-2026-64287 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64287?

High: CVSS 8.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64287?

Linux \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 9fa301d8298778dd799fa4dcf7a7f440715d146e; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< c646431865f4b1a5b14067233fa27b11e05e0d46; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 7fca3fcef81c713bc82a37bf741e0f28e6d04a6f; \>= be66e67f175096f283c9d5614c4991fc9e7ed975, \< 8cc8bbbfab14c22c5551d0dd19b208a44b141c76; Linux 6.2.

### Is there a fix for CVE-2026-64287?

Yes. Fixed in Linux 2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8, Linux 9fa301d8298778dd799fa4dcf7a7f440715d146e, Linux 7fca3fcef81c713bc82a37bf741e0f28e6d04a6f, Linux 8cc8bbbfab14c22c5551d0dd19b208a44b141c76. Upgrade Linux to 8cc8bbbfab14c22c5551d0dd19b208a44b141c76 or later.

### How do I check if I'm affected by CVE-2026-64287?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8>
- patch: <https://git.kernel.org/stable/c/9fa301d8298778dd799fa4dcf7a7f440715d146e>
- patch: <https://git.kernel.org/stable/c/c646431865f4b1a5b14067233fa27b11e05e0d46>
- patch: <https://git.kernel.org/stable/c/7fca3fcef81c713bc82a37bf741e0f28e6d04a6f>
- patch: <https://git.kernel.org/stable/c/8cc8bbbfab14c22c5551d0dd19b208a44b141c76>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64287>

HTML: <https://flawdb.com/CVE-2026-64287> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64287>
