]> git.ipfire.org Git - thirdparty/kernel/stable.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>
Sun, 9 Jun 2019 07:16:08 +0000 (09:16 +0200)
commit77198d72a4cd6b45222981034c1cf8dc7056c6d5
tree9e32971326546f1bdf80b28729e810ace69232ff
parent47991232340128d2a3e7f7515eff9a3e80186e42
USB: rio500: refuse more than one device at a time

commit 3864d33943b4a76c6e64616280e98d2410b1190f upstream.

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