[PATCH v2] ALSA: pcm: fix divide error in snd_pcm_lib_ioctl

Takashi Iwai tiwai at suse.de
Fri Aug 27 22:34:39 CEST 2021


On Fri, 27 Aug 2021 17:37:35 +0200,
Zubin Mithra wrote:
> 
> Syzkaller reported a divide error in snd_pcm_lib_ioctl. fifo_size
> is of type snd_pcm_uframes_t(unsigned long). If frame_size
> is 0x100000000, the error occurs.
> 
> Fixes: a9960e6a293e ("ALSA: pcm: fix fifo_size frame calculation")
> Signed-off-by: Zubin Mithra <zsm at chromium.org>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list