{"id":"CVE-2026-99585","aliases":["CVE-2026-99585"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: arm64: Use kvm_s2_fault_vma_info in gmem_abort()","summary":"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->fault_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->fault_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->fault_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->fault_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.","source":"cvelist"}],"published":"2026-11-20T05:49:15.646Z","modified":"2026-11-20T06:17:49.907Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a7b57e0995927cc5fb8629594e2abf2a6f1000e9","fixed":"09462113ed3906929b228144a738e7b15cb9f52d","status":"affected"},{"type":"git","introduced":"a7b57e0995927cc5fb8629594e2abf2a6f1000e9","fixed":"9f84bde6aaade57b2ef7b71c1783b30773cd43d6","status":"affected"},{"type":"git","introduced":"a7b57e0995927cc5fb8629594e2abf2a6f1000e9","fixed":"80b0b86dc5e4344e62a2fd3ee43d0ef816fe9122","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/09462113ed3906929b228144a738e7b15cb9f52d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f84bde6aaade57b2ef7b71c1783b30773cd43d6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/80b0b86dc5e4344e62a2fd3ee43d0ef816fe9122","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99585","url":"https://www.cve.org/CVERecord?id=CVE-2026-99585","licence":"CVE Terms of Use","modified":"2026-11-20T05:49:15.646Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99585","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99585","licence":"Public domain","modified":"2026-11-20T06:17:49.907Z"}],"updatedAt":"2026-11-25T22:59:52.270Z","epss":{"score":0.00206,"percentile":0.06064,"date":"2026-11-30T12:00:22.000Z"}}