summaryrefslogtreecommitdiffstats
path: root/net/vmw_vsock
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-09-30 17:12:41 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-01 21:06:49 -0400
commit678799194a5311765263b6aa940910ab232767eb (patch)
tree12ac3d1e332c42a46cfa76c0e6ff836e189ad397 /net/vmw_vsock
parent37a2fce0900119bd5e8b2989970578a34584da97 (diff)
downloadlinux-678799194a5311765263b6aa940910ab232767eb.tar.bz2
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 <johan@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions