CVE-2019-18683

EUVD-2019-8397
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
NISTPrimary
7 HIGH
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 76%
Affected Products (NVD)
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
bookworm
6.1.106-3
fixed
bookworm (security)
6.1.112-1
fixed
bullseye
5.10.223-1
fixed
bullseye (security)
5.10.226-1
fixed
jessie
not-affected
sid
6.11.6-1
fixed
trixie
6.11.5-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
linux
bionic
Fixed 4.15.0-88.88
released
disco
ignored
eoan
Fixed 5.3.0-40.32
released
focal
not-affected
trusty
ignored
xenial
Fixed 4.4.0-173.203
released
linux-aws
bionic
Fixed 4.15.0-1060.62
released
disco
ignored
eoan
Fixed 5.3.0-1011.12
released
focal
not-affected
trusty
Fixed 4.4.0-1061.65
released
xenial
Fixed 4.4.0-1101.112
released
linux-aws-5.0
bionic
Fixed 5.0.0-1024.27~18.04.1
released
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-aws-5.3
bionic
not-affected
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-aws-hwe
bionic
dne
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
Fixed 4.15.0-1060.62~16.04.1
released
linux-azure
bionic
Fixed 5.0.0-1029.31~18.04.1
released
disco
ignored
eoan
Fixed 5.3.0-1013.14
released
focal
not-affected
trusty
Fixed 4.15.0-1071.76~14.04.1
released
xenial
Fixed 4.15.0-1071.76
released
linux-azure-4.15
bionic
not-affected
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-azure-5.3
bionic
Fixed 5.3.0-1013.14~18.04.1
released
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-azure-edge
bionic
ignored
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-gcp
bionic
Fixed 5.0.0-1029.30~18.04.1
released
disco
ignored
eoan
Fixed 5.3.0-1012.13
released
focal
not-affected
trusty
dne
xenial
Fixed 4.15.0-1055.59
released
linux-gcp-4.15
bionic
not-affected
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-gcp-5.3
bionic
Fixed 5.3.0-1012.13~18.04.1
released
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-gcp-edge
bionic
ignored
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-gke-4.15
bionic
Fixed 4.15.0-1052.55
released
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-gke-5.0
bionic
Fixed 5.0.0-1029.30~18.04.1
released
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-gke-5.3
bionic
Fixed 5.3.0-1012.13~18.04.1
released
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-hwe
bionic
Fixed 5.3.0-40.32~18.04.1
released
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
Fixed 4.15.0-88.88~16.04.1
released
linux-hwe-edge
bionic
ignored
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
ignored
linux-kvm
bionic
Fixed 4.15.0-1053.53
released
disco
ignored
eoan
Fixed 5.3.0-1010.11
released
focal
not-affected
trusty
dne
xenial
Fixed 4.4.0-1065.72
released
linux-lts-trusty
bionic
dne
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-lts-xenial
bionic
dne
disco
dne
eoan
dne
focal
dne
trusty
Fixed 4.4.0-173.203~14.04.1
released
xenial
dne
linux-oem
bionic
Fixed 4.15.0-1073.83
released
disco
ignored
eoan
ignored
focal
dne
trusty
dne
xenial
ignored
linux-oem-5.6
bionic
dne
eoan
dne
focal
not-affected
trusty
dne
xenial
dne
linux-oem-osp1
bionic
Fixed 5.0.0-1037.42
released
disco
ignored
eoan
Fixed 5.0.0-1037.42
released
focal
dne
trusty
dne
xenial
dne
linux-oracle
bionic
Fixed 4.15.0-1033.36
released
disco
ignored
eoan
Fixed 5.3.0-1009.10
released
focal
not-affected
trusty
dne
xenial
Fixed 4.15.0-1033.36~16.04.1
released
linux-oracle-5.0
bionic
Fixed 5.0.0-1010.15~18.04.1
released
disco
dne
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-oracle-5.3
bionic
not-affected
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-raspi
bionic
dne
eoan
dne
focal
not-affected
trusty
dne
xenial
dne
linux-raspi2
bionic
Fixed 4.15.0-1055.59
released
disco
ignored
eoan
Fixed 5.3.0-1018.20
released
focal
ignored
trusty
dne
xenial
Fixed 4.4.0-1128.137
released
linux-raspi2-5.3
bionic
Fixed 5.3.0-1018.20~18.04.1
released
eoan
dne
focal
dne
trusty
dne
xenial
dne
linux-riscv
bionic
dne
eoan
dne
focal
not-affected
trusty
dne
xenial
dne
linux-snapdragon
bionic
Fixed 4.15.0-1072.79
released
disco
ignored
eoan
dne
focal
dne
trusty
dne
xenial
Fixed 4.4.0-1132.140
released