USB: rio500: refuse more than one device at a time
authorOliver Neukum <oneukum@suse.com>
Thu, 9 May 2019 09:30:58 +0000 (11:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2019 08:11:04 +0000 (10:11 +0200)
commit3864d33943b4a76c6e64616280e98d2410b1190f
treed0a5b724bb681ada66633dc1edbf73103e54aafe
parent0c9e8b3cad654bfc499c10b652fbf8f0b890af8f
USB: rio500: refuse more than one device at a time

This driver is using a global variable. It cannot handle more than
one device at a time. The issue has been existing since the dawn
of the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-by: syzbot+35f04d136fc975a70da4@syzkaller.appspotmail.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/rio500.c