Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-47209

7.8 · HIGH
Published Apr 10, 2024 linux CWE-416 EPSS 0.21% (11th pctl)

Overview

CVE-2021-47209 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 10, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, 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:

sched/fair: Prevent dead task groups from regaining cfs_rq's

Kevin is reporting crashes which point to a use-after-free of a cfs_rq

in update_blocked_averages(). Initial debugging revealed that we've

live cfs_rq's (on_list=1) in an about to be kfree()'d task group in

free_fair_sched_group(). However, it was unclear how that can happen.

His kernel config happened to lead to a layout of struct sched_entity

that put the 'my_q' member directly into the middle of the object

which makes it incidentally overlap with SLUB's freelist pointer.

That, in combination with SLAB_FREELIST_HARDENED's freelist pointer

mangling, leads to a reliable access violation in form of a #GP which

made the UAF fail fast.

Michal seems to have run into the same issue[1]. He already correctly

diagnosed that commit a7b359fc6a37 ("sched/fair: Correctly insert

cfs_rq's to list on unthrottle") is causing the preconditions for the

UAF to happen by re-

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.13, < 5.15.5 Affected

Frequently Asked Questions

What is CVE-2021-47209?

CVE-2021-47209 is a high-severity vulnerability affecting linux linux_kernel. It was published on April 10, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47209?

This vulnerability has a CVSS 3.1 base score of 7.8, 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-47209?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. 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-47209?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-47209 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.