PT-2025-15401 · Linux+4 · Linux Kernel+4

Published

2025-02-10

·

Updated

2026-04-20

·

CVE-2025-22013

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to v5.17
Description: The issue is related to the way hyp code lazily saves the host's FPSIMD/SVE state in the Linux kernel, specifically in the KVM module for arm64 architecture. There are several problems with this approach, including the host SVE being discarded unexpectedly due to inconsistent configuration of TIF SVE and CPACR ELx.ZEN, the host SVE state being discarded after modification by ptrace, and the host FPMR value being discarded when running a non-protected VM. To avoid these issues, the host's FPSIMD/SVE/SME state is now eagerly saved and flushed when loading a vCPU.
Recommendations: For Linux kernel versions prior to v5.17, update to a version that includes the fix for this issue, which involves eagerly saving and flushing the host's FPSIMD/SVE/SME state when loading a vCPU. As a temporary workaround, consider disabling the use of FPSIMD/SVE in non-protected VMs to minimize the risk of exploitation. Restrict access to the fpsimd state and fpmr ptr variables, as they should not be used and will be removed in subsequent patches.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-12313
CVE-2025-22013
MGASA-2025-0142
MGASA-2025-0146
OESA-2025-1446
OESA-2025-1450
OPENSUSE-SU-2025_01614-1
OPENSUSE-SU-2025_01707-1
RHSA-2025:3510
SUSE-SU-2025:01614-1
SUSE-SU-2025:01707-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:01951-1
SUSE-SU-2025:01964-1
SUSE-SU-2025:01967-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20206-1
SUSE-SU-2025:20270-1
SUSE-SU-2025:20283-1
SUSE-SU-2025_01614-1
SUSE-SU-2025_01707-1
SUSE-SU-2025_01951-1
SUSE-SU-2025_01964-1
SUSE-SU-2025_01967-1
USN-7605-1
USN-7605-2
USN-7606-1
USN-7628-1
USN-7764-1
USN-7764-2
USN-7765-1
USN-7766-1
USN-7767-1
USN-7767-2
USN-7779-1
USN-7790-1
USN-7800-1
USN-7801-1
USN-7801-2
USN-7801-3
USN-7802-1
USN-7809-1

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Suse
Ubuntu