# CVE-2025-68171: x86/fpu: Ensure XFD state on signal delivery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **Published:** 2025-12-16T13:42:51.121Z
- **Modified:** 2026-10-15T22:19:09.510Z

## Who should check

- Anyone running Linux \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< eefbfb722042fc9210d2e0ac2b063fd1abf51895; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 1811c610653c0cd21cc9add14595b7cffaeca511; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 5b2619b488f1d08b960c43c6468dd0759e8b3035; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 3f735419c4b43cde42e6d408db39137b82474e31; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 388eff894d6bc5f921e9bfff0e4b0ab2684a96e9
- Anyone running Linux 5.16

## Description

In the Linux kernel, the following vulnerability has been resolved:

x86/fpu: Ensure XFD state on signal delivery

Sean reported \[1\] the following splat when running KVM tests:

   WARNING: CPU: 232 PID: 15391 at xfd\_validate\_state+0x65/0x70
   Call Trace:
    \<TASK\>
    fpu\_\_clear\_user\_states+0x9c/0x100
    arch\_do\_signal\_or\_restart+0x142/0x210
    exit\_to\_user\_mode\_loop+0x55/0x100
    do\_syscall\_64+0x205/0x2c0
    entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53

Chao further identified \[2\] a reproducible scenario involving signal
delivery: a non-AMX task is preempted by an AMX-enabled task which
modifies the XFD MSR.

When the non-AMX task resumes and reloads XSTATE with init values,
a warning is triggered due to a mismatch between fpstate::xfd and the
CPU's current XFD state. fpu\_\_clear\_user\_states() does not currently
re-synchronize the XFD state after such preemption.

Invoke xfd\_update\_state() which detects and corrects the mismatch if
there is a dynamic feature.

This also benefits the sigreturn path, as fpu\_\_restore\_sig() may call
fpu\_\_clear\_user\_states() when the sigframe is inaccessible.

\[ dhansen: minor changelog munging \]

## Affected and fixed versions

- Linux: \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< eefbfb722042fc9210d2e0ac2b063fd1abf51895; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 1811c610653c0cd21cc9add14595b7cffaeca511; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 5b2619b488f1d08b960c43c6468dd0759e8b3035; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 3f735419c4b43cde42e6d408db39137b82474e31; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 388eff894d6bc5f921e9bfff0e4b0ab2684a96e9 (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- Upgrade Linux to 388eff894d6bc5f921e9bfff0e4b0ab2684a96e9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68171. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68171.md
Affected: Linux >= 672365477ae8afca5a1cca98c1deb733235e4525, < eefbfb722042fc9210d2e0ac2b063fd1abf51895; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 1811c610653c0cd21cc9add14595b7cffaeca511; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 5b2619b488f1d08b960c43c6468dd0759e8b3035; >= 672365477ae8afca5a1cca9…
Fixed in: Linux 1811c610653c0cd21cc9add14595b7cffaeca511, Linux 5b2619b488f1d08b960c43c6468dd0759e8b3035, Linux 3f735419c4b43cde42e6d408db39137b82474e31, Linux 388eff894d6bc5f921e9bfff0e4b0ab2684a96e9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68171 being exploited?

There is no confirmed exploitation: CVE-2025-68171 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68171?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-68171?

Linux \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< eefbfb722042fc9210d2e0ac2b063fd1abf51895; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 1811c610653c0cd21cc9add14595b7cffaeca511; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 5b2619b488f1d08b960c43c6468dd0759e8b3035; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 3f735419c4b43cde42e6d408db39137b82474e31; \>= 672365477ae8afca5a1cca98c1deb733235e4525, \< 388eff894d6bc5f921e9bfff0e4b0ab2684a96e9; Linux 5.16.

### Is there a fix for CVE-2025-68171?

Yes. Fixed in Linux 1811c610653c0cd21cc9add14595b7cffaeca511, Linux 5b2619b488f1d08b960c43c6468dd0759e8b3035, Linux 3f735419c4b43cde42e6d408db39137b82474e31, Linux 388eff894d6bc5f921e9bfff0e4b0ab2684a96e9. Upgrade Linux to 388eff894d6bc5f921e9bfff0e4b0ab2684a96e9 or later.

### How do I check if I'm affected by CVE-2025-68171?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/eefbfb722042fc9210d2e0ac2b063fd1abf51895>
- other: <https://git.kernel.org/stable/c/1811c610653c0cd21cc9add14595b7cffaeca511>
- other: <https://git.kernel.org/stable/c/5b2619b488f1d08b960c43c6468dd0759e8b3035>
- other: <https://git.kernel.org/stable/c/3f735419c4b43cde42e6d408db39137b82474e31>
- other: <https://git.kernel.org/stable/c/388eff894d6bc5f921e9bfff0e4b0ab2684a96e9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68171>

HTML: <https://flawdb.com/CVE-2025-68171> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68171>
