CVE-2026-138918: KVM: arm64: Pin the host vCPU before adjusting its PC under pKVM
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: Pin the host vCPU before adjusting its PC under pKVM
Under pKVM, a page the host shares with EL2 is mapped at EL2 only while it's pinned, and the host vCPU is pinned at its first KVMRUN. KVMSETVCPUEVENTS with extdabtpending reaches kvmadjustpc() at EL2 before that, and dereferencing the unmapped host vCPU panics the hypervisor. Any process holding /dev/kvm on a pKVM host can trigger it.
Pin the host vCPU around the adjustment when no hyp vCPU is loaded for it. A loaded hyp vCPU implies it's pinned. A pin fails only for memory the host isn't sharing, and the request is then dropped like any other bad host pointer.