Skip to content
Fencer Vulns
medium 6.4

CVE-2020-0305 json

In cdev_get of char_dev.c, there is a possible use-after-free due to a race condition.

published 2020-07-17 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-1808

cvss
6.4
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 6%
public exploits
0
none known

Summary

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

Patch / fix

  • linux Debian 14, Debian 13, Debian 12 5.4.13-1

debian advisories DEBIAN-CVE-2020-0305

  • linux Ubuntu 16.04 LTS 4.4.0-174.204
  • linux Ubuntu 18.04 LTS 4.15.0-91.92
  • linux-aws Ubuntu 16.04 LTS 4.4.0-1102.113
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1063.67
  • linux-gcp Ubuntu 16.04 LTS 4.15.0-1058.62
  • linux-hwe Ubuntu 16.04 LTS 4.15.0-91.92~16.04.1
  • linux-kvm Ubuntu 16.04 LTS 4.4.0-1066.73
  • linux-kvm Ubuntu 18.04 LTS 4.15.0-1056.57

ubuntu advisories UBUNTU-CVE-2020-0305

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 8 4.18.0-240.el8
  • perf RHEL 8 4.18.0-240.el8
  • bpftool RHEL 8 4.18.0-240.el8
  • kernel-core RHEL 8 4.18.0-240.el8
  • kernel-tools RHEL 8 4.18.0-240.el8
  • python3-perf RHEL 8 4.18.0-240.el8
  • kernel-modules RHEL 8 4.18.0-240.el8
  • kernel-zfcpdump RHEL 8 4.18.0-240.el8

red hat advisories RHSA-2020:4431RHSA-2020:4609

  • kernel-rt SLE Real Time 12 SP5 4.12.14-10.16.1
  • kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.16.1
  • kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.16.1
  • kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.16.1
  • kernel-rt Real Time Module 15 SP1 4.12.14-14.28.1
  • kernel-syms-rt Real Time Module 15 SP1 4.12.14-14.28.1
  • kernel-rt_debug Real Time Module 15 SP1 4.12.14-14.28.1
  • kernel-source-rt Real Time Module 15 SP1 4.12.14-14.28.1

suse advisories SUSE-SU-2020:2605-1SUSE-SU-2020:2487-1SUSE-SU-2020:2152-1SUSE-SU-2020:2134-1SUSE-SU-2020:2122-1SUSE-SU-2020:2121-1

  • kernel-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
  • kernel-syms-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
  • kernel-rt_debug openSUSE Leap 15.2 5.3.18-lp152.3.5.1
  • kernel-source-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
  • dpdk openSUSE Leap 15.2 19.11.1-lp152.2.5.1
  • drbd openSUSE Leap 15.2 9.0.22~1+git.fe2b5983-lp152.2.2.1
  • crash openSUSE Leap 15.2 7.2.8-lp152.3.2.1
  • mhvtl openSUSE Leap 15.2 1.62-lp152.2.2.1

opensuse advisories openSUSE-SU-2021:0242-1openSUSE-SU-2020:1236-1openSUSE-SU-2020:1153-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-0305 updated cvss 6.4

kernel: possible use-after-free due to a race condition in cdev_get of char_dev.c

  • Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise MRG 2 kernel
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-240.el8, kernel-debuginfo-common-aarch64 4.18.0-240.el8, kernel-debuginfo-common-ppc64le 4.18.0-240.el8 Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-240.el8, kernel 4.18.0-240.el8, bpftool 4.18.0-240.el8, kernel-core 4.18.0-240.el8, kernel-tools 4.18.0-240.el8, python3-perf 4.18.0-240.el8, +15 more
    fixed: vendor fix RHSA-2020:4431
  • Red Hat Enterprise Linux Real Time (v. 8) kernel-rt 4.18.0-240.rt7.54.el8, kernel-rt-core 4.18.0-240.rt7.54.el8, kernel-rt-modules 4.18.0-240.rt7.54.el8, kernel-rt-debug-core 4.18.0-240.rt7.54.el8, kernel-rt-debug-modules 4.18.0-240.rt7.54.el8, kernel-rt-modules-extra 4.18.0-240.rt7.54.el8, +2 more Red Hat Enterprise Linux Real Time for NFV (v. 8) kernel-rt 4.18.0-240.rt7.54.el8, kernel-rt-kvm 4.18.0-240.rt7.54.el8, kernel-rt-core 4.18.0-240.rt7.54.el8, kernel-rt-modules 4.18.0-240.rt7.54.el8, kernel-rt-debug-kvm 4.18.0-240.rt7.54.el8, kernel-rt-debug-core 4.18.0-240.rt7.54.el8, +4 more
    fixed: vendor fix RHSA-2020:4609

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 6.4 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected products

  • n/a Android

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
  • CWE-416 Use After Free

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.