aboutsummaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-01-03 16:39:52 +0100
committerMoyster <oysterized@gmail.com>2017-06-17 15:48:38 +0200
commit56b167f21392b84965f845ab4e3ccb9bd6b6572c (patch)
tree365f70e376149678f9f208682b78bcdd648475d1 /kernel/workqueue.c
parent7ce4df928d0ab5742f40ddaf8591baf909a2e79d (diff)
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: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions