Skip to content
Commit bdf7cccc authored by Oliver Neukum's avatar Oliver Neukum Committed by bgman111111
Browse files

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: default avatarOliver Neukum <oneukum@suse.com>
Reported-by: default avatar <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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 217b203a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment