PT-2024-11234 · Linux+1 · Linux Kernel+1
Published
2021-06-09
·
Updated
2024-05-21
·
CVE-2021-47226
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue arises when the XRSTOR instruction fails with a #PF exception but still modifies the register state, which is considered architecturally valid by both Intel and AMD. This might occur when one sibling thread unmaps a page and invalidates the shared TLB while another sibling thread is executing XRSTOR on the same page. The
fpu restore sig() function can execute XRSTOR with preserved hardware registers on behalf of a different victim task, potentially leading to a situation where the victim task's user-visible state is corrupted if fpu restore sig() schedules out and the victim task schedules back in without reloading its own FPU registers. To prevent this, preserved FPU registers are invalidated on XRSTOR failure.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Side Channel Attack
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel