Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 0 before 6.4-rc7 |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected 0:4.18.0-513.5.1.el8_9 before * |
| Red Hat / Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 0:5.14.0-284.40.1.el9_2 before * |
| Red Hat / Red Hat Enterprise Linux 6 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 7 | unaffected |
| Red Hat / Red Hat Enterprise Linux 8 | affected |
| Red Hat / Red Hat Enterprise Linux 9 | affected |
| Red Hat / Red Hat Enterprise Linux 9 | affected |
CWE
CWE-402
References
- https://access.redhat.com/errata/RHSA-2023:6583
- https://access.redhat.com/errata/RHSA-2023:7077
- https://access.redhat.com/errata/RHSA-2023:7370
- https://access.redhat.com/security/cve/CVE-2024-0443
- https://bugzilla.redhat.com/show_bug.cgi?id=2257968
- https://lore.kernel.org/linux-block/20221215033132.230023-3-longman@redhat.com/
ADP enrichment
No English description supplied.
- https://access.redhat.com/errata/RHSA-2023:6583
- https://access.redhat.com/errata/RHSA-2023:7077
- https://access.redhat.com/errata/RHSA-2023:7370
- https://access.redhat.com/security/cve/CVE-2024-0443
- https://bugzilla.redhat.com/show_bug.cgi?id=2257968
- https://lore.kernel.org/linux-block/20221215033132.230023-3-longman@redhat.com/
No English description supplied.
No references supplied.