← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel KVM arm64 Nested Virtualization Frees the nested_mmus Array Before All Guest Shadow Page Table References Are Released

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-98927

Key Details

CVECVE-2026-98927
CVSS Score / Version
7.0 (High) / CVSS v3.1
Updated2026-10-24
CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is high; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.15% probability of exploitation in the next 30 days (5% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-98927
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-98927
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.