PT-2024-11235 · Linux+2 · Linux Kernel+2
Published
2021-06-08
·
Updated
2025-04-29
·
CVE-2021-47227
CVSS v3.1
5.5
Medium
| Vector | AV: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 state corruption in the
fpu restore sig() function. The non-compacted slowpath uses copy from user() and copies the entire user buffer into the kernel buffer, verbatim, which can lead to entirely invalid state on which XRSTOR will #GP. The validate user xstate header() function can detect some of that corruption, but it leaves the onus on callers to clear the buffer. To avoid corruption of the kernel XSAVE buffer, the copy user to xstate() function is used, which validates the XSAVE header contents before copying the actual states to the kernel.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Improper Check for Exceptional Conditions
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse