linux-stable/sound
Takashi Sakamoto deec542ba5 ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet
commit ada79fa5a0 upstream.

In IEC 61883-1/6 engine of ALSA firewire stack, a packet handler has a
second argument for 'the number of bytes in payload of isochronous
packet'. However, an incoming packet handler without CIP header uses the
value as 'the number of quadlets in the payload'. This brings userspace
applications to receive the number of PCM frames as four times against
real time.

This commit fixes the bug.

Cc: <stable@vger.kernel.org> # v4.12+
Fixes: 3b196c394d ('ALSA: firewire-lib: add no-header packet processing')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-09 17:14:47 +01:00
..
aoa ALSA: snd-aoa: add of_node_put() in error path 2018-10-03 17:00:50 -07:00
arm
atmel
core ALSA: pcm: Fix potential Spectre v1 vulnerability 2019-01-09 17:14:46 +01:00
drivers ALSA: aloop: Add missing cable lock to ctl API callbacks 2018-05-09 09:51:50 +02:00
firewire ALSA: firewire-lib: fix wrong handling payload_length as payload_quadlet 2019-01-09 17:14:47 +01:00
hda sound: don't call skl_init_chip() to reset intel skl soc 2018-10-18 09:16:22 +02:00
i2c
isa ALSA: wss: Fix invalid snd_free_pages() at error path 2018-12-05 19:41:24 +01:00
mips
oss
parisc
pci ALSA: hda: add mute LED support for HP EliteBook 840 G4 2019-01-09 17:14:47 +01:00
pcmcia ALSA: vxpocket: Fix invalid endian conversions 2018-08-22 07:46:10 +02:00
ppc
sh
soc ASoC: sta32x: set ->component pointer in private struct 2018-12-29 13:39:07 +01:00
sparc ALSA: sparc: Fix invalid snd_free_pages() at error path 2018-12-05 19:41:24 +01:00
spi
synth ALSA: emux: Fix potential Spectre v1 vulnerabilities 2019-01-09 17:14:46 +01:00
usb ALSA: usb-audio: Fix UAF decrement if card has no live interfaces in card.c 2018-12-13 09:18:51 +01:00
x86 ALSA: intel_hdmi: Use strlcpy() instead of strncpy() 2018-12-08 13:03:35 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c