CVE-2024-0443
kernel: blkio memory leakage due to blkcg and some blkgs are not freed after they are made offline.
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 14, 2023
Updated · October 27, 2026
Description
A flaw was found in the blkgs destruction path in block/blk-cgroup.c in the Linux kernel, leading to a cgroup blkio memory leakage problem. When a cgroup is being destroyed, cgroup_rstat_flush() is only called at css_release_work_fn(), which is called when the blkcg reference count reaches 0. This circular dependency will prevent blkcg and some blkgs from being freed after they are made offline. This issue may allow an attacker with a local access to cause system instability, such as an out of memory error.
Statement
This flaw affects RHEL 8.6 and above, and RHEL9.2 and above. Released kernel streamers only.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
This flaw can be mitigated with the possible workaround identified below:
- systemd.unified_cgroup_hierarchy=1
or
- cgroup_disable=blkio
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')