Lucene search

K
redhatcveRedhat.comRH:CVE-2017-13166
HistoryApr 09, 2020 - 6:58 a.m.

CVE-2017-13166

2020-04-0906:58:20
redhat.com
access.redhat.com
17

EPSS

0.001

Percentile

26.7%

A bug in the 32-bit compatibility layer of the ioctl handling code of the v4l2 video driver in the Linux kernel has been found. A memory protection mechanism ensuring that user-provided buffers always point to a userspace memory were disabled, allowing destination address to be in a kernel space. This flaw could be exploited by an attacker to overwrite a kernel memory from an unprivileged userspace process, leading to privilege escalation.

Mitigation

A systemtap script intercepting v4l2_compat_ioctl32() function of the [videodev] module and making it to return -ENOIOCTLCMD error value would work just fine, except breaking all 32bit video capturing software, but not 64bit ones.

Alternatively, blacklisting [videodev] module will work too, but it will break all video capturing software.