CVE-2026-138918

Source
https://cve.org/CVERecord?id=CVE-2026-138918
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138918.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138918
Downstream
Published
2026-11-30T13:26:11Z
Modified
2026-11-30T15:01:25Z
Summary
KVM: arm64: Pin the host vCPU before adjusting its PC under pKVM
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138918.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
efa1368ba9f4b6e081c0fdd73245b0ba6ef75bda
Fixed
4bdb56562a9775a2d4868e4b21d8a49707ca9e8a
Fixed
cc87321f8a139cde8aa72f9bbbbed20c4c6104fa
Fixed
a2bb5f5c67a95ac97fcd6859dab51be421cf26fe

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138918.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138918.json"