CVE-2024-35801
x86/fpu: Keep xfd_state in sync with MSR_IA32_XFD
Mitigation
- Upgrade Linux to 10e4b5166df9ff7a2d5316138ca668b42d004422 or later.
Who should check
- Anyone running Linux >= 672365477ae8afca5a1cca98c1deb733235e4525, < 21c7c00dae55cb0e3810d5f9506b58f68475d41d; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 1acbca933313aa866e39996904c9aca4d435c4cd; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 92b0f04e937665bde5768f3fcc622dcce44413d8; >= 672365477ae8afca5a1cca98c1deb733235e4525, < b61e3b7055ac6edee4be071c52f48c26472d2624; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 10e4b5166df9ff7a2d5316138ca668b42d004422
- Anyone running Linux 5.16
Vulnerability facts
- Affected
- Linux >= 672365477ae8afca5a1cca98c1deb733235e4525, < 21c7c00dae55cb0e3810d5f9506b58f68475d41d; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 1acbca933313aa866e39996904c9aca4d435c4cd; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 92b0f04e937665bde5768f3fcc622dcce44413d8; >= 672365477ae8afca5a1cca98c1deb733235e4525, < b61e3b7055ac6edee4be071c52f48c26472d2624; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 10e4b5166df9ff7a2d5316138ca668b42d004422; Linux 5.16
- Fixed in
- Linux 21c7c00dae55cb0e3810d5f9506b58f68475d41d, Linux 1acbca933313aa866e39996904c9aca4d435c4cd, Linux 92b0f04e937665bde5768f3fcc622dcce44413d8, Linux 10e4b5166df9ff7a2d5316138ca668b42d004422
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: x86/fpu: Keep xfd_state in sync with MSR_IA32_XFD Commit 672365477ae8 ("x86/fpu: Update XFD state where required") and commit 8bf26758ca96 ("x86/fpu: Add XFD state to fpstate") introduced a per CPU variable xfd_state to keep the MSR_IA32_XFD value cached, in order to avoid unnecessary writes to the MSR. On CPU hotplug MSR_IA32_XFD is reset to the init_fpstate.xfd, which wipes out any stale state. But the per CPU cached xfd value is not reset, which brings them out of sync. As a consequence a subsequent xfd_update_state() might fail to update the MSR which in turn can result in XRSTOR raising a #NM in kernel space, which crashes the kernel. To fix this, introduce xfd_set_state() to write xfd_state together with MSR_IA32_XFD, and use it in all places that set MSR_IA32_XFD.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 672365477ae8afca5a1cca98c1deb733235e4525, < 21c7c00dae55cb0e3810d5f9506b58f68475d41d; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 1acbca933313aa866e39996904c9aca4d435c4cd; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 92b0f04e937665bde5768f3fcc622dcce44413d8; >= 672365477ae8afca5a1cca98c1deb733235e4525, < b61e3b7055ac6edee4be071c52f48c26472d2624; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 10e4b5166df9ff7a2d5316138ca668b42d004422 | — | cvelist |
| Linux | 5.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-35801. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35801.md Affected: Linux >= 672365477ae8afca5a1cca98c1deb733235e4525, < 21c7c00dae55cb0e3810d5f9506b58f68475d41d; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 1acbca933313aa866e39996904c9aca4d435c4cd; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 92b0f04e937665bde5768f3fcc622dcce44413d8; >= 672365477ae8afca5a1cca9… Fixed in: Linux 21c7c00dae55cb0e3810d5f9506b58f68475d41d, Linux 1acbca933313aa866e39996904c9aca4d435c4cd, Linux 92b0f04e937665bde5768f3fcc622dcce44413d8, Linux 10e4b5166df9ff7a2d5316138ca668b42d004422 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.
References
Patches
- https://git.kernel.org/stable/c/21c7c00dae55cb0e3810d5f9506b58f68475d41d
- https://git.kernel.org/stable/c/1acbca933313aa866e39996904c9aca4d435c4cd
- https://git.kernel.org/stable/c/92b0f04e937665bde5768f3fcc622dcce44413d8
- https://git.kernel.org/stable/c/b61e3b7055ac6edee4be071c52f48c26472d2624
- https://git.kernel.org/stable/c/10e4b5166df9ff7a2d5316138ca668b42d004422
FAQ
Is CVE-2024-35801 being exploited?
There is no confirmed exploitation: CVE-2024-35801 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-35801?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-35801?
Linux >= 672365477ae8afca5a1cca98c1deb733235e4525, < 21c7c00dae55cb0e3810d5f9506b58f68475d41d; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 1acbca933313aa866e39996904c9aca4d435c4cd; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 92b0f04e937665bde5768f3fcc622dcce44413d8; >= 672365477ae8afca5a1cca98c1deb733235e4525, < b61e3b7055ac6edee4be071c52f48c26472d2624; >= 672365477ae8afca5a1cca98c1deb733235e4525, < 10e4b5166df9ff7a2d5316138ca668b42d004422; Linux 5.16.
Is there a fix for CVE-2024-35801?
Yes. Fixed in Linux 21c7c00dae55cb0e3810d5f9506b58f68475d41d, Linux 1acbca933313aa866e39996904c9aca4d435c4cd, Linux 92b0f04e937665bde5768f3fcc622dcce44413d8, Linux 10e4b5166df9ff7a2d5316138ca668b42d004422. Upgrade Linux to 10e4b5166df9ff7a2d5316138ca668b42d004422 or later.
How do I check if I'm affected by CVE-2024-35801?
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.