usblp: poison URBs upon disconnect
authorOliver Neukum <oneukum@suse.com>
Thu, 7 May 2020 08:58:06 +0000 (10:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:50:13 +0000 (17:50 +0200)
commit9e6a9201b78bc1926f38c92c5d0bab01895be7f4
tree7626b263d712b142f0c3b6dcdd27241ba018f414
parentcc9024f69ba7811293bd403f34e1a4d5b5807fd0
usblp: poison URBs upon disconnect

[ Upstream commit 296a193b06120aa6ae7cf5c0d7b5e5b55968026e ]

syzkaller reported an URB that should have been killed to be active.
We do not understand it, but this should fix the issue if it is real.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-by: syzbot+be5b5f86a162a6c281e6@syzkaller.appspotmail.com
Link: https://lore.kernel.org/r/20200507085806.5793-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/usb/class/usblp.c