[alsa-devel] sound: out-of-bounds write in snd_rawmidi_kernel_write1

Takashi Iwai tiwai at suse.de
Wed Feb 3 10:35:14 CET 2016


On Wed, 03 Feb 2016 09:57:50 +0100,
Dmitry Vyukov wrote:
> 
> Hello,
> 
> The following program triggers an out-of-bounds write in
> snd_rawmidi_kernel_write1 (run in parallel loop). It seems to try to
> copy -1 bytes (aka 4GB) from user space into kernel smashing all on
> its way.

What card is /dev/midi3?  Please check /proc/asound/cards.
Is it MTPAV?


Takashi


More information about the Alsa-devel mailing list