commit | 9cdabcb3ef8c24ca3a456e4db7b012befb688e73 | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.com> | Thu Sep 17 12:34:27 2020 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 17 18:45:30 2020 +0200 |
tree | 2c7043613f45b20b4f325f66855618056407f2b4 | |
parent | 29231826f3bd65500118c473fccf31c0cf14dbc0 [diff] |
usblp: fix race between disconnect() and read() read() needs to check whether the device has been disconnected before it tries to talk to the device. Signed-off-by: Oliver Neukum <oneukum@suse.com> Reported-by: syzbot+be5b5f86a162a6c281e6@syzkaller.appspotmail.com Link: https://lore.kernel.org/r/20200917103427.15740-1-oneukum@suse.com Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>