usblp: poison URBs upon disconnect
authorOliver Neukum <oneukum@suse.com>
Thu, 7 May 2020 08:58:06 +0000 (10:58 +0200)
committerSasha Levin <sashal@kernel.org>
Tue, 30 Jun 2020 19:38:21 +0000 (15:38 -0400)
commit372a8b5aec4808ea7114c0753667d131e8b435b6
tree416c641927d10d07d16088be993544595f24ce19
parent18f7ec3aaaf70a6f41961c8d193fbc21f9df18f6
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