PRIOn Logo

CVE-2019-18683 Race condition

Routine
Remediate Within 6 Months

CVE Information

Original CVE data

Published:
Updated:

An issue was discovered in drivers/media/platform/vivid in the Linux kernel through 5.3.8. It is exploitable for privilege escalation on some Linux distributions where local users have /dev/video0 access, but only if the driver happens to be loaded. There are multiple race conditions during streaming stopping in this driver (part of the V4L2 subsystem). These issues are caused by wrong mutex locking in vivid_stop_generating_vid_cap(), vivid_stop_generating_vid_out(), sdr_cap_stop_streaming(), and the corresponding kthreads. At least one of these race conditions leads to a use-after-free.

CVSS v26.9
AV:L/AC:M/AU:N/C:C/I:C/A:C
CVSS v37
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
References
https://www.openwall.com/lists/oss-security/2019/11/02/1
http://www.openwall.com/lists/oss-security/2019/11/05/1
https://security.netapp.com/advisory/ntap-20191205-0001/
http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00029.html
https://seclists.org/bugtraq/2020/Jan/10
http://packetstormsecurity.com/files/155890/Slackware-Security-Advisory-Slackware-14.2-kernel-Updates.html
https://usn.ubuntu.com/4254-1/
https://usn.ubuntu.com/4254-2/
https://usn.ubuntu.com/4258-1/
https://usn.ubuntu.com/4287-1/
https://usn.ubuntu.com/4287-2/
https://lists.debian.org/debian-lts-announce/2020/03/msg00001.html
https://usn.ubuntu.com/4284-1/
https://lore.kernel.org/lkml/20191103221719.27118-1-alex.popov%40linux.com/
Affected Vendors

Broadcom - (1)

Canonical - (1)

Debian - (1)

Linux - (1)

Netapp - (13)

Opensuse - (1)

Basic Analysis

Common vulnerability metrics

Vulnerabilty type as detected by PRIOnengine

Race condition

CVSS Scores as calculated by PRIOnengine
CVSS v26.9
AV:L/AC:M/AU:N/C:C/I:C/A:C
CVSS v37
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
MITRE CWE Top 25

Vulnerability weakness type is in the top 25 CWEs according to MITRE. View Mitre Top 25 CWEs

Exploits

No exploit code is reported to exist.

Active Exploitation

Vulnerability is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. See the KEV Catalog

Social Network Activity

-

Threat Actor Activity

No sightings of the vulnerability within threat reports.

Cybersecurity Frameworks

How the vulnerability maps against various cybersecurity frameworks

T1529 - System Shutdown/Reboot
T1499.004 - Endpoint Denial of Service (Application or System Exploitation)
T1203 - Exploitation for Client Execution
T1068 - Exploitation for Privilege Escalation
T1059 - Command and Scripting Interpreter

Compliance Impact

How the submited vulnerability affects compliance

PCI DSS v3.2.1-6.5.2 - Buffer Overflows

Web Application Security Frameworks

Applicable if the issue likely affects a web application

-