CVE-2026-64287
KVM: arm64: Bound used_lrs when flushing the pKVM hyp vCPU
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.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
Aug. 17, 2026, 5:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the resolved version.
- Apply the KVM arm64 patch for vGIC state handling.
- Ensure used_lrs is bounded correctly.
- Verify hyp_gicv3_nr_lr is updated.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64287.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64287 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64287
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64287 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64287 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'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-rc1', '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'}] [{'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'}] -
Initial Analysis by [email protected]
Aug. 13, 2026
Action Type Old Value New Value Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.145 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.1.4 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.40 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.97 Added Reference Type kernel.org: https://git.kernel.org/stable/c/2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7fca3fcef81c713bc82a37bf741e0f28e6d04a6f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8cc8bbbfab14c22c5551d0dd19b208a44b141c76 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/9fa301d8298778dd799fa4dcf7a7f440715d146e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c646431865f4b1a5b14067233fa27b11e05e0d46 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'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-rc1', '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'}] Added 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. Added Reference https://git.kernel.org/stable/c/2c5e72b9fbf83fdfa724e9f1af0f418ccf8739b8 Added Reference https://git.kernel.org/stable/c/7fca3fcef81c713bc82a37bf741e0f28e6d04a6f Added Reference https://git.kernel.org/stable/c/8cc8bbbfab14c22c5551d0dd19b208a44b141c76 Added Reference https://git.kernel.org/stable/c/9fa301d8298778dd799fa4dcf7a7f440715d146e Added Reference https://git.kernel.org/stable/c/c646431865f4b1a5b14067233fa27b11e05e0d46