PT-2024-14643 · Linux+9 · Linux Kernel+9
Alexander Gordeev
+3
·
Published
2023-12-11
·
Updated
2025-09-29
·
CVE-2023-52598
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue arises when the content of the floating point control (fpc) register of a traced process is modified with the ptrace interface. The new value is tested for validity by temporarily loading it into the fpc register. This may lead to corruption of the fpc register of the tracing process if an interrupt happens while the value is temporarily loaded into the fpc register, and within interrupt context, floating point or vector registers are used. The current fp/vx registers are saved with save fpu regs() assuming they belong to user space and will be loaded into fp/vx registers when returning to user space. However, test fp ctl() restores the original user space fpc register value, which will be discarded when returning to user space. As a result, the tracer will incorrectly continue to run with the value that was supposed to be used for the traced process. The fix involves saving fpu register contents with save fpu regs() before using test fp ctl().
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu