{"id":"CVE-2026-99585","summary":"KVM: arm64: Use kvm_s2_fault_vma_info in gmem_abort()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: Use kvm_s2_fault_vma_info in gmem_abort()\n\ngmem_abort() maps at s2fd-\u003efault_ipa, which HPFAR_EL2 holds at 4K\ngranularity whatever the page size. The generic page-table code aligns\nit, but pkvm_pgtable_stage2_map() looks up existing mappings over\n[addr, addr + size), so on a pKVM host with pages larger than 4K a\nguest_memfd-backed guest that faults past the first 4K of a page can\nfind its neighbour's mapping, get -EAGAIN and take the same fault\nforever.\n\nThe memory fault exit reports s2fd-\u003efault_ipa too, which for a nested\nguest's fault is the nested IPA rather than the canonical one\nkvm_gmem_get_pfn() failed on.\n\nTake the addresses from kvm_s2_fault_vma_info instead, as\nuser_mem_abort() does, and report the canonical gfn in the memory fault\nexit. kvm_s2_fault_get_vma_info() itself isn't called: a guest_memfd\nmemslot's userspace_addr doesn't need to be backed by a VMA.","modified":"2026-11-20T07:00:42.114927228Z","published":"2026-11-20T05:49:15.646Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99585.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/09462113ed3906929b228144a738e7b15cb9f52d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80b0b86dc5e4344e62a2fd3ee43d0ef816fe9122"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f84bde6aaade57b2ef7b71c1783b30773cd43d6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99585.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99585"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a7b57e0995927cc5fb8629594e2abf2a6f1000e9"},{"fixed":"09462113ed3906929b228144a738e7b15cb9f52d"},{"fixed":"9f84bde6aaade57b2ef7b71c1783b30773cd43d6"},{"fixed":"80b0b86dc5e4344e62a2fd3ee43d0ef816fe9122"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99585.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99585.json"}}],"schema_version":"1.9.2"}