# CVE-2026-138918: KVM: arm64: Pin the host vCPU before adjusting its PC under pKVM

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:11.782Z
- Modified: 2026-11-30T14:17:50.667Z
- Assigned by: Linux

## Description

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 KVM_RUN.
KVM_SET_VCPU_EVENTS with ext_dabt_pending reaches __kvm_adjust_pc() 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.

(As written by CVE List.)

## Affected

- Linux Linux: from efa1368ba9f4b6e081c0fdd73245b0ba6ef75bda before 4bdb56562a9775a2d4868e4b21d8a49707ca9e8a; from efa1368ba9f4b6e081c0fdd73245b0ba6ef75bda before cc87321f8a139cde8aa72f9bbbbed20c4c6104fa; from efa1368ba9f4b6e081c0fdd73245b0ba6ef75bda before a2bb5f5c67a95ac97fcd6859dab51be421cf26fe; 6.17 (not affected: before 6.17; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/4bdb56562a9775a2d4868e4b21d8a49707ca9e8a>
- <https://git.kernel.org/stable/c/cc87321f8a139cde8aa72f9bbbbed20c4c6104fa>
- <https://git.kernel.org/stable/c/a2bb5f5c67a95ac97fcd6859dab51be421cf26fe>

## Sources

- CVE List: [CVE-2026-138918](https://www.cve.org/CVERecord?id=CVE-2026-138918), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138918](https://nvd.nist.gov/vuln/detail/CVE-2026-138918), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138918 · Whole record: https://cve.day/CVE-2026-138918.json · Rebuilt by cve.day 2026-11-30T14:32:36.371Z
