summaryrefslogtreecommitdiff
path: root/init/calibrate.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-03 15:39:52 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-12 10:39:16 (GMT)
commit6ea44fb2183c6e4c4c7888e35498717f9d637c39 (patch)
tree40520df368cbd14449cef6a9c6c5faae0aca7ed4 /init/calibrate.c
parente7cf756c89326f8dcee8a109d092d73acc59d72e (diff)
downloadlinux-6ea44fb2183c6e4c4c7888e35498717f9d637c39.tar.xz
USB: serial: mos7720: fix parport use-after-free on probe errors
commit 75dd211e773afcbc264677b0749d1cf7d937ab2d upstream. Do not submit the interrupt URB until after the parport has been successfully registered to avoid another use-after-free in the completion handler when accessing the freed parport private data in case of a racing completion. Fixes: b69578df7e98 ("USB: usbserial: mos7720: add support for parallel port on moschip 7715") Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions