Skip to main content

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… (CVE-2026-98927)

0
High
Published: 10/23/2026 (10/23/2026, 15:31:31 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's KVM arm64 nested virtualization implementation was resolved by fixing the lifecycle management of the nested_mmus array. This array holds shadow page tables used during nested guest execution. Previously, if a VCPU_INIT event occurred while a virtual CPU was running a nested context and the nested_mmus array needed relocation, the vCPU could continue using a pointer to a freed structure, leading to use-after-free conditions. The fix changes the nested_mmus array to an array of pointers allocated at VM creation to avoid reallocations and clarifies object lifecycles.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 19:01:40 UTC

Technical Analysis

The Linux kernel vulnerability CVE-2026-98927 concerns the nested_mmus array in the KVM arm64 nested virtualization code. The nested_mmus array stores shadow page tables for nested guests and was originally allocated during VCPU_INIT for the entire guest, requiring potential relocation as it grows. If relocation occurred while a vCPU was running an L2 guest, the vCPU could reference a freed structure, causing a use-after-free issue. The fix replaces the array of structures with an array of pointers allocated once at VM creation, sized to the maximum KVM can handle, eliminating the need for reallocation. This change improves lifecycle management by allocating nested_mmus in kvm_init_nested() and freeing them in kvm_arch_destroy_vm(), and similarly managing s2_mmu structures. Additionally, freeing of vcpu->arch.vncr_array was made consistent across failure paths.

Potential Impact

The vulnerability could lead to use-after-free conditions in the nested virtualization code on arm64 architectures, potentially causing kernel crashes or memory corruption. This impacts the stability and security of nested virtual machines running on affected Linux kernels. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to address this issue by changing the nested_mmus array management to avoid reallocations and use-after-free conditions. Users should update to the Linux kernel version that includes this fix. Since this is a kernel-level vulnerability, applying the official kernel update is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-2374-8v6x-x95c
Osv Schema Version
1.4.0
Aliases
["CVE-2026-98927"]

Threat ID: 6adbaad0d73cc49347b205a9

Added to database: 10/23/2026, 18:43:28 UTC

Last enriched: 10/23/2026, 19:01:40 UTC

Last updated: 10/23/2026, 21:05:24 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses