# CVE-2024-26603: x86/fpu: Stop relying on userspace for info to fault in xsave buffer

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 16, 2026-11-28)
- **CWE:** CWE-835
- **Published:** 2024-02-24T14:56:57.628Z
- **Modified:** 2026-06-17T07:17:52.407Z

## Who should check

- Anyone running Linux \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 8bd3eee7720c14b59a206bd05b98d7586bccf99a; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 627339cccdc9166792ecf96bc3c9f711a60ce996; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< b2479ab426cef7ab79a13005650eff956223ced2; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 627e28cbb65564e55008315d9e02fbb90478beda; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< d877550eaf2dc9090d782864c96939397a3c6835
- Anyone running Linux 5.14

## Description

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

x86/fpu: Stop relying on userspace for info to fault in xsave buffer

Before this change, the expected size of the user space buffer was
taken from fx\_sw-\>xstate\_size. fx\_sw-\>xstate\_size can be changed
from user-space, so it is possible construct a sigreturn frame where:

 \* fx\_sw-\>xstate\_size is smaller than the size required by valid bits in
   fx\_sw-\>xfeatures.
 \* user-space unmaps parts of the sigrame fpu buffer so that not all of
   the buffer required by xrstor is accessible.

In this case, xrstor tries to restore and accesses the unmapped area
which results in a fault. But fault\_in\_readable succeeds because buf +
fx\_sw-\>xstate\_size is within the still mapped area, so it goes back and
tries xrstor again. It will spin in this loop forever.

Instead, fault in the maximum size which can be touched by XRSTOR (taken
from fpstate-\>user\_size).

\[ dhansen: tweak subject / changelog \]

## Affected and fixed versions

- Linux: \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 8bd3eee7720c14b59a206bd05b98d7586bccf99a; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 627339cccdc9166792ecf96bc3c9f711a60ce996; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< b2479ab426cef7ab79a13005650eff956223ced2; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 627e28cbb65564e55008315d9e02fbb90478beda; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< d877550eaf2dc9090d782864c96939397a3c6835 (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26603.md
Affected: Linux >= fcb3635f5018e53024c6be3c3213737f469f74ff, < 8bd3eee7720c14b59a206bd05b98d7586bccf99a; >= fcb3635f5018e53024c6be3c3213737f469f74ff, < 627339cccdc9166792ecf96bc3c9f711a60ce996; >= fcb3635f5018e53024c6be3c3213737f469f74ff, < b2479ab426cef7ab79a13005650eff956223ced2; >= fcb3635f5018e53024c6be3…
Fixed in: Linux 8bd3eee7720c14b59a206bd05b98d7586bccf99a, Linux 627339cccdc9166792ecf96bc3c9f711a60ce996, Linux 627e28cbb65564e55008315d9e02fbb90478beda

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-2024-26603 being exploited?

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

### How serious is CVE-2024-26603?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26603?

Linux \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 8bd3eee7720c14b59a206bd05b98d7586bccf99a; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 627339cccdc9166792ecf96bc3c9f711a60ce996; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< b2479ab426cef7ab79a13005650eff956223ced2; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< 627e28cbb65564e55008315d9e02fbb90478beda; \>= fcb3635f5018e53024c6be3c3213737f469f74ff, \< d877550eaf2dc9090d782864c96939397a3c6835; Linux 5.14.

### Is there a fix for CVE-2024-26603?

Yes. Fixed in Linux 8bd3eee7720c14b59a206bd05b98d7586bccf99a, Linux 627339cccdc9166792ecf96bc3c9f711a60ce996, Linux 627e28cbb65564e55008315d9e02fbb90478beda. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26603?

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

- patch: <https://git.kernel.org/stable/c/8bd3eee7720c14b59a206bd05b98d7586bccf99a>
- patch: <https://git.kernel.org/stable/c/627339cccdc9166792ecf96bc3c9f711a60ce996>
- patch: <https://git.kernel.org/stable/c/b2479ab426cef7ab79a13005650eff956223ced2>
- patch: <https://git.kernel.org/stable/c/627e28cbb65564e55008315d9e02fbb90478beda>
- patch: <https://git.kernel.org/stable/c/d877550eaf2dc9090d782864c96939397a3c6835>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZOU3745CWCDZ7EMKMXB2OEEIB5Q3IWM/>

## 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-2024-26603>

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