summaryrefslogtreecommitdiffstats
path: root/drivers/ide/icside.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-13 18:18:18 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-02-24 16:13:26 +0100
commit536f561d871c5781bc33d26d415685211b94032e (patch)
treed82e97b54e1709c42edbc2ca8207ab00ad7959a5 /drivers/ide/icside.c
parentmedia: MAINTAINERS: add atmel-isc-media.h file to ATMEL ISC driver (diff)
downloadlinux-536f561d871c5781bc33d26d415685211b94032e.tar.xz
linux-536f561d871c5781bc33d26d415685211b94032e.zip
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: f3d27f34fdd7 ("[media] usbtv: Add driver for Fushicai USBTV007 video frame grabber") Fixes: c53a846c48f2 ("[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>
Diffstat (limited to 'drivers/ide/icside.c')
0 files changed, 0 insertions, 0 deletions