[lvc-project] [PATCH] ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control()

Takashi Iwai tiwai at suse.de
Tue Feb 7 16:32:59 MSK 2023


On Tue, 07 Feb 2023 14:20:26 +0100,
Artemii Karasev wrote:
> 
> 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 at ispras.ru>
> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")

Thanks, applied now.


Takashi



More information about the lvc-project mailing list