CVE-2024-26603

Updated: 2024-11-22 02:30:58.792131

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 ]


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0
CVSS Version 3.x MEDIUM 5.5

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 5.5 MEDIUM Released CLSA-2024:1722533082 2024-08-01 14:33:42
AlmaLinux 9.2 FIPS kernel 5.14.0 5.5 MEDIUM Released CLSA-2024:1722530110 2024-08-01 14:33:43
CentOS 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-06-24 10:10:30
CentOS 7 ELS kernel 3.10.0 5.5 MEDIUM Ignored 2024-06-24 11:20:30
CentOS 8.4 ELS kernel 4.18.0 5.5 MEDIUM Ignored 2024-06-24 11:20:30
CentOS 8.5 ELS kernel 4.18.0 5.5 MEDIUM Ignored 2024-06-24 11:20:30
CentOS Stream 8 ELS kernel 4.18.0 5.5 MEDIUM Not Vulnerable 2024-06-09 14:19:00
CloudLinux 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-06-24 10:10:30
Oracle Linux 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-06-24 10:10:29