CVE-2024-0443

medium

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.

References

https://lore.kernel.org/linux-block/[email protected]/

https://bugzilla.redhat.com/show_bug.cgi?id=2257968

https://access.redhat.com/security/cve/CVE-2024-0443

https://access.redhat.com/errata/RHSA-2023:7370

https://access.redhat.com/errata/RHSA-2023:7077

https://access.redhat.com/errata/RHSA-2023:6583

Details

Source: Mitre, NVD

Published: 2024-01-12

Updated: 2024-05-20

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium