CVE-2026-63941CWE-20CWE-862broken-access-control

CVE-2026-63941

High · published July 19, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
5.5
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Correctly cap ZCR_EL2 provided by a guest hypervisor

ZCR_EL2 can be updated by a VHE guest hypervisor either using ZCR_EL2

(which traps) or ZCR_EL1 (which does not trap). KVM handles both in

different way:

- on ZCR_EL2 trap, ZCR_EL2.LEN is immediately capped at the VM's own

VL limit. This has the potential to break existing SW that relies

on the full LEN field to be stateful.

- on ZCR_EL1 access, we do absolutely nothing.

On restoring the SVE context for an L2 guest, we directly restore the

guest hypervisor's view of ZCR_EL2 into the physical ZCR_EL2. If the

guest's view of the register was updated using the ZCR_EL2 accessor,

the value has already been sanitised (with the caveat mentioned above).

But if the guest used ZCR_EL1, the raw value is written into the HW,

and the L2 guest can now access VLs that it shouldn't.

Fix all the above by moving the VL capping to the restore points,

ensuring that:

- the HW is always programmed with a capped value, irrespective of

the accessor being used,

- the ZCR_EL2.LEN field is always completely stateful, irrespective

of the accessor being used.

Additionally, move ZCR_EL2 to be a sanitised register, ensuring that

only the LEN field is actually stateful. This requires some creative

construction of the RES0 mask, as the sysreg generation script does

not yet generate RAZ/WI fields.

[maz: rewrote commit message, tidy up access_zcr_el2()]

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00166 · 5.5th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-862 · Missing Authorization
Published
2026-07-19T20:17Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 6.11, < 6.18.576.18.57
linux/linux_kernel≥ 6.19, < 7.0.127.0.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 19 JUL 14:55Z
    KVM: arm64: Correctly cap ZCR_EL2 provided by a guest hypervisor
    cvelistv5