CVE-2025-22013
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-22013 is a vulnerability discovered in the Linux kernel's KVM (Kernel-based Virtual Machine) implementation for ARM64 architectures. The vulnerability was disclosed on April 8, 2025, and affects the handling of host FPSIMD/SVE/SME state management (NVD CVE).

Technical details

The vulnerability stems from several issues in how the hypervisor code lazily saves the host's FPSIMD/SVE state. The specific problems include: Host SVE being discarded unexpectedly due to inconsistent configuration of TIF_SVE and CPACR_ELx.ZEN (resulting in QEMU crashes where SVE is used by memmove()), host SVE state being discarded after modification by ptrace (an unintentional ptrace ABI change), and the host FPMR value being discarded when running a non-protected VM where FPMR support is not exposed to a VM and that VM uses FPSIMD/SVE. These issues date back to at least kernel version 5.17 (NVD CVE).

Impact

The vulnerability can result in QEMU crashes when SVE is used by memmove(), as reported in Red Hat issue RHEL-68997. Additionally, it can lead to stale values being left in memory when the host's FPSIMD/SVE/SME state is not properly saved (NVD CVE).

Mitigation and workarounds

The vulnerability has been resolved by implementing eager saving and 'flushing' of the host's FPSIMD/SVE/SME state when loading a vCPU. This ensures KVM does not need to save any of the host's FPSIMD/SVE/SME state. The fix includes removing fpsimd_kvm_prepare() and placing the necessary call to fpsimd_save_and_flush_cpu_state() in kvm_arch_vcpu_load_fp(). The fix needs to be backported to ALL stable trees due to the historical nature of the problems (NVD CVE).

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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

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