CWE Code: 362
Vulnerability Type: privilege_escalation
CVSS Score: 6.9
CWE Name:  Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Summary: 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.
Access Authentication: NONE
Access Complexity: UNKNOWN
Access Vector: UNKNOWN
Impact (C/I/A): NONE/NONE/NONE
Published Date: 2019-11-04
Last Modified Date: 2019-11-04
You are a cybersecurity expert assistant. Provide detailed information about vulnerabilities in a clear and structured format.
system
Please provide details about this vulnerability:  Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition').
user
CWE Code: 362
Vulnerability Type: privilege_escalation
CVSS Score: 6.9
CWE Name:  Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Summary: 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.
Access Authentication: NONE
Access Complexity: UNKNOWN
Access Vector: UNKNOWN
Impact (C/I/A): NONE/NONE/NONE
Published Date: 2019-11-04
Last Modified Date: 2019-11-04
assistant