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:48:22 +0000 (17:48 +0200)
commitb6bddb74c07b5de807e4f75623d58d8f9bdeb9d8
tree445193d0d2b15c554048fb7d7c72cd10c5c9e5ad
parentbe66f10a60e3ec0b589898f78a428bcb34095730
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