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


- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 20 Nov 2026
- **Updated:** 20 Nov 2026
- **Also known as:** BELL-CVE-2026-99585, DEBIAN-CVE-2026-99585, GHSA-5rcq-7qwg-2rv3, UBUNTU-CVE-2026-99585

## What is CVE-2026-99585?

CVE-2026-99585 is a vulnerability in Linux, published on 20 Nov 2026. 

### Official 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.

## Which versions are affected by CVE-2026-99585?


Status by vendor (upstream, then each distribution release and vendor build):

| Who | Release | Status | Packages | Fixed in |
| --- | --- | --- | --- | --- |
| Red Hat | 8 | not affected | `bpftool`, `kernel`, `kernel-abi-stablelists` and 43 more |  |
| Red Hat | 9 | not affected | `bpftool`, `kernel`, `kernel-64k` and 104 more |  |
| Red Hat | 10 | deferred | `kernel` |  |
| Red Hat | els/6 | not affected | `kernel`, `kernel-abi-whitelists`, `kernel-bootwrapper` and 10 more |  |
| Red Hat | els/7 | not affected | `bpftool`, `kernel`, `kernel-abi-whitelists` and 23 more |  |

## How do I fix CVE-2026-99585?

Upgrade to a fixed version.

## Is CVE-2026-99585 being exploited?

There is no known exploitation of CVE-2026-99585 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-99585 and fix it if it is affected.

What it is: CVE-2026-99585 is a vulnerability in Linux, published on 20 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-99585 in the wild and no public exploit code.

Affected product: Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-99585/ (Markdown: https://insights.sbomify.com/CVE-2026-99585/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-99585
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99585
- OSV: https://osv.dev/vulnerability/CVE-2026-99585

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-99585/
Summaries are generated and may contain mistakes; the official description above is the record.
