CVE-2019-18683

kernel: race condition in vivid_stop_generating_vid_cap(),vivid_stop_generating_vid_out(), sdr_cap_stop_streaming()

Published Nov 4, 2019 CVSS 3.1 · 7.0 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2114-1 linux-4.9 security update
EUVD EUVD EUVD-2019-8397 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.
Ubuntu USN Ubuntu USN USN-4254-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4254-2 Linux kernel (Xenial HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-4258-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4284-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4287-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4287-2 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.01076}

epss

{'score': 0.01138}