Menu

Star on GitHub · 3.4k

CVE-2021-47226

7.1 · HIGH

In the Linux kernel, the following vulnerability has been resolved: x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer Both Intel and AMD consider it to be architecturally val…

Published May 21, 2024CWE-203EPSS 0.22%

Overview

CVE-2021-47226 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer

Both Intel and AMD consider it to be architecturally valid for XRSTOR to

fail with #PF but nonetheless change the register state. The actual

conditions under which this might occur are unclear [1], but it seems

plausible that this might be triggered if one sibling thread unmaps a page

and invalidates the shared TLB while another sibling thread is executing

XRSTOR on the page in question.

__fpu__restore_sig() can execute XRSTOR while the hardware registers

are preserved on behalf of a different victim task (using the

fpu_fpregs_owner_ctx mechanism), and, in theory, XRSTOR could fail but

modify the registers.

If this happens, then there is a window in which __fpu__restore_sig()

could schedule out and the victim task could schedule back in without

reloading its own FPU registers. This would result in part of the FPU

state that __fpu__restore_sig()

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47226?

CVE-2021-47226 is a high-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2021-47226?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47226?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47226?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47226 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2021

View all
Watch the demo →