cve.bz

CVE-2020-0305 Race Condition

6.4 mediumEPSS 0.2%Fix available

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

On this page
In cdev_get of char_dev.c, there is a possible use-after-free due to a race condition. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-10Android ID: A-153467744

Severity

CVSS 3.1

6.4 medium
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 7th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
CWE-416 Use After Free
OWASP Top 10
A06:2025 Insecure Design
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-0305 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-0305?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-0305?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-0305 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
google:android10.0
opensuse:leap15.1
opensuse:leap15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.4.13-1DEBIAN-CVE-2020-0305
Ubuntu16.04:LTSlinux4.4.0-174.204UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-aws4.4.0-1102.113UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1063.67~16.04.1UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-azure4.15.0-1075.80UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-gcp4.15.0-1058.62UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-hwe4.15.0-91.92~16.04.1UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-kvm4.4.0-1066.73UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-oracle4.15.0-1035.38~16.04.1UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-raspi24.4.0-1129.138UBUNTU-CVE-2020-0305
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1133.141UBUNTU-CVE-2020-0305
Ubuntu18.04:LTSlinux4.15.0-91.92UBUNTU-CVE-2020-0305
25 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-240.el8RHSA-2020:4431
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-240.el8RHSA-2020:4431
Red Hatenterprise_linux:8::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more0:4.18.0-240.rt7.54.el8RHSA-2020:4609
Red Hatenterprise_linux:8::realtimekernel-rt, kernel-rt-core, kernel-rt-debug and 10 more0:4.18.0-240.rt7.54.el8RHSA-2020:4609
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
21 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.2bbswitch0.8-lp152.6.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2crash7.2.8-lp152.3.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2dpdk19.11.1-lp152.2.5.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2drbd9.0.22~1+git.fe2b5983-lp152.2.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2hdjmod1.28-lp152.6.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.36.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-lp152.3.5.1openSUSE-SU-2021:0242-1
openSUSELeap 15.2mhvtl1.62-lp152.2.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2openafs1.8.5-lp152.2.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2pcfclock0.44-lp152.4.2.1openSUSE-SU-2020:1236-1
openSUSELeap 15.2rtl8812au5.6.4.2+git20200318.49e98ff-lp152.2.2.1openSUSE-SU-2020:1236-1
5 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8kernel-tools-libs-devel4.18.0-240.el8ALSA-2020:4431

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is rated as having Moderate impact because of the preconditions needed to trigger the issue (elevated/root privileges).

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-rt-0:4.18.0-240.rt7.54.el8Fixed 2020-11-04RHSA-2020:4609
Red Hat Enterprise Linux 8kernel-0:4.18.0-240.el8Fixed 2020-11-04RHSA-2020:4431
Red Hat Enterprise Linux 5kernelOut of support scope
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelWill not fix
Red Hat Enterprise Linux 7kernel-altWill not fix
Red Hat Enterprise Linux 7kernel-rtWill not fix
Red Hat Enterprise MRG 2kernelOut of support scope

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

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

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

References

Check your stackJSON