Skip to main content
Network Thinking Solutions Logo

CVE-2024-26603

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.

All CVEs
CVE-2024-26603Published 2/26/2024

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.

Vendor advisory
CVSS5.5Medium

Overview

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 ]

Published
2/26/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.14.0, < 5.15.150

Verify advisory

Source
linux kernel
linux
≥ 5.16.0, < 6.1.79

Verify advisory

Source
linux kernel
linux
≥ 6.2.0, < 6.6.18

Verify advisory

Source
linux kernel
linux
≥ 6.7.0, < 6.7.6

Verify advisory

Source
Linux
Linux
≥ fcb3635f5018e53024c6be3c3213737f469f74ff, < 8bd3eee7720c14b59a206bd05b98d7586bccf99a

Verify advisory

Source
Linux
Linux
≥ fcb3635f5018e53024c6be3c3213737f469f74ff, < 627339cccdc9166792ecf96bc3c9f711a60ce996

Verify advisory

Source
Linux
Linux
≥ fcb3635f5018e53024c6be3c3213737f469f74ff, < b2479ab426cef7ab79a13005650eff956223ced2

Verify advisory

Source
Linux
Linux
≥ fcb3635f5018e53024c6be3c3213737f469f74ff, < 627e28cbb65564e55008315d9e02fbb90478beda

Verify advisory

Source
Linux
Linux
≥ fcb3635f5018e53024c6be3c3213737f469f74ff, < d877550eaf2dc9090d782864c96939397a3c6835

Verify advisory

Source
Linux
Linux
5.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.