CVE-2026-64287CWE-125

CVE-2026-64287

High · published July 25, 2026

CVSS v3.1
8.2
EPSS
0%
Percentile
6.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00175 · 6.6th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2026-07-25T14:17Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 6.2, < 6.6.1456.6.145
linux/linux_kernel≥ 6.7, < 6.12.976.12.97
linux/linux_kernel≥ 6.13, < 6.18.406.18.40
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
References (5)
EPSS history
Timeline
  • 25 JUL 08:49Z
    KVM: arm64: Bound used_lrs when flushing the pKVM hyp vCPU
    cvelistv5