linux/drivers/media/usb
Johan Hovold 536f561d87 media: usbtv: fix control-message timeouts
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 <stable@vger.kernel.org>     # 3.11
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-02-24 16:13:26 +01:00
..
airspy media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
as102 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
au0828 media: drivers/media: don't set pix->priv = 0 2019-07-23 08:48:33 -04:00
b2c2 media: flexcop-usb: ensure -EIO is returned on error condition 2019-11-09 09:15:20 +01:00
cpia2 media: v4l2: abstract timeval handling in v4l2_buffer 2020-01-03 15:43:35 +01:00
cx231xx media: cx231xx: constify copied structure 2020-02-24 15:23:48 +01:00
dvb-usb media: usb: dvb-usb: dw2102: convert to use i2c_new_client_device() 2020-01-09 16:06:16 +01:00
dvb-usb-v2 media: anysee: constify copied structure 2020-02-24 15:22:57 +01:00
em28xx media: Drop superfluous ioctl PCM ops 2019-12-13 09:33:22 +01:00
go7007 media: Drop superfluous ioctl PCM ops 2019-12-13 09:33:22 +01:00
gspca media: gspca: zero usb_buf 2019-12-13 09:15:35 +01:00
hackrf Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
hdpvr media: hdpvr: remove redundant assignment to retval 2019-08-26 10:43:53 -03:00
msi2500 media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
pulse8-cec media: pulse8-cec: close serio in disconnect, not adap_free 2020-02-24 15:05:14 +01:00
pvrusb2 media: pvrusb2: Remove unneeded semicolon and add newline 2020-01-08 14:36:32 +01:00
pwc media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
rainshadow-cec treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 55 2019-05-24 17:36:42 +02:00
s2255 media: drivers/media: don't set pix->priv = 0 2019-07-23 08:48:33 -04:00
siano USB fixes for 5.2-rc3 2019-05-31 08:16:31 -07:00
stk1160 media: media/usb: don't set description in ENUM_FMT 2019-07-22 14:01:05 -04:00
stkwebcam media: v4l2: abstract timeval handling in v4l2_buffer 2020-01-03 15:43:35 +01:00
tm6000 media: Drop superfluous ioctl PCM ops 2019-12-13 09:33:22 +01:00
ttusb-budget treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ttusb-dec media: ttusb-dec: Fix info-leak in ttusb_dec_send_command() 2019-08-21 18:39:55 -03:00
usbtv media: usbtv: fix control-message timeouts 2020-02-24 16:13:26 +01:00
usbvision media: v4l2: abstract timeval handling in v4l2_buffer 2020-01-03 15:43:35 +01:00
uvc media: uvcvideo: Add a quirk to force GEO GC6500 Camera bits-per-pixel value 2020-01-23 13:16:13 +01:00
zr364xx media: zr364xx: remove redundant assigmnent to idx, clean up code 2019-11-10 17:49:58 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00