# CVE-2026-99585: KVM: arm64: Use kvm_s2_fault_vma_info in gmem_abort()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-11-20T05:49:15.646Z
- Modified: 2026-11-20T06:17:49.907Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Use kvm_s2_fault_vma_info in gmem_abort()

gmem_abort() maps at s2fd->fault_ipa, which HPFAR_EL2 holds at 4K
granularity whatever the page size. The generic page-table code aligns
it, but pkvm_pgtable_stage2_map() looks up existing mappings over
[addr, addr + size), so on a pKVM host with pages larger than 4K a
guest_memfd-backed guest that faults past the first 4K of a page can
find its neighbour's mapping, get -EAGAIN and take the same fault
forever.

The memory fault exit reports s2fd->fault_ipa too, which for a nested
guest's fault is the nested IPA rather than the canonical one
kvm_gmem_get_pfn() failed on.

Take the addresses from kvm_s2_fault_vma_info instead, as
user_mem_abort() does, and report the canonical gfn in the memory fault
exit. kvm_s2_fault_get_vma_info() itself isn't called: a guest_memfd
memslot's userspace_addr doesn't need to be backed by a VMA.

(As written by CVE List.)

## Affected

- Linux Linux: from a7b57e0995927cc5fb8629594e2abf2a6f1000e9 before 09462113ed3906929b228144a738e7b15cb9f52d; from a7b57e0995927cc5fb8629594e2abf2a6f1000e9 before 9f84bde6aaade57b2ef7b71c1783b30773cd43d6; from a7b57e0995927cc5fb8629594e2abf2a6f1000e9 before 80b0b86dc5e4344e62a2fd3ee43d0ef816fe9122; 6.18 (not affected: before 6.18; from 6.18.64 up to 6.18.*; from 7.3.5 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/09462113ed3906929b228144a738e7b15cb9f52d>
- <https://git.kernel.org/stable/c/9f84bde6aaade57b2ef7b71c1783b30773cd43d6>
- <https://git.kernel.org/stable/c/80b0b86dc5e4344e62a2fd3ee43d0ef816fe9122>

## Sources

- CVE List: [CVE-2026-99585](https://www.cve.org/CVERecord?id=CVE-2026-99585), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-99585](https://nvd.nist.gov/vuln/detail/CVE-2026-99585), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-99585 · Whole record: https://cve.day/CVE-2026-99585.json · Rebuilt by cve.day 2026-11-25T22:59:52.270Z
