PT-2024-8951

CVE-2021-47488

·

Published

2024-05-22

·

Updated

2024-12-05

Description by

CVSS 2.0
4.6
Medium
MetricsAV:L/AC:L/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions: Linux kernel (affected versions not specified)
Description: The issue is related to a memory leak caused by the missing cgroup bpf offline function in the Linux kernel. This leak occurs when the CONFIG CGROUP BPF option is enabled. The leak can be observed by running specific commands, such as $mount -t cgroup -o none,name=foo cgroup cgroup/ followed by $umount cgroup/, which results in an unreferenced object. The problem arises because the root cgrp->bpf.refcnt.data is allocated by percpu ref init in cgroup bpf inherit when mounting but is not freed when umounting. The addition of cgroup bpf offline, which calls percpu ref kill to cgroup kill sb, can free root cgrp->bpf.refcnt.data in the umount path, resolving the issue.
Recommendations: At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
OPENSUSE-SU-2024_2189-1
SUSE-SU-2024:2008-1
SUSE-SU-2024:2011-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2189-1
SUSE-SU-2024:2190-1
Found an issue in the description? Have something to add? Feel free to write us 👾