CVE-2025-38169

published 3 Jul 2025 · updated 17 Nov 2026

arm64/fpsimd: Avoid clobbering kernel FPSIMD state with SMSTOP

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a305821f597ec943849d3e53924adb88c61ed682, Kernel 6.9, Kernel 6.10 and 4 more.

In the Linux kernel, the following vulnerability has been resolved: arm64/fpsimd: Avoid clobbering kernel FPSIMD state with SMSTOP On system with SME, a thread's kernel FPSIMD state may be erroneously clobbered during a context switch immediately after that state is restored. Systems without SME are unaffected. If the CPU happens to be in streaming SVE mode before a context switch to a thread with kernel FPSIMD state, fpsimd_thread_switch() will restore the kernel FPSIMD state using fpsimd_load_kernel_state() while the CPU is still in streaming SVE mode. When fpsimd_thread_switch() subsequently calls fpsimd_flush_cpu_state(), this will execute an SMSTOP, causing an exit from streaming SVE mode. The exit from streaming SVE mode will cause the hardware to reset a number of FPSIMD/SVE/SME registers, clobbering the FPSIMD state. Fix this by calling fpsimd_flush_cpu_state() before restoring the kernel FPSIMD state.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=e92bee9f861b466c676f0200be3e46af7bc4ac6b <a305821f597ec943849d3e53924adb88c61ed682, >=6.8.12 <6.9, >=6.9.3 <6.10, >=e92bee9f861b466c676f0200be3e46af7bc4ac6b <01098d893fa8a6edb2b56e178b798e3e6b674f02, >=e92bee9f861b466c676f0200be3e46af7bc4ac6b <55d52af498daea75aa03ba9b7e444c8ae495ac20, =25b90cd122d546823da90b916f7c3289dfe83a99, =6.10, =e003c485ac82a9f8de4204912ed059ac6dd4257ca305821f597ec943849d3e53924adb88c61ed682, 6.9, 6.10, 01098d893fa8a6edb2b56e178b798e3e6b674f02, 55d52af498daea75aa03ba9b7e444c8ae495ac20
linux-kernel: Kernel>=6.13.0 <6.15.3, >=6.8.12 <6.9, >=6.9.3 <6.10, >=6.10.0 <6.12.346.15.3, 6.9, 6.10, 6.12.34

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38169 severity on Zeptric[![CVE-2025-38169](https://zeptric.io/badge/cve/CVE-2025-38169.svg)](https://zeptric.io/cve/CVE-2025-38169)