CVE-2024-46841 btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc()

Medium 5.5 Published Updated

A local attacker can trigger a kernel crash by exhausting memory during Btrfs filesystem operations, causing a denial of service.

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-46841?

CVE-2024-46841 is a medium-severity denial of service vulnerability in Linux kernel, published on 27 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc()

We handle errors here properly, ENOMEM isn't fatal, return the error.

Which versions are affected by CVE-2024-46841?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-46841?

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-46841 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-50141, AZL-50191, BELL-CVE-2024-46841, DEBIAN-CVE-2024-46841, GHSA-3hjf-m6vc-vh7h, UBUNTU-CVE-2024-46841.

Is CVE-2024-46841 in your software?

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

Check your SBOMs for free