CVE-2024-0443 Kernel: blkio memory leakage due to blkcg and some blkgs are not freed after they are made offline.

Medium 5.5 Published Updated

A local attacker can trigger a memory leak in the Linux kernel's block cgroup subsystem, causing system instability or out-of-memory errors.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-0443?

CVE-2024-0443 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 11 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-668, CWE-402

Which versions are affected by CVE-2024-0443?

It affects 3 products.

Products include Fedoraproject Fedora, Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2024-0443?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-0443 being exploited?

There is no known exploitation of CVE-2024-0443 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-0443, GHSA-rqh4-x2v7-j34g, UBUNTU-CVE-2024-0443.

Is CVE-2024-0443 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free