cve.bz

CVE-2025-22013 linux linux kernel

5.5 mediumEPSS 0.2%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Unconditionally save+flush host FPSIMD/SVE/SME state There are several problems with the way hyp code lazily saves the host's FPSIMD/SVE state, including: * Host SVE being discarded unexpectedly due to inconsistent configuration of TIF_SVE and CPACR_ELx.ZEN. This has been seen to result in QEMU crashes where SVE is used by memmove(), as reported by Eric Auger: https://issues.redhat.com/browse/RHEL-68997 * Host SVE state is discarded *after* modification by ptrace, which was an unintentional ptrace ABI change introduced with lazy discarding of SVE state. * The host FPMR value can be discarded when running a non-protected VM, where FPMR support is not exposed to a VM, and that VM uses FPSIMD/SVE. In these cases the hyp code does not save the host's FPMR before unbinding the host's FPSIMD/SVE/SME state, leaving a stale value in memory. Avoid these by eagerly saving and "flushing" the host's FPSIMD/SVE/SME state when loading a vCPU such that KVM does not need to save any of the host's FPSIMD/SVE/SME state. For clarity, fpsimd_kvm_prepare() is removed and the necessary call to fpsimd_save_and_flush_cpu_state() is placed in kvm_arch_vcpu_load_fp(). As 'fpsimd_state' and 'fpmr_ptr' should not be used, they are set to NULL; all uses of these will be removed in subsequent patches. Historical problems go back at least as far as v5.17, e.g. erroneous assumptions about TIF_SVE being clear in commit: 8383741ab2e773a9 ("KVM: arm64: Get rid of host SVE tracking/saving") ... and so this eager save+flush probably needs to be backported to ALL stable trees.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-22013 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-22013?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-22013?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-22013 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux6.2 and later

Fixed in

ProductRelease lineFixed in
Linux6.66.6.85
Linux6.126.12.21
Linux6.136.13.9
Linuxlater releases6.14

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14linux6.12.21-1DEBIAN-CVE-2025-22013
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-22013
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-22013
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-22013
Ubuntu22.04:LTSlinux-aws-6.86.8.0-1039.41~22.04.1UBUNTU-CVE-2025-22013 USN-7766-1
Ubuntu22.04:LTSlinux-azure-6.86.8.0-1036.42~22.04.1UBUNTU-CVE-2025-22013 USN-7802-1
Ubuntu22.04:LTSlinux-gcp-6.86.8.0-1040.42~22.04.1UBUNTU-CVE-2025-22013 USN-7766-1
Ubuntu22.04:LTSlinux-hwe-6.86.8.0-85.85~22.04.1UBUNTU-CVE-2025-22013 USN-7764-2 USN-7801-1
Ubuntu22.04:LTSlinux-ibm-6.86.8.0-1037.37~22.04.1UBUNTU-CVE-2025-22013 USN-7779-1
Ubuntu22.04:LTSlinux-lowlatency-hwe-6.86.8.0-84.84.1~22.04.1UBUNTU-CVE-2025-22013 USN-7764-1
Ubuntu22.04:LTSlinux-nvidia-6.86.8.0-1039.42~22.04.1UBUNTU-CVE-2025-22013 USN-7765-1
Ubuntu22.04:LTSlinux-oracle-6.86.8.0-1037.38~22.04.1UBUNTU-CVE-2025-22013 USN-7801-3
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 moreno fix listedUBUNTU-CVE-2025-22013
30 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatrhel_eus:9.4::appstreamrv, perf, rtla and 26 more0:5.14.0-427.62.1.el9_4RHSA-2025:3510
Red Hatrhel_eus:9.4::appstream, rhel_eus:9.4::crb, rhel_eus:9.4::nfv and 1 morebpftool-debuginfo0:7.3.0-427.62.1.el9_4RHSA-2025:3510
Red Hatrhel_eus:9.4::baseosbpftool, bpftool-debuginfo0:7.3.0-427.62.1.el9_4RHSA-2025:3510
Red Hatrhel_eus:9.4::baseoskernel, kernel-64k, kernel-core and 43 more0:5.14.0-427.62.1.el9_4RHSA-2025:3510
Red Hatrhel_eus:9.4::crblibperf, perf-debuginfo, kernel-debuginfo and 14 more0:5.14.0-427.62.1.el9_4RHSA-2025:3510
Red Hatrhel_eus:9.4::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-427.62.1.el9_4RHSA-2025:3510
Red Hatrhel_eus:9.4::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-427.62.1.el9_4RHSA-2025:3510
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6-RT_Update_111-150600.1.3.2SUSE-SU-2025:01964-1
SUSELinux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_111-150600.13.3.1SUSE-SU-2025:01614-1
SUSELinux Enterprise Live Patching 15 SP7kernel-livepatch-SLE15-SP7_Update_11-150700.15.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
SUSELinux Enterprise Module for Basesystem 15 SP6kernel-default-base6.4.0-150600.23.50.1.150600.12.22.1SUSE-SU-2025:01614-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-64kb, kernel-source, kernel-default and 1 more6.4.0-150700.53.3.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Module for Basesystem 15 SP7kernel-default-base6.4.0-150700.53.3.1.150700.17.2.1SUSE-SU-2025:01951-1
SUSELinux Enterprise Module for Confidential Computing Technical Preview 15 SP6kernel-coco, kernel-syms-coco, kernel-coco_debug and 1 more6.4.0-15061.21.coco15sp6.1SUSE-SU-2025:01919-1
SUSELinux Enterprise Module for Development Tools 15 SP6kernel-docs, kernel-syms, kernel-source and 1 more6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
SUSELinux Enterprise Module for Development Tools 15 SP7kernel-docs, kernel-syms, kernel-source and 1 more6.4.0-150700.53.3.1SUSE-SU-2025:01951-1
13 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.50.1SUSE-SU-2025:01614-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.37.1SUSE-SU-2025:01707-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.50.1.150600.12.22.1SUSE-SU-2025:01614-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.39.1SUSE-SU-2025:01964-1
Alpaquita25linux-lts6.12.41-r0BELL-CVE-2025-22013
Alpaquitastreamlinux-lts6.18.35-r1BELL-CVE-2025-22013

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A flaw was found in the Linux kernel's KVM subsystem on ARM64 systems. The hypervisor code lazily saves the host's FPSIMD/SVE/SME floating-point and vector register state when switching context to a virtual machine, and that state can be improperly discarded, for example due to inconsistent TIF_SVE and CPACR_ELx.ZEN configuration, after ptrace modification of SVE state, or by leaving a stale host FPMR value in memory when a non-protected VM uses FPSIMD/SVE. A local user with privileges to run virtual machines on an affected ARM64 host could exploit this flaw to crash host virtualization processes (such as QEMU), resulting in a denial of service, or potentially cause host register state corruption. Red Hat has rated this flaw as Moderate for Red Hat Enterprise Linux, reflecting a local, availability-only impact (CVSS 5.5, CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). Red Hat Enterprise Linux 9 and 10 (kernel and kernel-rt) are affected on ARM64; Red Hat Enterprise Linux 6, 7, and 8, Red Hat In-Vehicle OS, and Red Hat's hosted OpenShift offerings are not affected because the vulnerable code is not present in those products. Because the flaw has a Moderate, local, availability-only impact and requires privileges to run virtual machines, the fix for the affected streams is deferred to a future update; the residual risk is a denial of service or register state corruption limited to ARM64 KVM hosts where users with virtualization privileges are not fully trusted. The upstream CVE record rates this issue as Important (CVSS 7.3) including confidentiality and integrity impacts; Red Hat's assessment reflects that the demonstrated consequence is a crash of host virtualization processes rather than a confirmed confidentiality or integrity compromise.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.62.1.el9_4Fixed 2025-04-02RHSA-2025:3510
Red Hat Enterprise Linux 10kernelFix deferred
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-22013.

References

Check your stackJSON