diff options
| author | Johan Hovold <[email protected]> | 2019-09-30 15:12:41 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-10-02 01:21:10 +0000 |
| commit | 8353da9fa69722b54cba82b2ec740afd3d438748 (patch) | |
| tree | 04098d27ccc01a0f3ab1ab0bb46d343f8577bee5 /net/ipv4/tcp_timer.c | |
| parent | net: ag71xx: fix mdio subnode support (diff) | |
| download | kernel-8353da9fa69722b54cba82b2ec740afd3d438748.tar.gz kernel-8353da9fa69722b54cba82b2ec740afd3d438748.zip | |
hso: fix NULL-deref on tty open
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: 542f54823614 ("tty: Modem functions for the HSO driver")
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions
