diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-03 15:40:03 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-12 10:39:15 (GMT) |
commit | 2e5167b239e62bce68e839dc53fffa8d8d2dd7e4 (patch) | |
tree | bbe6229902b28a5e24a10caf04a5dd0b89747649 /drivers/phy | |
parent | 0556702bf34e6c464b7ca0e14f66a87e8959aea0 (diff) | |
download | linux-2e5167b239e62bce68e839dc53fffa8d8d2dd7e4.tar.xz |
USB: serial: ti_usb_3410_5052: fix NULL-deref at open
commit ef079936d3cd09e63612834fe2698eeada0d8e3f upstream.
Fix NULL-pointer dereference in open() should a malicious device lack
the expected endpoints:
Unable to handle kernel NULL pointer dereference at virtual address 00000030
..
[<bf06a6b0>] (ti_open [ti_usb_3410_5052]) from [<bf02e118>] (serial_port_activate+0x68/0x98 [usbserial])
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions