linux-yocto/sound
Zubin Mithra 26874d6719 ALSA: pcm: fix divide error in snd_pcm_lib_ioctl
commit f3eef46f05 upstream.

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: a9960e6a29 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-08 08:50:21 +02:00
..
ac97 ALSA: ac97: fix PM reference leak in ac97_bus_remove() 2021-07-20 16:00:14 +02:00
aoa
arm
atmel
core ALSA: pcm: fix divide error in snd_pcm_lib_ioctl 2021-09-08 08:50:21 +02:00
drivers Merge branch 'for-linus' into for-next 2021-04-09 09:57:03 +02:00
firewire ALSA: firewire-motu: fix detection for S/PDIF source on optical interface in v2 protocol 2021-07-20 16:00:21 +02:00
hda ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID 2021-07-28 14:37:31 +02:00
i2c
isa ALSA: sb: Fix potential ABBA deadlock in CSP driver 2021-07-28 14:37:35 +02:00
mips ALSA: n64: check return value after calling platform_get_resource() 2021-07-20 16:00:17 +02:00
oss
parisc
pci ALSA: hda/realtek: Workaround for conflicting SSID on ASUS ROG Strix G17 2021-09-08 08:50:21 +02:00
pcmcia
ppc ALSA: ppc: fix error return code in snd_pmac_probe() 2021-07-20 16:00:18 +02:00
sh
soc ASoC: component: Remove misplaced prefix handling in pin control functions 2021-09-03 10:22:44 +02:00
sparc
spi
synth
usb ALSA: usb-audio: Fix regression on Sony WALKMAN NW-A45 DAC 2021-09-08 08:50:21 +02:00
virtio ALSA: virtio: fix kernel-doc 2021-04-27 08:39:39 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c