diff options
author | Johan Hovold <johan@kernel.org> | 2017-02-09 11:11:41 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-26 10:10:51 (GMT) |
commit | 308a96c857ccba6aaebfdc4c63045cb2970de0fb (patch) | |
tree | 67bbb86420612681989f127f55a1f9f1856ebf6e /fs/efs | |
parent | 9ab870e7425c224328ec5807ed916d417810b2eb (diff) | |
download | linux-308a96c857ccba6aaebfdc4c63045cb2970de0fb.tar.xz |
USB: serial: mos7840: fix another NULL-deref at open
commit 5182c2cf2a9bfb7f066ef0bdd2bb6330b94dd74e upstream.
Fix another NULL-pointer dereference at open should a malicious device
lack an interrupt-in endpoint.
Note that the driver has a broken check for an interrupt-in endpoint
which means that an interrupt URB has never even been submitted.
Fixes: 3f5429746d91 ("USB: Moschip 7840 USB-Serial Driver")
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/efs')
0 files changed, 0 insertions, 0 deletions