[syzbot] WARNING: kmalloc bug in snd_pcm_plugin_alloc (2)

Linus Torvalds torvalds at linux-foundation.org
Thu Mar 17 19:56:20 CET 2022


On Thu, Mar 17, 2022 at 7:13 AM Takashi Iwai <tiwai at suse.de> wrote:
>
> And, we want not only avoiding the overflow but also limiting the
> actual size, too.  Practically seen, more than 1MB temporary buffer is
> unrealistic, and better to bail if more than that is requested.

Looks sane to me, although I obviously can't judge how well that 1M
limit works since I don't know the uses.

Thanks,
              Linus


More information about the Alsa-devel mailing list