PT-2024-1998 · Linux+10 · Linux Kernel+10

Konstantin Bogomolov

·

Published

2024-01-30

·

Updated

2025-09-29

·

CVE-2024-26603

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the Linux kernel's handling of the xsave buffer, where the expected size of the user space buffer was taken from fx sw->xstate size. This could be changed from user-space, allowing for the construction of a sigreturn frame where fx sw->xstate size is smaller than the size required by valid bits in fx sw->xfeatures, or where user-space unmaps parts of the sigrame fpu buffer, making it inaccessible to xrstor. As a result, xrstor tries to restore and access the unmapped area, leading to a fault. However, fault in readable succeeds because buf + fx sw->xstate size is within the still mapped area, causing it to try xrstor again and spin in an infinite loop. The fix involves faulting in the maximum size that can be touched by XRSTOR, taken from fpstate->user size.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Infinite Loop

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:3618
ALSA-2024:3627
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-14046
ALT-PU-2024-6818
BDU:2024-01854
CESA-2024_3618
CESA-2024_3627
CVE-2024-26603
DSA-5658-1
INFSA-2024_3618
INFSA-2024_3627
INFSA-2024_9315
OESA-2024-1395
OESA-2024-1396
OESA-2024-1397
OPENSUSE-SU-2024_0858-1
RHSA-2024:3618
RHSA-2024:3627
RHSA-2024:9315
RHSA-2024_3618
RHSA-2024_3627
RHSA-2024_9315
RHSA-2025:2490
RLSA-2024:3618
RLSA-2024:3627
SUSE-SU-2024:0855-1
SUSE-SU-2024:0858-1
SUSE-SU-2024:0900-1
SUSE-SU-2024:0900-2
SUSE-SU-2024:0910-1
SUSE-SU-2024:0977-1
USN-6820-1
USN-6820-2
USN-6821-1
USN-6821-2
USN-6821-3
USN-6821-4
USN-6828-1
USN-6871-1
USN-6892-1
USN-6895-1
USN-6895-2
USN-6895-3
USN-6895-4
USN-6900-1
USN-6919-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu