summaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorZubin Mithra <zsm@chromium.org>2021-08-27 08:37:35 -0700
committerTakashi Iwai <tiwai@suse.de>2021-08-27 22:34:12 +0200
commitf3eef46f0518a2b32ca1244015820c35a22cfe4a (patch)
tree4f5c56b7075f46985196fd7aaf046aca6e7260f2 /sound/usb
parent93ab3eafb0b3551c54175cb38afed3b82356a047 (diff)
ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
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@chromium.org> Reviewed-by: Guenter Roeck <groeck@chromium.org> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20210827153735.789452-1-zsm@chromium.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions