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: 7 High
EPSS: < 1% Very Low
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

The CVSS score of 7 indicates a high severity vulnerability. The EPSS score of <1% reflects a very low probability of exploitation in observed traffic, and the vulnerability is not listed in CISA KEV. The use‑after‑free flaw can lead to memory corruption that could cause a kernel panic or potentially be leveraged for privileged escalation if an attacker gains execution within the hypervisor context. The attack would likely require local or privileged access to the KVM environment, as the flaw resides in the ARM64 KVM shadow page management code. No public exploits are currently known.

Generated by OpenCVE AI on October 24, 2026 at 15:27 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 24, 2026 at 15:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Sat, 24 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H'}

cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-826
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H'}

threat_severity

Moderate


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-24T14:08:48.611Z

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-24T14:16:41.777

Link: CVE-2026-98440

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98440 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T15:30:14Z

Weaknesses
  • CWE-826

    Premature Release of Resource During Expected Lifetime