PT-2024-6084 · Linux+9 · Linux Kernel+9

Adamos Ttofari

·

Published

2024-03-24

·

Updated

2026-05-26

·

CVE-2024-35801

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to the use of memory after it has been freed in the Linux kernel, specifically in the x86/fpu component. This can lead to a crash of the kernel when the xfd update state() function fails to update the MSR IA32 XFD, resulting in XRSTOR raising a #NM in kernel space. The problem arises because the per CPU variable xfd state is not reset when MSR IA32 XFD is reset to the init fpstate.xfd on CPU hotplug, bringing them out of sync.
Recommendations To fix this issue, introduce xfd set state() to write xfd state together with MSR IA32 XFD, and use it in all places that set MSR IA32 XFD. As a temporary workaround, consider disabling the xfd update state() function until a patch is available. Restrict access to the vulnerable x86/fpu component to minimize the risk of exploitation. Avoid using the xfd state variable in the affected kernel space until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Use After Free

Weakness Enumeration

Related Identifiers

ALSA-2024:5101
ALSA-2024:5102
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-06989
CESA-2024_5101
CESA-2024_5102
CVE-2024-35801
INFSA-2024_5101
INFSA-2024_5102
INFSA-2024_9315
OESA-2024-1680
OESA-2024-1681
OESA-2024-1682
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024:9315
RHSA-2024_5101
RHSA-2024_5102
RHSA-2024_9315
RHSA-2025:2490
RLSA-2024:5101
RLSA-2024:5102
RXSA-2024:5101
SUSE-SU-2024:2008-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2135-1
SUSE-SU-2024:2190-1
SUSE-SU-2024:2203-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20249-1
USN-6816-1
USN-6817-1
USN-6817-2
USN-6817-3
USN-6878-1

Affected Products

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