summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-05-10 17:06:59 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-26 11:27:32 +0200
commitb0672f45d5ca1b905a01c024614c2117ee6c98f8 (patch)
tree4c1c06c89c43ef00c7bdf5c0e1cc29ac1c33788d /tools/perf/scripts/python/bin
parentae3b61a3dc2321f5dc5b3b07dca1d967d7bdc298 (diff)
ALSA: usb-audio: Validate MS endpoint descriptors
commit e84749a78dc82bc545f12ce009e3dbcc2c5a8a91 upstream. snd_usbmidi_get_ms_info() may access beyond the border when a malformed descriptor is passed. This patch adds the sanity checks of the given MS endpoint descriptors, and skips invalid ones. Reported-by: syzbot+6bb23a5d5548b93c94aa@syzkaller.appspotmail.com Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210510150659.17710-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions