# CVE-2021-4149: A vulnerability was found in btrfsalloctreeb in fs/btrfs/extent-tree.c in the Linux kernel due to an improper lock operation in btrfs.

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-03-23T19:46:44.000Z
- Modified: 2026-06-17T04:19:07.233Z
- Weaknesses: CWE-667
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- kernel: kernel 5.15 rc6
- linux linux_kernel: before 5.15; 5.15
- debian debian_linux: 9.0

## Every score

- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://lkml.org/lkml/2021/10/18/885> (exploit, mailing-list, patch, third-party-advisory)
- <https://lkml.org/lkml/2021/9/13/2565> (exploit, mailing-list, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2026485> (issue-tracking, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-4149](https://www.cve.org/CVERecord?id=CVE-2021-4149), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-4149](https://nvd.nist.gov/vuln/detail/CVE-2021-4149), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4149 · Whole record: https://cve.day/CVE-2021-4149.json · Rebuilt by cve.day 2026-11-25T22:58:07.256Z
