Johan Hovold
a495fd19cc
hso: fix NULL-deref on tty open
...
[ Upstream commit 8353da9fa6 ]
Fix NULL-pointer dereference on tty open due to a failure to handle a
missing interrupt-in endpoint when probing modem ports:
BUG: kernel NULL pointer dereference, address: 0000000000000006
...
RIP: 0010:tiocmget_submit_urb+0x1c/0xe0 [hso]
...
Call Trace:
hso_start_serial_device+0xdc/0x140 [hso]
hso_serial_open+0x118/0x1b0 [hso]
tty_open+0xf1/0x490
Fixes: 542f548236 ("tty: Modem functions for the HSO driver")
Signed-off-by: Johan Hovold <johan@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-10-07 18:57:20 +02:00
..
2019-10-05 13:09:53 +02:00
2019-08-04 09:30:53 +02:00
2019-10-05 13:09:52 +02:00
2019-09-21 07:16:57 +02:00
2019-09-06 10:21:56 +02:00
2019-10-05 13:09:37 +02:00
2019-10-07 18:57:15 +02:00
2019-10-01 08:26:12 +02:00
2019-09-21 07:16:51 +02:00
2019-10-07 18:56:39 +02:00
2019-10-07 18:57:03 +02:00
2019-07-26 09:14:12 +02:00
2019-08-16 10:12:46 +02:00
2019-10-07 18:57:16 +02:00
2019-10-05 13:09:59 +02:00
2019-10-05 13:09:54 +02:00
2019-10-07 18:57:04 +02:00
2019-10-05 13:09:48 +02:00
2019-05-31 06:46:23 -07:00
2019-10-05 13:09:39 +02:00
2019-09-21 07:16:53 +02:00
2019-09-06 10:22:19 +02:00
2019-09-19 09:09:37 +02:00
2019-10-07 18:56:58 +02:00
2019-10-07 18:57:12 +02:00
2019-09-16 08:21:54 +02:00
2019-10-05 13:09:54 +02:00
2019-09-06 10:22:18 +02:00
2019-10-07 18:57:08 +02:00
2019-09-19 09:09:40 +02:00
2019-10-05 13:10:02 +02:00
2019-09-21 07:16:41 +02:00
2019-10-05 13:09:59 +02:00
2019-10-01 08:26:08 +02:00
2019-10-05 13:09:31 +02:00
2019-10-05 13:09:45 +02:00
2019-07-26 09:14:09 +02:00
2019-10-07 18:57:02 +02:00
2019-10-05 13:10:12 +02:00
2019-10-05 13:10:05 +02:00
2019-07-31 07:26:59 +02:00
2019-10-07 18:57:08 +02:00
2019-09-06 10:22:20 +02:00
2019-10-05 13:09:57 +02:00
2019-10-01 08:26:02 +02:00
2019-10-07 18:57:20 +02:00
2019-08-29 08:28:31 +02:00
2019-08-09 17:52:28 +02:00
2019-10-05 13:09:52 +02:00
2019-09-19 09:09:41 +02:00
2019-06-09 09:17:24 +02:00
2019-10-05 13:10:04 +02:00
2019-06-25 11:35:55 +08:00
2019-10-07 18:57:13 +02:00
2019-08-06 19:06:55 +02:00
2019-09-21 07:16:42 +02:00
2019-10-07 18:57:00 +02:00
2019-10-05 13:09:55 +02:00
2019-10-01 08:26:07 +02:00
2019-08-04 09:30:56 +02:00
2019-08-25 10:47:46 +02:00
2019-08-06 19:06:52 +02:00
2019-07-26 09:14:05 +02:00
2019-10-05 13:10:07 +02:00
2019-09-16 08:21:48 +02:00
2019-10-07 18:57:12 +02:00
2019-09-16 08:22:23 +02:00
2019-10-07 18:57:04 +02:00
2019-05-31 06:46:14 -07:00
2019-07-14 08:11:03 +02:00
2019-10-07 18:57:11 +02:00
2019-09-16 08:22:07 +02:00
2019-05-31 06:46:04 -07:00
2019-10-05 13:09:43 +02:00
2019-09-16 08:22:17 +02:00
2019-06-15 11:54:02 +02:00
2019-05-31 06:46:31 -07:00
2019-09-21 07:16:45 +02:00
2019-09-21 07:17:04 +02:00
2019-10-07 18:56:53 +02:00
2019-09-16 08:22:25 +02:00
2019-10-07 18:56:30 +02:00
2019-05-31 06:46:14 -07:00
2019-09-06 10:22:02 +02:00
2019-08-25 10:47:52 +02:00