CVE-2026-98440

Source
https://cve.org/CVERecord?id=CVE-2026-98440
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98440.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98440
Downstream
Published
2026-10-18T15:14:50Z
Modified
2026-10-20T02:30:39Z
Summary
KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98440.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4f128f8e1aaac189f83d0f828bcdb2986d8d2e51
Fixed
876049f026b4dfaca0cc78ec81be0e639ca8525d
Fixed
22e82acec93a681071ed36f70eabe2d0c4e0bebd
Fixed
5bf1c9175e657b3c2dc1cf77403031ac7aadcf66
Fixed
e5843f4effaa2ffac3e789ecd4456403564961d4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98440.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.113
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.56
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98440.json"