Exploitation Summary
EIP tracks 2 public exploits for CVE-2019-18683. PoCs published by Limesss, sanjana123-cloud.
AI-analyzed exploit summary This PoC exploits a kernel vulnerability in the vivid driver (CVE-2019-18683) to crash the kernel and potentially achieve privilege escalation. It uses userfaultfd to manipulate memory and trigger the vulnerability.
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.
Exploits (2)
This PoC exploits a kernel vulnerability in the vivid driver (CVE-2019-18683) to crash the kernel and potentially achieve privilege escalation. It uses userfaultfd to manipulate memory and trigger the vulnerability.
References (14)
Scores
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H