Ubuntu-focal-kernel/sound/synth
Artemii Karasev e7da25989c ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()
BugLink: https://bugs.launchpad.net/bugs/2011625

commit 6a32425f953b955b4ff82f339d01df0b713caa5d upstream.

snd_emux_xg_control() can be called with an argument 'param' greater
than size of 'control' array. It may lead to accessing 'control'
array at a wrong index.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: Artemii Karasev <karasev@ispras.ru>
Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230207132026.2870-1-karasev@ispras.ru
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Luke Nowakowski-Krijger <luke.nowakowskikrijger@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-04-18 17:21:01 +02:00
..
emux ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() 2023-04-18 17:21:01 +02:00
Kconfig
Makefile
util_mem.c