{"id":"CVE-2025-38169","published":"2025-07-03T08:36:08Z","modified":"2026-10-15T21:52:10Z","title":"arm64/fpsimd: Avoid clobbering kernel FPSIMD state with SMSTOP","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\narm64/fpsimd: Avoid clobbering kernel FPSIMD state with SMSTOP\n\nOn system with SME, a thread's kernel FPSIMD state may be erroneously\nclobbered during a context switch immediately after that state is\nrestored. Systems without SME are unaffected.\n\nIf the CPU happens to be in streaming SVE mode before a context switch\nto a thread with kernel FPSIMD state, fpsimd_thread_switch() will\nrestore the kernel FPSIMD state using fpsimd_load_kernel_state() while\nthe CPU is still in streaming SVE mode. When fpsimd_thread_switch()\nsubsequently calls fpsimd_flush_cpu_state(), this will execute an\nSMSTOP, causing an exit from streaming SVE mode. The exit from\nstreaming SVE mode will cause the hardware to reset a number of\nFPSIMD/SVE/SME registers, clobbering the FPSIMD state.\n\nFix this by calling fpsimd_flush_cpu_state() before restoring the kernel\nFPSIMD state.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00286,"percentile":0.1378,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/55d52af498daea75aa03ba9b7e444c8ae495ac20","tags":[]},{"url":"https://git.kernel.org/stable/c/a305821f597ec943849d3e53924adb88c61ed682","tags":[]},{"url":"https://git.kernel.org/stable/c/01098d893fa8a6edb2b56e178b798e3e6b674f02","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":2.76},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e92bee9f861b466c676f0200be3e46af7bc4ac6b, < 55d52af498daea75aa03ba9b7e444c8ae495ac20",">= e92bee9f861b466c676f0200be3e46af7bc4ac6b, < a305821f597ec943849d3e53924adb88c61ed682",">= e92bee9f861b466c676f0200be3e46af7bc4ac6b, < 01098d893fa8a6edb2b56e178b798e3e6b674f02","e003c485ac82a9f8de4204912ed059ac6dd4257c","25b90cd122d546823da90b916f7c3289dfe83a99",">= 6.8.12, < 6.9",">= 6.9.3, < 6.10"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:48:10.598358Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-19775","exploited":false,"provenance":"source"}}