PT-2024-11114 · Linux+2 · Linux Kernel+2

Published

2021-04-30

·

Updated

2025-01-08

·

CVE-2021-47011

CVSS v3.1

5.5

Medium

VectorAV: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 the memory control and slab management in the Linux kernel. Specifically, it involves the use of obj cgroup APIs to charge kmem pages. The problem arises when certain objects, such as allocations larger than order-1 page on SLUB, are not charged with the new APIs and still hold a reference to the memory cgroup. This can cause the memory cgroup to be pinned in memory even after it is removed. A script is provided to demonstrate this scenario, where 500 dying cgroups are added to the system. The patchset aims to fix this issue by making the kmem pages drop the reference to the memory cgroup using the obj cgroup APIs.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-06540
CESA-2021_4356
CVE-2021-47011
RHSA-2021:4356
RHSA-2021_4356

Affected Products

Centos
Linux Kernel
Red Hat