summaryrefslogtreecommitdiff
path: root/Documentation/media
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-13 20:18:18 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-02-24 18:13:26 +0300
commit536f561d871c5781bc33d26d415685211b94032e (patch)
treed82e97b54e1709c42edbc2ca8207ab00ad7959a5 /Documentation/media
parentb36be08f204f1e0b40860a253a1515df60c2a83c (diff)
downloadlinux-536f561d871c5781bc33d26d415685211b94032e.tar.xz
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 'Documentation/media')
0 files changed, 0 insertions, 0 deletions