# CVE-2026-98440: KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction

> 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-18T15:14:50.740Z
- **Modified:** 2026-10-24T14:16:41.777Z

## Who should check

- Anyone running Linux \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 876049f026b4dfaca0cc78ec81be0e639ca8525d; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 22e82acec93a681071ed36f70eabe2d0c4e0bebd; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 5bf1c9175e657b3c2dc1cf77403031ac7aadcf66; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< e5843f4effaa2ffac3e789ecd4456403564961d4
- Anyone running Linux 6.11

## Description

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

KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction

We free the shadow S2 structures from kvm\_arch\_flush\_shadow\_all(), which
is a Bad Idea(tm). Freeing the page tables is fair game (this is what
this callback is for), but freeing the container that could still be
referenced by another part of the system is not great.

Instead, grow separate destructors that gets called when we tear the VM
down for good. From there, we can nuke both the individual MMUs as well
as the global array that points to them, safe in the knowledge that the
vcpus themselves have been destroyed already.

## Affected and fixed versions

- Linux: \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 876049f026b4dfaca0cc78ec81be0e639ca8525d; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 22e82acec93a681071ed36f70eabe2d0c4e0bebd; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 5bf1c9175e657b3c2dc1cf77403031ac7aadcf66; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< e5843f4effaa2ffac3e789ecd4456403564961d4 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98440.md
Affected: Linux >= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, < 876049f026b4dfaca0cc78ec81be0e639ca8525d; >= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, < 22e82acec93a681071ed36f70eabe2d0c4e0bebd; >= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, < 5bf1c9175e657b3c2dc1cf77403031ac7aadcf66; >= 4f128f8e1aaac189f83d0f8…
Fixed in: Linux 876049f026b4dfaca0cc78ec81be0e639ca8525d, Linux 22e82acec93a681071ed36f70eabe2d0c4e0bebd, Linux 5bf1c9175e657b3c2dc1cf77403031ac7aadcf66

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-98440 being exploited?

There is no confirmed exploitation: CVE-2026-98440 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-98440?

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-98440?

Linux \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 876049f026b4dfaca0cc78ec81be0e639ca8525d; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 22e82acec93a681071ed36f70eabe2d0c4e0bebd; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< 5bf1c9175e657b3c2dc1cf77403031ac7aadcf66; \>= 4f128f8e1aaac189f83d0f828bcdb2986d8d2e51, \< e5843f4effaa2ffac3e789ecd4456403564961d4; Linux 6.11.

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

Yes. Fixed in Linux 876049f026b4dfaca0cc78ec81be0e639ca8525d, Linux 22e82acec93a681071ed36f70eabe2d0c4e0bebd, Linux 5bf1c9175e657b3c2dc1cf77403031ac7aadcf66. No fix listed yet: follow the vendor advisory.

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

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/876049f026b4dfaca0cc78ec81be0e639ca8525d>
- other: <https://git.kernel.org/stable/c/22e82acec93a681071ed36f70eabe2d0c4e0bebd>
- other: <https://git.kernel.org/stable/c/5bf1c9175e657b3c2dc1cf77403031ac7aadcf66>
- other: <https://git.kernel.org/stable/c/e5843f4effaa2ffac3e789ecd4456403564961d4>

## 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-98440>

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