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()]
CVSS Details
- CVSS 3.1 Base Score: 8.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | — | Jul 23, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-gcp-64k-7.0Upgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-gcpUpgrade linux-image-gcp-64kUpgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-nvidia-64kUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-nvidia-bos-7.0Upgrade linux-image-oracle-64kUpgrade linux-image-azure-7.0Upgrade linux-image-azureUpgrade linux-image-raspiUpgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-1009-awsUpgrade linux-image-oracle-7.0Upgrade linux-image-oracleUpgrade linux-image-nvidia-bosUpgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-aws-64k-7.0Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-raspi-7.0Upgrade linux-image-nvidia-64k-7.0Upgrade linux-image-7.0.0-1010-azureUpgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-ibmUpgrade linux-image-nvidiaUpgrade linux-image-azure-fdeUpgrade linux-image-azure-fde-7.0Upgrade linux-image-awsUpgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-gcp-7.0 | Jul 21, 2026 | Jul 20, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub