# CVE-2026-98927: KVM: arm64: nv: Fix life cycle of the nested\_mmus array

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **Published:** 2026-10-23T12:06:01.528Z
- **Modified:** 2026-10-24T14:16:48.507Z

## Who should check

- Anyone running Linux \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< ea242bdc29e8a8ff0e2447a64b3841114779f3af; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 81e3f065a6485626f816d791dfd5e00ddd12eff5; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 512c93f4461b9a3735987f48423d438a9cd49e6a; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 33346f8960c7bb6a3b4e273b5cfe25c5a8be349f
- Anyone running Linux 6.11

## Description

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

KVM: arm64: nv: Fix life cycle of the nested\_mmus array

The nested\_mmus array holds the shadow page tables that are used when
a guest is running a nested context. These structures are allocated on
VCPU\_INIT for whole guest, which implies that they may have to be
relocated as the array grows.

Should a VCPU\_INIT occur whilst a vcpu is actively running an L2 and
that the allocation requires relocation, that vcpu will still be
running with a pointer to the previous structure, which will have been
freed.

Fix this by turning the array of structures to an array of pointers,
which is now allocated at VM creation, sized to the absolute maximum
that KVM can handle.

In turn, each VCPU\_INIT contributes S2\_MMU\_PER\_VCPU to the pool. No
reallocation is ever performed, and the life cycle of each object is
much clearer:

- the nested\_mmus array is allocated in kvm\_init\_nested(), and freed
  in kvm\_arch\_destroy\_vm()

- s2\_mmu structures are allocated in kvm\_vcpu\_init\_nested(), and freed
  on kvm\_arch\_flush\_shadow\_all()

Finally, the freeing of vcpu-\>arch.vncr\_array is made consistent
rather than being done on some failure paths, but not others.

## Affected and fixed versions

- Linux: \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< ea242bdc29e8a8ff0e2447a64b3841114779f3af; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 81e3f065a6485626f816d791dfd5e00ddd12eff5; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 512c93f4461b9a3735987f48423d438a9cd49e6a; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 33346f8960c7bb6a3b4e273b5cfe25c5a8be349f (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 33346f8960c7bb6a3b4e273b5cfe25c5a8be349f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98927. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98927.md
Affected: Linux >= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, < ea242bdc29e8a8ff0e2447a64b3841114779f3af; >= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, < 81e3f065a6485626f816d791dfd5e00ddd12eff5; >= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, < 512c93f4461b9a3735987f48423d438a9cd49e6a; >= 4f128f8e1aaac189f83d0f8…
Fixed in: Linux 81e3f065a6485626f816d791dfd5e00ddd12eff5, Linux 512c93f4461b9a3735987f48423d438a9cd49e6a, Linux 33346f8960c7bb6a3b4e273b5cfe25c5a8be349f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98927 being exploited?

There is no confirmed exploitation: CVE-2026-98927 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98927?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< ea242bdc29e8a8ff0e2447a64b3841114779f3af; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 81e3f065a6485626f816d791dfd5e00ddd12eff5; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 512c93f4461b9a3735987f48423d438a9cd49e6a; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 33346f8960c7bb6a3b4e273b5cfe25c5a8be349f; Linux 6.11.

### Is there a fix for CVE-2026-98927?

Yes. Fixed in Linux 81e3f065a6485626f816d791dfd5e00ddd12eff5, Linux 512c93f4461b9a3735987f48423d438a9cd49e6a, Linux 33346f8960c7bb6a3b4e273b5cfe25c5a8be349f. Upgrade Linux to 33346f8960c7bb6a3b4e273b5cfe25c5a8be349f or later.

### How do I check if I'm affected by CVE-2026-98927?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ea242bdc29e8a8ff0e2447a64b3841114779f3af>
- other: <https://git.kernel.org/stable/c/81e3f065a6485626f816d791dfd5e00ddd12eff5>
- other: <https://git.kernel.org/stable/c/512c93f4461b9a3735987f48423d438a9cd49e6a>
- other: <https://git.kernel.org/stable/c/33346f8960c7bb6a3b4e273b5cfe25c5a8be349f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98927>

HTML: <https://flawdb.com/CVE-2026-98927> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98927>
