summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-01-21 13:29:13 +0300
committerJohan Hovold <johan@kernel.org>2021-01-26 18:16:14 +0300
commita38d21488097f9823ebd297d56b24f431ee7acaa (patch)
tree5a57b091adefa614470b9be1fd87af021a499e4d /lib/mpi/mpiutil.c
parenta70aa7dc60099bbdcbd6faca42a915d80f31161e (diff)
downloadlinux-a38d21488097f9823ebd297d56b24f431ee7acaa.tar.xz
USB: serial: xr: fix NULL-deref at probe
Make sure that the probed device has an interface 0 to avoid dereferencing a NULL pointer in case of a malicious device or during USB-descriptor fuzzing. Fixes: c2d405aa86b4 ("USB: serial: add MaxLinear/Exar USB to Serial driver") Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions