CVE-2021-4149 Denial of service in kernel

Medium 5.5 Published Updated

A local user can cause a denial of service via a deadlock in the Linux kernel's btrfs filesystem due to improper locking.

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-2021-4149?

CVE-2021-4149 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 23 Mar 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in btrfs_alloc_tree_b in fs/btrfs/extent-tree.c in the Linux kernel due to an improper lock operation in btrfs. In this flaw, a user with a local privilege may cause a denial of service (DOS) due to a deadlock problem.

Weakness: CWE-667

Which versions are affected by CVE-2021-4149?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2021-4149?

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-2021-4149 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-4149, GHSA-j26f-m94f-4hr4, UBUNTU-CVE-2021-4149.

Is CVE-2021-4149 in your software?

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

Check your SBOMs for free