In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction We… (CVE-2026-98440)
Description
A vulnerability in the Linux kernel's KVM arm64 implementation related to premature freeing of shadow Stage 2 (S2) structures has been resolved. The issue involved freeing shadow S2 structures too early in the VM lifecycle, which could lead to unsafe references. The fix delays freeing these structures until the virtual machine is fully destroyed, ensuring safe cleanup after all vCPUs are terminated.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's KVM arm64 component was due to freeing shadow Stage 2 structures prematurely within the kvm_arch_flush_shadow_all() callback. While freeing page tables at this point is appropriate, freeing the container structures that might still be referenced elsewhere is unsafe. The resolution introduces separate destructors that are invoked only during VM teardown, after vCPUs have been destroyed, allowing safe deallocation of individual MMUs and the global array referencing them.
Potential Impact
The premature freeing of shadow S2 structures could potentially lead to use-after-free conditions or system instability within the KVM virtualization environment on arm64 architectures. However, no known exploits in the wild have been reported. The impact is limited to the internal memory management of virtual machines and could affect VM stability or security if exploited.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to delay freeing shadow S2 structures until VM destruction. Users should update to the fixed kernel version once available. Since this is a kernel-level fix, applying the official kernel update from the Linux distribution vendor is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-f55r-7vvq-j4jq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98440"]
Threat ID: 6ad520b12cdf04f6569944ee
Added to database: 10/18/2026, 19:40:33 UTC
Last enriched: 10/18/2026, 19:48:44 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.