CVE-2025-40102
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40102 is a vulnerability discovered in the Linux kernel's KVM (Kernel-based Virtual Machine) component, specifically affecting the ARM64 architecture. The vulnerability was disclosed on October 30, 2025, and involves improper access control to vCPU events before initialization (NVD).

Technical details

The vulnerability occurs when KVM erroneously allows userspace to pend vCPU events for a vCPU that hasn't been initialized yet. This leads to KVM interpreting uninitialized garbage data for routing and injecting exceptions. In one documented case, the injection code and hypervisor disagree on whether the vCPU has a 32-bit EL1, resulting in the vCPU being put into an illegal mode for AArch64, which triggers a BUG() in exceptiontargetel(). The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5, indicating moderate severity (Red Hat).

Impact

When exploited, this vulnerability can cause system instability and potential crashes due to the kernel interpreting uninitialized data. The impact is primarily focused on system availability, as it can trigger kernel panics through the BUG() mechanism in the ARM64 KVM implementation (NVD).

Mitigation and workarounds

The fix involves rejecting KVM ioctls outright before KVMARMVCPU_INIT is called, as no legitimate VMM would call these operations before initialization. The patch has been implemented in the Linux kernel version 6.17.6-1 (Debian).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40105N/AN/A
  • Linux KernelLinux Kernel
  • linux-hwe-6.14
NoNoOct 30, 2025
CVE-2025-40104N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace-kvm
NoNoOct 30, 2025
CVE-2025-40103N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoNoOct 30, 2025
CVE-2025-40102N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-extra
NoNoOct 30, 2025
CVE-2025-40100N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-kvm
NoNoOct 30, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management