android_kernel_motorola_sm6375/drivers/media
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Johan Hovold b958dea86c media: usbtv: fix control-message timeouts
commit 536f561d871c5781bc33d26d415685211b94032e upstream.

The driver was issuing synchronous uninterruptible control requests
without using a timeout. This could lead to the driver hanging on
various user requests due to a malfunctioning (or malicious) device
until the device is physically disconnected.

The USB upper limit of five seconds per request should be more than
enough.

Fixes: f3d27f34fd ("[media] usbtv: Add driver for Fushicai USBTV007 video frame grabber")
Fixes: c53a846c48 ("[media] usbtv: add video controls")
Cc: stable <[email protected]>     # 3.11
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Lubomir Rintel <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-04-01 11:02:16 +02:00
..
cec media: cec: check 'transmit_in_progress', not 'transmitting' 2020-01-09 10:19:56 +01:00
common
dvb-core
dvb-frontends
firewire
i2c media: i2c: mt9v032: fix enum mbus codes and frame sizes 2020-02-24 08:36:25 +01:00
mc media: mc-entity.c: use & to check pad flags, not == 2020-03-12 13:00:21 +01:00
mmc
pci media: cx23885: Add support for AVerMedia CE310B 2020-02-24 08:36:35 +01:00
platform media: vicodec: process all 4 components for RGB32 formats 2020-03-12 13:00:21 +01:00
radio media: si470x-i2c: add missed operations in remove 2019-12-31 16:45:13 +01:00
rc media: rc: ensure lirc is initialized before registering input device 2020-02-11 04:35:36 -08:00
spi
tuners
usb media: usbtv: fix control-message timeouts 2020-04-01 11:02:16 +02:00
v4l2-core media: v4l2-mem2mem.c: fix broken links 2020-03-12 13:00:21 +01:00
Kconfig
Makefile