CVE-2026-138919: KVM: arm64: Validate the host vCPU's VM before reading it under pKVM
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Validate the host vCPU's VM before reading it under pKVM
On an MTE-capable host under pKVM, enterexception64() reads the VM's MTE flag through vcpu->kvm, which for a host vCPU is a host-writable pointer nothing validates. The host can point it at any address in the hyp linear map and read back bit 1 of that word through PSRTCO in the vCPU's CPSR, or panic the hypervisor with an unmapped one.
Get the VM through a get/put pair around the read: a loaded vCPU's is the hyp VM, an unloaded host vCPU's is read once and pinned, and a pointer the host never shared leaves TCO clear.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Validate the host vCPU's VM by obtaining it through a get/put pair around the read.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Exposure is limited to Linux systems using pKVM on an MTE-capable Arm64 host. The vulnerable path concerns host vCPUs handled by the hypervisor.
What access does an attacker need to exploit it?
The host must be able to control the host vCPU's VM pointer. A malicious host can redirect that pointer to an address in the hypervisor linear map.
What is the potential impact?
An attacker can disclose bit 1 of a word at a selected address through the vCPU CPSR's PSR_TCO state. Pointing the VM pointer at an unmapped address can also panic the hypervisor.
What does the fix change?
The fix obtains and pins the VM through a get/put pair before reading its MTE flag. For a pointer that was never shared by the host, it leaves TCO clear rather than trusting the host-controlled pointer.