CVE-2026-138918
KVM: arm64: Pin the host vCPU before adjusting its PC under pKVM
Check your servers for CVE-2026-138918
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138918 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.41% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from efa1368ba9f4b6e081c0fdd73245b0ba6ef75bda, before 4bdb56562a9775a2d4868e4b21d8a49707ca9e8a affected from efa1368ba9f4b6e081c0fdd73245b0ba6ef75bda, before cc87321f8a139cde8aa72f9bbbbed20c4c6104fa affected from efa1368ba9f4b6e081c0fdd73245b0ba6ef75bda, before a2bb5f5c67a95ac97fcd6859dab51be421cf26fe
Other versions: unaffected
|
| Linux |
affected 6.17 unaffected before 6.17 unaffected from 6.18.64 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138918 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138918
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138918
trivy image --scanners vuln IMAGE | grep CVE-2026-138918
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4bdb56562a9775a2d4868e4b21d8a49707ca9e8a git.kernel.org
- https://git.kernel.org/stable/c/cc87321f8a139cde8aa72f9bbbbed20c4c6104fa git.kernel.org
- https://git.kernel.org/stable/c/a2bb5f5c67a95ac97fcd6859dab51be421cf26fe git.kernel.org
Source: the record CVE-2026-138918 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse