CVE-2020-12771
Vulnerability Summary
Timeline
Description
An issue was discovered in the Linux kernel through 5.6.11. btree_gc_coalesce in drivers/md/bcache/btree.c has a deadlock if a coalescing operation fails.
CVSS Metrics
- 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•MEDIUM•Score: 4.9AV:L/AC:L/Au:N/C:N/I:N/A:C
EPSS Trends
Current EPSS score: 0.52%• Percentile: 43%
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
- canonical•ubuntu_linux
14.04 | 16.04 | 18.04 | 20.04
- debian•linux
< 5.7.6-1 | < 5.7.6-1 | < 5.7.6-1 | < 5.7.6-1
- ubuntu•linux
< 4.4.0-187.217 | < 4.15.0-115.116 | < 5.4.0-45.49
- ubuntu•linux-aws
< 4.4.0-1076.80 | < 4.4.0-1112.124 | < 4.15.0-1080.84 | < 5.4.0-1022.22
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
< 5.3.0-1033.35
- ubuntu•linux-aws-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2025.25 | all | < 5.4.0-1069.73+fips2
- ubuntu•linux-aws-hwe
< 4.15.0-1080.84~16.04.1
- ubuntu•linux-azure
< 4.15.0-1093.103~14.04.1 | < 4.15.0-1093.103~16.04.1 | all | < 5.4.0-1023.23
- ubuntu•linux-azure-4.15
< 4.15.0-1093.103
- ubuntu•linux-azure-5.3
< 5.3.0-1035.36
- ubuntu•linux-azure-5.4
< 5.4.0-1023.23~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fips
< 4.15.0-2007.8 | all | < 5.4.0-1073.76+fips1
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.4.0-1044.49 | all | < 4.15.0-1039.44
- ubuntu•linux-gcp
< 4.15.0-1081.92~16.04.1 | all | < 5.4.0-1022.22
- ubuntu•linux-gcp-4.15
< 4.15.0-1081.92
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all | < 5.4.0-1067.71~20.04.1
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
< 4.15.0-1067.70
- ubuntu•linux-gke-5.0
< 5.0.0-1046.47
- ubuntu•linux-gke-5.3
< 5.3.0-1033.35
- ubuntu•linux-hwe
< 4.15.0-115.116~16.04.1 | < 5.3.0-65.59
- ubuntu•linux-hwe-5.4
< 5.4.0-45.49~18.04.2
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1078.85 | < 4.15.0-1072.73 | < 5.4.0-1021.21
- ubuntu•linux-lts-xenial
< 4.4.0-187.217~14.04.1
- ubuntu•linux-oem
< 4.15.0-1094.104
- ubuntu•linux-oem-5.6
< 5.6.0-1031.32
- ubuntu•linux-oem-osp1
< 5.0.0-1067.72
- ubuntu•linux-oracle
< 4.15.0-1051.55~16.04.1 | < 4.15.0-1051.55 | < 5.4.0-1022.22
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.4
< 5.4.0-1022.22~18.04.1
- ubuntu•linux-raspi
< 5.4.0-1016.17
- ubuntu•linux-raspi-5.4
< 5.4.0-1016.17~18.04.1
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1137.146 | < 4.15.0-1068.72 | all
- ubuntu•linux-raspi2-5.3
< 5.3.0-1032.34
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
< 5.4.0-31.35 | all
- ubuntu•linux-snapdragon
< 4.4.0-1141.149 | < 4.15.0-1084.92
- debian•debian_linux
9.0
Showing first 50 affected entries in server-rendered view.
References (23)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00071.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00009.html
- https://lists.debian.org/debian-lts-announce/2020/08/msg00019.html
- https://usn.ubuntu.com/4463-1/
- https://usn.ubuntu.com/4465-1/
- https://usn.ubuntu.com/4462-1/
- https://usn.ubuntu.com/4483-1/
- https://usn.ubuntu.com/4485-1/
- https://lists.debian.org/debian-lts-announce/2020/10/msg00032.html
- https://lists.debian.org/debian-lts-announce/2020/10/msg00034.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://security.netapp.com/advisory/ntap-20200608-0001/
- https://lkml.org/lkml/2020/4/26/87
- https://ubuntu.com/security/CVE-2020-12771
- https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-patches.git/tree/for-test/0001-bcache-fix-potential-deadlock-problem-in-btree_gc_co.patch
- https://lore.kernel.org/lkml/8a6f5fe3-33f9-48e2-e347-05781c3295fd@huawei.com/
- https://ubuntu.com/security/notices/USN-4462-1
- https://ubuntu.com/security/notices/USN-4463-1
- https://ubuntu.com/security/notices/USN-4465-1
- https://ubuntu.com/security/notices/USN-4483-1
- https://ubuntu.com/security/notices/USN-4485-1
- https://www.cve.org/CVERecord?id=CVE-2020-12771
- https://security-tracker.debian.org/tracker/CVE-2020-12771