[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200113182600.GG411698@kroah.com>
Date: Mon, 13 Jan 2020 19:26:00 +0100
From: Greg KH <greg@...ah.com>
To: Johan Hovold <johan@...nel.org>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
linux-media@...r.kernel.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, stable <stable@...r.kernel.org>,
Lubomir Rintel <lkundrak@...sk>
Subject: Re: [PATCH] media: usbtv: fix control-message timeouts
On Mon, Jan 13, 2020 at 06:18:18PM +0100, Johan Hovold wrote:
> 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@...r.kernel.org> # 3.11
> Cc: Lubomir Rintel <lkundrak@...sk>
> Signed-off-by: Johan Hovold <johan@...nel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists