Menu

Star on GitHub · 3.3k

CVE-2021-47011

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: mm: memcontrol: slab: fix obtain a reference to a freeing memcg Patch series "Use obj_cgroup APIs to charge kmem pages", v5.

Published Feb 28, 2024EPSS 0.25%

Overview

CVE-2021-47011 is a high-severity vulnerability. It was published on February 28, 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:

mm: memcontrol: slab: fix obtain a reference to a freeing memcg

Patch series "Use obj_cgroup APIs to charge kmem pages", v5.

Since Roman's series "The new cgroup slab memory controller" applied.

All slab objects are charged with the new APIs of obj_cgroup. The new

APIs introduce a struct obj_cgroup to charge slab objects. It prevents

long-living objects from pinning the original memory cgroup in the

memory. But there are still some corner objects (e.g. allocations

larger than order-1 page on SLUB) which are not charged with the new

APIs. Those objects (include the pages which are allocated from buddy

allocator directly) are charged as kmem pages which still hold a

reference to the memory cgroup.

E.g. We know that the kernel stack is charged as kmem pages because the

size of the kernel stack can be greater than 2 pages (e.g. 16KB on

x86_64 or arm64). If we create a thread (suppose the thread stack is

charged

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-47011?

CVE-2021-47011 is a high-severity vulnerability. It was published on February 28, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-47011?

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-47011?

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-47011?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47011 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
LiveWatch live →