Skip to content

An issue was discovered in drivers/media/platform/vivid...

Moderate severity Unreviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Jun 6, 2024

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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.

References

Published by the National Vulnerability Database Nov 4, 2019
Published to the GitHub Advisory Database May 24, 2022
Last updated Jun 6, 2024

Severity

Moderate

Weaknesses

CVE ID

CVE-2019-18683

GHSA ID

GHSA-fgwh-54wv-865r

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Checking history
See something to contribute? Suggest improvements for this vulnerability.