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.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Use‑After‑Free leading to memory corruption
Action: Immediate Patch
AI Analysis

Impact

The flaw arises when KVM on ARM64 frees shadow S2 structures before a virtual machine is fully destroyed. This premature deallocation can leave the container still referenced elsewhere, creating a classic use‑after‑free scenario. Based on the description, it is inferred that if an attacker can trigger this path, they could corrupt kernel memory, potentially causing a crash or, in worst cases, enabling arbitrary code execution at the kernel level.

Affected Systems

The issue affects Linux kernel deployments that use KVM virtualization on ARM64 hardware. Any kernel version prior to the update that implements delayed freeing of shadow S2 structures is susceptible. Specific version information is not provided, so all affected ARM64 KVM installations should be reviewed.

Risk and Exploitability

No CVSS score is available, and the EPSS score is not listed, so the exact likelihood of exploitation cannot be quantified. The vulnerability is not present in CISA’s Known Exploited Vulnerabilities catalog. Nonetheless, use‑after‑free bugs in the kernel can be highly dangerous; based on the description, it is inferred that exploitation would likely require local or privileged access to the hypervisor, but no public exploits are documented at this time.

Generated by OpenCVE AI on October 18, 2026 at 17:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the fix for delayed freeing of shadow S2 structures in arm64 KVM (refer to the Git commit references supplied).
  • If a kernel upgrade cannot be applied immediately, disable KVM on ARM64 nodes to eliminate the vulnerable code path until the patch is available.
  • After applying the patch or disabling KVM, monitor kernel logs for any signs of memory corruption or use‑after‑free errors that might indicate exploitation attempts.

Generated by OpenCVE AI on October 18, 2026 at 17:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 17:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title KVM: arm64: nv: Delay freeing of shadow S2 structures until VM destruction
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:14:50.740Z

Reserved: 2026-09-25T10:25:14.349Z

Link: CVE-2026-98440

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:16:54.287

Modified: 2026-10-18T16:16:54.287

Link: CVE-2026-98440

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T17:30:16Z

Weaknesses