cve.bz

CVE-2020-12771 Improper Locking

5.5 mediumExploit referenceEPSS 0.5%Fix available

Medium (5.5). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-667 Improper Locking
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12771 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12771?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12771?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12771 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelthrough 5.6.11
debian:debian_linux9.0
opensuse:leap15.1
opensuse:leap15.2
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
oracle:sd-wan_edge8.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.240-1DLA-2420-1
Debian9linux-4.194.19.132-1~deb9u2DLA-2323-1
Debian12, 13, 14linux5.7.6-1DEBIAN-CVE-2020-12771
Ubuntu16.04:LTSlinux4.4.0-187.217UBUNTU-CVE-2020-12771 USN-4463-1
Ubuntu16.04:LTSlinux-aws4.4.0-1112.124UBUNTU-CVE-2020-12771 USN-4463-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1080.84~16.04.1UBUNTU-CVE-2020-12771 USN-4485-1
Ubuntu16.04:LTSlinux-azure4.15.0-1093.103~16.04.1UBUNTU-CVE-2020-12771 USN-4485-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1081.92~16.04.1UBUNTU-CVE-2020-12771 USN-4485-1
Ubuntu16.04:LTSlinux-hwe4.15.0-115.116~16.04.1UBUNTU-CVE-2020-12771 USN-4485-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2020-12771
Ubuntu16.04:LTSlinux-kvm4.4.0-1078.85UBUNTU-CVE-2020-12771 USN-4463-1
Ubuntu16.04:LTSlinux-oracle4.15.0-1051.55~16.04.1UBUNTU-CVE-2020-12771 USN-4485-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1137.146UBUNTU-CVE-2020-12771 USN-4463-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1141.149UBUNTU-CVE-2020-12771 USN-4463-1
Ubuntu18.04:LTSlinux4.15.0-115.116UBUNTU-CVE-2020-12771 USN-4485-1
42 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL and 4 morekernel-syms, kernel-source, kernel-default4.4.180-94.127.1SUSE-SU-2020:2152-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS and 3 morekgraft-patch-SLE12-SP3_Update_341-4.3.1SUSE-SU-2020:2152-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.138.1SUSE-SU-2020:2134-1
SUSELinux Enterprise High Availability Extension 12 SP3kernel-default4.4.180-94.127.1SUSE-SU-2020:2152-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.57.1SUSE-SU-2020:2121-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.29.1SUSE-SU-2020:2122-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.55.1SUSE-SU-2020:2106-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1, Linux Enterprise Module for Legacy 15 SP1 and 1 morekernel-default4.12.14-197.48.1SUSE-SU-2020:2107-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Module for Legacy 15 SP2 and 1 morekernel-default5.3.18-24.9.1SUSE-SU-2020:2105-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150.55.1SUSE-SU-2020:2106-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_151-6.3.1SUSE-SU-2020:2121-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_71-8.3.1SUSE-SU-2020:2122-1
20 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1kernel-docs, kernel-syms, kernel-debug and 6 more4.12.14-lp151.28.59.1openSUSE-SU-2020:1153-1
openSUSELeap 15.2kernel-default-base5.3.18-lp152.33.1.lp152.8.4.4openSUSE-SU-2020:1062-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.33.1openSUSE-SU-2020:1062-1
openSUSELeap 15.2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-lp152.3.5.1openSUSE-SU-2021:0242-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12771.

Attack patterns (CAPEC)

  • CAPEC-25 Forced Deadlock Likelihood: Low · Severity: High
  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON