Skip to content
OpenAdvisories

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 5.3.15-1 —
Debian 13 linux 5.3.15-1 —
Debian 12 linux 5.3.15-1 —
Debian 8 linux-4.9 4.9.210-1~deb8u1 DLA-2114-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +2 No fix yet —
Ubuntu 18.04 LTS linux 4.15.0-88.88 USN-4287-1
Ubuntu 18.04 LTS linux-aws 4.15.0-1060.62 USN-4287-1
Ubuntu 18.04 LTS linux-aws-5.0 5.0.0-1024.27~18.04.1 USN-4258-1
Ubuntu 18.04 LTS linux-azure 5.0.0-1029.31~18.04.1 —
Ubuntu 18.04 LTS linux-azure-5.3 5.3.0-1013.14~18.04.1 USN-4284-1
Ubuntu 18.04 LTS linux-gcp +1 5.0.0-1029.30~18.04.1 USN-4258-1
Ubuntu 18.04 LTS linux-gcp-5.3 +1 5.3.0-1012.13~18.04.1 USN-4284-1
Ubuntu 18.04 LTS linux-gcp-edge +2 No fix yet —
Ubuntu 18.04 LTS linux-gke-4.15 4.15.0-1052.55 USN-4287-1
Ubuntu 18.04 LTS linux-hwe 5.3.0-40.32~18.04.1 USN-4284-1
Ubuntu 18.04 LTS linux-kvm 4.15.0-1053.53 USN-4287-1
Ubuntu 18.04 LTS linux-oem 4.15.0-1073.83 —
Ubuntu 18.04 LTS linux-oem-osp1 5.0.0-1037.42 —
Ubuntu 18.04 LTS linux-oracle 4.15.0-1033.36 USN-4287-1
Ubuntu 18.04 LTS linux-oracle-5.0 5.0.0-1010.15~18.04.1 USN-4258-1
Ubuntu 18.04 LTS linux-raspi2 4.15.0-1055.59 USN-4287-1
Ubuntu 18.04 LTS linux-raspi2-5.3 5.3.0-1018.20~18.04.1 USN-4284-1
Ubuntu 18.04 LTS linux-snapdragon 4.15.0-1072.79 USN-4287-1
Ubuntu 16.04 LTS linux 4.4.0-173.203 USN-4254-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1101.112 USN-4254-1
Ubuntu 16.04 LTS linux-aws-hwe 4.15.0-1060.62~16.04.1 USN-4287-1
Ubuntu 16.04 LTS linux-azure 4.15.0-1071.76 USN-4287-1
Ubuntu 16.04 LTS linux-gcp 4.15.0-1055.59 USN-4287-1
Ubuntu 16.04 LTS linux-hwe 4.15.0-88.88~16.04.1 USN-4287-1
Ubuntu 16.04 LTS linux-hwe-edge No fix yet —
Ubuntu 16.04 LTS linux-kvm 4.4.0-1065.72 USN-4254-1
Ubuntu 16.04 LTS linux-oracle 4.15.0-1033.36~16.04.1 USN-4287-1
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1128.137 USN-4254-1
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1132.140 USN-4254-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 18.04 LTS linux-aws-fips +2 No fix yet —
Ubuntu Pro FIPS 16.04 LTS linux-fips No fix yet —
Ubuntu Pro FIPS-updates 18.04 LTS linux-aws-fips 4.15.0-2018.18 —
Ubuntu Pro FIPS-updates 18.04 LTS linux-azure-fips 4.15.0-2006.7 —
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1028.33 —
Ubuntu Pro 14.04 LTS linux-aws 4.4.0-1061.65 USN-4254-2
Ubuntu Pro 14.04 LTS linux-azure 4.15.0-1071.76~14.04.1 USN-4287-2
Ubuntu Pro 14.04 LTS linux-lts-xenial 4.4.0-173.203~14.04.1 USN-4254-2
ReleasePackageFixed inAdvisory
SLES 15 SP1 kernel-azure +2 4.12.14-8.22.1 SUSE-SU-2019:3372-1
SLES 15 SP1 kernel-docs 4.12.14-197.29.2 SUSE-SU-2019:3317-1
SLES 15 SP1 kernel-syms +4 4.12.14-197.29.1 SUSE-SU-2019:3317-1
SLES 15 kernel-azure +2 4.12.14-5.47.1 SUSE-SU-2019:3289-1
SLES 15 kernel-docs +6 4.12.14-150.47.1 SUSE-SU-2019:3381-1
SLES 12 SP5 kernel-azure +2 4.12.14-16.7.1 SUSE-SU-2020:0093-1
SLES 12 SP5 kernel-docs +4 4.12.14-122.7.1 SUSE-SU-2019:3200-1
SLES 12 SP4 kernel-azure +2 4.12.14-6.34.1 SUSE-SU-2019:3316-1
SLES 12 SP4 kernel-docs +4 4.12.14-95.45.1 SUSE-SU-2019:3371-1
SLES 12 SP3 kernel-syms +2 4.4.180-94.113.1 SUSE-SU-2019:3379-1
SLES 12 SP3 kgraft-patch-SLE12-SP3_Update_30 1-4.5.1 SUSE-SU-2019:3379-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 kernel-syms +2 4.4.121-92.129.1 SUSE-SU-2020:1255-1
SLES 12 SP2 kgraft-patch-SLE12-SP2_Update_34 1-3.3.1 SUSE-SU-2020:1255-1
SLES for SAP 12 SP5 kernel-azure +2 4.12.14-16.7.1 SUSE-SU-2020:0093-1
SLES for SAP 12 SP5 kernel-syms +2 4.12.14-122.7.1 SUSE-SU-2019:3200-1
SLES for SAP 12 SP4 kernel-azure +2 4.12.14-6.34.1 SUSE-SU-2019:3316-1
SLES for SAP 12 SP4 kernel-syms +2 4.12.14-95.45.1 SUSE-SU-2019:3371-1
SLES for SAP 12 SP3 kernel-syms +2 4.4.180-94.113.1 SUSE-SU-2019:3379-1
SLES for SAP 12 SP3 kgraft-patch-SLE12-SP3_Update_30 1-4.5.1 SUSE-SU-2019:3379-1
SLES for SAP 12 SP2 kernel-syms +2 4.4.121-92.129.1 SUSE-SU-2020:1255-1
SLES for SAP 12 SP2 kgraft-patch-SLE12-SP2_Update_34 1-3.3.1 SUSE-SU-2020:1255-1
SLE Real Time 12 SP4 kernel-rt +3 4.12.14-8.12.1 SUSE-SU-2020:0599-1
SLE Live Patching 15 SP1 kernel-default 4.12.14-197.29.1 SUSE-SU-2019:3317-1
SLE Live Patching 15 SP1 kernel-livepatch-SLE15-SP1_Update_8 1-3.3.1 SUSE-SU-2019:3317-1
SLE Live Patching 15 kernel-default 4.12.14-150.47.1 SUSE-SU-2019:3381-1
SLE Live Patching 15 kernel-livepatch-SLE15_Update_17 1-1.3.2 SUSE-SU-2019:3381-1
SLE Live Patching 12 SP5 kernel-default 4.12.14-122.7.1 SUSE-SU-2019:3200-1
SLE Live Patching 12 SP5 kgraft-patch-SLE12-SP5_Update_1 1-8.7.1 SUSE-SU-2019:3200-1
SLE Live Patching 12 SP4 kernel-default 4.12.14-95.45.1 SUSE-SU-2019:3371-1
SLE Live Patching 12 SP4 kgraft-patch-SLE12-SP4_Update_11 1-6.5.1 SUSE-SU-2019:3371-1
SUSE Real Time Module 15 SP1 kernel-rt +3 4.12.14-14.17.1 SUSE-SU-2020:0613-1
SUSE OpenStack Cloud Crowbar 8 kernel-syms +2 4.4.180-94.113.1 SUSE-SU-2019:3379-1
SUSE OpenStack Cloud Crowbar 8 kgraft-patch-SLE12-SP3_Update_30 1-4.5.1 SUSE-SU-2019:3379-1
SUSE OpenStack Cloud 8 kernel-syms +2 4.4.180-94.113.1 SUSE-SU-2019:3379-1
SUSE OpenStack Cloud 8 kgraft-patch-SLE12-SP3_Update_30 1-4.5.1 SUSE-SU-2019:3379-1
SUSE OpenStack Cloud 7 kernel-syms +2 4.4.121-92.129.1 SUSE-SU-2020:1255-1
SUSE OpenStack Cloud 7 kgraft-patch-SLE12-SP2_Update_34 1-3.3.1 SUSE-SU-2020:1255-1
SUSE HPE Helion OpenStack 8 kernel-syms +2 4.4.180-94.113.1 SUSE-SU-2019:3379-1
SUSE HPE Helion OpenStack 8 kgraft-patch-SLE12-SP3_Update_30 1-4.5.1 SUSE-SU-2019:3379-1
SUSE Enterprise Storage 5 kernel-syms +2 4.4.180-94.113.1 SUSE-SU-2019:3379-1
SUSE Enterprise Storage 5 kgraft-patch-SLE12-SP3_Update_30 1-4.5.1 SUSE-SU-2019:3379-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 kernel-docs +8 4.12.14-lp151.28.36.1 openSUSE-SU-2019:2675-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 21

References