diff options
author | Oliver Neukum <oneukum@suse.com> | 2020-09-17 13:34:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-23 13:11:01 +0300 |
commit | 51e7ea12ccedbed2f9e31b593d02432986e491fb (patch) | |
tree | 9e289d0f0f440aa9bb5b2677a729317a0bb83f5f /drivers/i2c | |
parent | 1f4b55978ea2ce37d0730515ef9f12b01c2c557b (diff) | |
download | linux-51e7ea12ccedbed2f9e31b593d02432986e491fb.tar.xz |
usblp: fix race between disconnect() and read()
commit 9cdabcb3ef8c24ca3a456e4db7b012befb688e73 upstream.
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>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions