{"id":"CVE-2026-138918","summary":"KVM: arm64: Pin the host vCPU before adjusting its PC under pKVM","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: Pin the host vCPU before adjusting its PC under pKVM\n\nUnder pKVM, a page the host shares with EL2 is mapped at EL2 only while\nit's pinned, and the host vCPU is pinned at its first KVM_RUN.\nKVM_SET_VCPU_EVENTS with ext_dabt_pending reaches __kvm_adjust_pc() at\nEL2 before that, and dereferencing the unmapped host vCPU panics the\nhypervisor. Any process holding /dev/kvm on a pKVM host can trigger it.\n\nPin the host vCPU around the adjustment when no hyp vCPU is loaded for\nit. A loaded hyp vCPU implies it's pinned. A pin fails only for memory\nthe host isn't sharing, and the request is then dropped like any other\nbad host pointer.","modified":"2026-12-01T21:02:35.256533020Z","published":"2026-11-30T13:26:11.782Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138918.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4bdb56562a9775a2d4868e4b21d8a49707ca9e8a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2bb5f5c67a95ac97fcd6859dab51be421cf26fe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cc87321f8a139cde8aa72f9bbbbed20c4c6104fa"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138918.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138918"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}