CVE-2019-18683

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.
Race Condition
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7 HIGH
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 76%
VendorProductVersion
linuxlinux_kernel
3.18 ≤
𝑥
< 4.4.204
linuxlinux_kernel
4.5 ≤
𝑥
< 4.9.204
linuxlinux_kernel
4.10 ≤
𝑥
< 4.14.157
linuxlinux_kernel
4.15 ≤
𝑥
< 4.19.87
linuxlinux_kernel
4.20 ≤
𝑥
< 5.3.14
linuxlinux_kernel
5.4 ≤
𝑥
< 5.4.1
canonicalubuntu_linux
14.04
canonicalubuntu_linux
16.04
canonicalubuntu_linux
18.04
canonicalubuntu_linux
19.10
opensuseleap
15.1
netappactive_iq_unified_manager
-
netappcloud_backup
-
netappdata_availability_services
-
netappe-series_santricity_os_controller
11.0.0 ≤
𝑥
≤ 11.70.1
netappelement_software
-
netapphci_management_node
-
netappsolidfire
-
netappsteelstore_cloud_integrated_storage
-
broadcomfabric_operating_system
-
netappa700s_firmware
-
netapp8300_firmware
-
netapp8700_firmware
-
netappa400_firmware
-
netapph610s_firmware
-
debiandebian_linux
8.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
linux
bullseye
5.10.223-1
fixed
jessie
not-affected
bullseye (security)
5.10.226-1
fixed
bookworm
6.1.106-3
fixed
bookworm (security)
6.1.112-1
fixed
trixie
6.11.5-1
fixed
sid
6.11.6-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
linux
focal
not-affected
eoan
Fixed 5.3.0-40.32
released
disco
ignored
bionic
Fixed 4.15.0-88.88
released
xenial
Fixed 4.4.0-173.203
released
trusty
ignored
linux-aws
focal
not-affected
eoan
Fixed 5.3.0-1011.12
released
disco
ignored
bionic
Fixed 4.15.0-1060.62
released
xenial
Fixed 4.4.0-1101.112
released
trusty
Fixed 4.4.0-1061.65
released
linux-aws-5.0
focal
dne
eoan
dne
disco
dne
bionic
Fixed 5.0.0-1024.27~18.04.1
released
xenial
dne
trusty
dne
linux-aws-5.3
focal
dne
eoan
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-aws-hwe
focal
dne
eoan
dne
disco
dne
bionic
dne
xenial
Fixed 4.15.0-1060.62~16.04.1
released
trusty
dne
linux-azure
focal
not-affected
eoan
Fixed 5.3.0-1013.14
released
disco
ignored
bionic
Fixed 5.0.0-1029.31~18.04.1
released
xenial
Fixed 4.15.0-1071.76
released
trusty
Fixed 4.15.0-1071.76~14.04.1
released
linux-azure-4.15
focal
dne
eoan
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-azure-5.3
focal
dne
eoan
dne
disco
dne
bionic
Fixed 5.3.0-1013.14~18.04.1
released
xenial
dne
trusty
dne
linux-azure-edge
focal
dne
eoan
dne
disco
dne
bionic
ignored
xenial
dne
trusty
dne
linux-gcp
focal
not-affected
eoan
Fixed 5.3.0-1012.13
released
disco
ignored
bionic
Fixed 5.0.0-1029.30~18.04.1
released
xenial
Fixed 4.15.0-1055.59
released
trusty
dne
linux-gcp-4.15
focal
dne
eoan
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-gcp-5.3
focal
dne
eoan
dne
disco
dne
bionic
Fixed 5.3.0-1012.13~18.04.1
released
xenial
dne
trusty
dne
linux-gcp-edge
focal
dne
eoan
dne
disco
dne
bionic
ignored
xenial
dne
trusty
dne
linux-gke-4.15
focal
dne
eoan
dne
disco
dne
bionic
Fixed 4.15.0-1052.55
released
xenial
dne
trusty
dne
linux-gke-5.0
focal
dne
eoan
dne
disco
dne
bionic
Fixed 5.0.0-1029.30~18.04.1
released
xenial
dne
trusty
dne
linux-gke-5.3
focal
dne
eoan
dne
bionic
Fixed 5.3.0-1012.13~18.04.1
released
xenial
dne
trusty
dne
linux-hwe
focal
dne
eoan
dne
disco
dne
bionic
Fixed 5.3.0-40.32~18.04.1
released
xenial
Fixed 4.15.0-88.88~16.04.1
released
trusty
dne
linux-hwe-edge
focal
dne
eoan
dne
disco
dne
bionic
ignored
xenial
ignored
trusty
dne
linux-kvm
focal
not-affected
eoan
Fixed 5.3.0-1010.11
released
disco
ignored
bionic
Fixed 4.15.0-1053.53
released
xenial
Fixed 4.4.0-1065.72
released
trusty
dne
linux-lts-trusty
focal
dne
eoan
dne
disco
dne
bionic
dne
xenial
dne
trusty
dne
linux-lts-xenial
focal
dne
eoan
dne
disco
dne
bionic
dne
xenial
dne
trusty
Fixed 4.4.0-173.203~14.04.1
released
linux-oem
focal
dne
eoan
ignored
disco
ignored
bionic
Fixed 4.15.0-1073.83
released
xenial
ignored
trusty
dne
linux-oem-5.6
focal
not-affected
eoan
dne
bionic
dne
xenial
dne
trusty
dne
linux-oem-osp1
focal
dne
eoan
Fixed 5.0.0-1037.42
released
disco
ignored
bionic
Fixed 5.0.0-1037.42
released
xenial
dne
trusty
dne
linux-oracle
focal
not-affected
eoan
Fixed 5.3.0-1009.10
released
disco
ignored
bionic
Fixed 4.15.0-1033.36
released
xenial
Fixed 4.15.0-1033.36~16.04.1
released
trusty
dne
linux-oracle-5.0
focal
dne
eoan
dne
disco
dne
bionic
Fixed 5.0.0-1010.15~18.04.1
released
xenial
dne
trusty
dne
linux-oracle-5.3
focal
dne
eoan
dne
bionic
not-affected
xenial
dne
trusty
dne
linux-raspi
focal
not-affected
eoan
dne
bionic
dne
xenial
dne
trusty
dne
linux-raspi2
focal
ignored
eoan
Fixed 5.3.0-1018.20
released
disco
ignored
bionic
Fixed 4.15.0-1055.59
released
xenial
Fixed 4.4.0-1128.137
released
trusty
dne
linux-raspi2-5.3
focal
dne
eoan
dne
bionic
Fixed 5.3.0-1018.20~18.04.1
released
xenial
dne
trusty
dne
linux-riscv
focal
not-affected
eoan
dne
bionic
dne
xenial
dne
trusty
dne
linux-snapdragon
focal
dne
eoan
dne
disco
ignored
bionic
Fixed 4.15.0-1072.79
released
xenial
Fixed 4.4.0-1132.140
released
trusty
dne