CVE-2021-4149
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v4.0•MEDIUM•Score: 5.7CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- v2.0•LOW•Score: 2.1AV:L/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.40%• Percentile: 34%
Techniques & Countermeasures
- CWE-667•Improper Locking
The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.
Affected Systems
- debian•linux
all | < 5.14.16-1 | < 5.14.16-1 | < 5.14.16-1
- ubuntu•linux
< 4.4.0-239.273 | < 4.15.0-184.194 | < 5.4.0-92.103
- ubuntu•linux-aws
< 4.4.0-1117.123 | < 4.4.0-1155.170 | < 4.15.0-1133.143 | < 5.4.0-1061.64
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
< 5.11.0-1023.24~20.04.1
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1061.64~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-fips
< 4.15.0-2072.76 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1133.143~16.04.1
- ubuntu•linux-azure
< 4.15.0-1142.156~14.04.1 | < 4.15.0-1142.156~16.04.1 | all | < 5.4.0-1065.68
- ubuntu•linux-azure-4.15
< 4.15.0-1142.156
- ubuntu•linux-azure-5.11
< 5.11.0-1023.24~20.04.1
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1065.68~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fips
< 4.15.0-2053.58 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1023.26
- ubuntu•linux-dell300x
< 4.15.0-1047.52
- ubuntu•linux-fips
< 4.4.0-1088.95 | all | < 4.15.0-1090.100 | < 5.4.0-1038.44
- ubuntu•linux-gcp
< 4.15.0-1127.142~16.04.1 | all | < 5.4.0-1059.63
- ubuntu•linux-gcp-4.15
< 4.15.0-1127.142
- ubuntu•linux-gcp-5.11
< 5.11.0-1024.26~20.04.1
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1059.63~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-fips
< 4.15.0-2037.41 | all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
< 5.4.0-1057.60
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.4
< 5.4.0-1057.60~18.04.1
- ubuntu•linux-gkeop
< 5.4.0-1029.30
- ubuntu•linux-gkeop-5.4
< 5.4.0-1029.30~18.04.2
- ubuntu•linux-hwe
< 4.15.0-184.194~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.13
< 5.13.0-23.23~20.04.2
- ubuntu•linux-hwe-5.4
< 5.4.0-92.103~18.04.2
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-ibm
< 5.4.0-1010.11
- ubuntu•linux-intel-5.13
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1118.128 | < 4.15.0-1119.123 | < 5.4.0-1051.53
- ubuntu•linux-lts-xenial
< 4.4.0-239.273~14.04.1
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
< 5.10.0-1051.53
- ubuntu•linux-oem-5.13
< 5.13.0-1026.32
- ubuntu•linux-oem-5.14
< 5.14.0-1007.7
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle
< 4.15.0-1098.108~16.04.1 | < 4.15.0-1098.108 | < 5.4.0-1059.63
Showing first 50 affected entries in server-rendered view.
References (12)
- https://bugzilla.redhat.com/show_bug.cgi?id=2026485
- https://lkml.org/lkml/2021/10/18/885
- https://lkml.org/lkml/2021/9/13/2565
- https://lists.debian.org/debian-lts-announce/2022/07/msg00000.html
- https://ubuntu.com/security/CVE-2021-4149
- https://git.kernel.org/linus/19ea40dddf1833db868533958ca066f368862211
- https://ubuntu.com/security/notices/USN-5466-1
- https://ubuntu.com/security/notices/USN-6001-1
- https://ubuntu.com/security/notices/USN-6013-1
- https://ubuntu.com/security/notices/USN-6014-1
- https://www.cve.org/CVERecord?id=CVE-2021-4149
- https://security-tracker.debian.org/tracker/CVE-2021-4149