Race Condition The advisory has been revoked - it doesn't affect any version of package kselftests-kmp-default  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-SLES150-KSELFTESTSKMPDEFAULT-2723327
  • published14 Apr 2022
  • disclosed23 Dec 2019

Introduced: 23 Dec 2019

CVE-2019-18683  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-416  (opens in a new tab)

Amendment

The SLES security team deemed this advisory irrelevant for SLES:15.0.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kselftests-kmp-default package and not the kselftests-kmp-default package as distributed by SLES.

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.