]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8fad33bf94342f852f90781fdf0cda10a574969
treed0a5b724bb681ada66633dc1edbf73103e54aafe
parentf6e49de3a1bc3d457380a498626d11d0127bf2f0
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