Files
twx-linux/drivers
Johan Hovold cfb62fbcd8 USB: serial: opticon: fix control-message timeouts
commit 5e28055f34 upstream.

The driver was issuing synchronous uninterruptible control requests
without using a timeout. This could lead to the driver hanging
on open() or tiocmset() 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: 309a057932 ("USB: opticon: add rts and cts support")
Cc: stable <stable@vger.kernel.org>     # 2.6.39
Cc: Martin Jansen <martin.jansen@opticon.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:21:27 +01:00
..
…
2020-01-09 10:19:01 +01:00
…
…
…
…
2019-12-31 16:35:58 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2019-12-05 09:21:29 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2019-12-17 20:35:17 +01:00
…
…
…
…