CVE-2020-0305
kernel: possible use-after-free due to a race condition in cdev_get of char_dev.c
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 17, 2020
Updated · June 28, 2026
Description
A use-after-free flaw was found in the way the Linux kernel's filesystem subsystem handled a race condition in the chrdev_open function. This flaw allows a privileged local user to starve the resources, causing a denial of service or potentially escalating their privileges. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Statement
This issue is rated as having Moderate impact because of the preconditions needed to trigger the issue (elevated/root privileges).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
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.
CVSS / CWE
CVSS 3.1 · 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CWE-416 · Use After Free