summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_input.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-09-30 18:12:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-07 19:57:20 +0300
commita495fd19cce2fa16dce4f1524d5bd3ca11d3128f (patch)
tree6f39547e74ce8c6eb37a480777b9c6b29bfe7c16 /net/ipv6/ip6_input.c
parent7f30c44b7ca43e6960f22e7a1efec30fbfed6bea (diff)
downloadlinux-a495fd19cce2fa16dce4f1524d5bd3ca11d3128f.tar.xz
hso: fix NULL-deref on tty open
[ Upstream commit 8353da9fa69722b54cba82b2ec740afd3d438748 ] 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 <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/ip6_input.c')
0 files changed, 0 insertions, 0 deletions