summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx
diff options
context:
space:
mode:
authorJohan Hovold2017-01-03 16:39:50 +0100
committerJohan Hovold2017-01-04 10:37:19 +0100
commitb05aebc25fdc5aeeac3ee29f0dc9f58dd07c13cc (patch)
tree618bff514398992dab52a7b26ed58c5569fff539 /drivers/gpu/drm/imx
parentUSB: serial: kobil_sct: fix NULL-deref in write (diff)
downloadkernel-qcow2-linux-b05aebc25fdc5aeeac3ee29f0dc9f58dd07c13cc.tar.gz
kernel-qcow2-linux-b05aebc25fdc5aeeac3ee29f0dc9f58dd07c13cc.tar.xz
kernel-qcow2-linux-b05aebc25fdc5aeeac3ee29f0dc9f58dd07c13cc.zip
USB: serial: mos7720: fix NULL-deref at open
Fix NULL-pointer dereference at port open if a device lacks the expected bulk in and out endpoints. Unable to handle kernel NULL pointer dereference at virtual address 00000030 ... [<bf071c20>] (mos7720_open [mos7720]) from [<bf0490e0>] (serial_port_activate+0x68/0x98 [usbserial]) [<bf0490e0>] (serial_port_activate [usbserial]) from [<c0470ca4>] (tty_port_open+0x9c/0xe8) [<c0470ca4>] (tty_port_open) from [<bf049d98>] (serial_open+0x48/0x6c [usbserial]) [<bf049d98>] (serial_open [usbserial]) from [<c0469178>] (tty_open+0xcc/0x5cc) Fixes: 0f64478cbc7a ("USB: add USB serial mos7720 driver") Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/imx')
0 files changed, 0 insertions, 0 deletions