summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2019-08-08 11:27:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-25 10:52:42 +0200
commit334bcf6f25d5ddaaf1f1717704d93a4890a5e411 (patch)
tree6651f60e99a9eefcf540333b538343698126a9b7 /tools/perf/scripts/python
parent3904234bd04fa7c40467e5d8b3301893fae16e87 (diff)
usb: iowarrior: fix deadlock on disconnect
commit c468a8aa790e0dfe0a7f8a39db282d39c2c00b46 upstream. We have to drop the mutex before we close() upon disconnect() as close() needs the lock. This is safe to do by dropping the mutex as intfdata is already set to NULL, so open() will fail. Fixes: 03f36e885fc26 ("USB: open disconnect race in iowarrior") Reported-by: syzbot+a64a382964bf6c71a9c0@syzkaller.appspotmail.com Cc: stable <stable@vger.kernel.org> Signed-off-by: Oliver Neukum <oneukum@suse.com> Link: https://lore.kernel.org/r/20190808092728.23417-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions