linux-stable/sound
Dan Carpenter b79027f7eb ALSA: usb-audio: Fix size validation in convert_chmap_v3()
[ Upstream commit 89f0addeee ]

The "p" pointer is void so sizeof(*p) is 1.  The intent was to check
sizeof(*cs_desc), which is 3, instead.

Fixes: ecfd41166b ("ALSA: usb-audio: Validate UAC3 cluster segment descriptors")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/aKL5kftC1qGt6lpv@stanley.mountain
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:28:48 +02:00
..
ac97
aoa
arm
atmel
core ALSA: pcm: Rewrite recalculate_boundary() to avoid costly loop 2025-08-28 16:28:19 +02:00
drivers
firewire
hda PM: runtime: Simplify pm_runtime_get_if_active() usage 2025-08-28 16:28:42 +02:00
i2c
isa ALSA: sb: Force to disable DMAs once when DMA mode is changed 2025-07-10 16:03:15 +02:00
mips
oss
parisc
pci ALSA: hda/realtek: Add support for HP EliteBook x360 830 G6 and EliteBook 830 G6 2025-08-28 16:28:43 +02:00
pcmcia
ppc
sh
soc ASoC: fsl_sai: replace regmap_write with regmap_update_bits 2025-08-28 16:28:30 +02:00
sparc
spi
synth
usb ALSA: usb-audio: Fix size validation in convert_chmap_v3() 2025-08-28 16:28:48 +02:00
virtio
x86 ALSA: intel_hdmi: Fix off-by-one error in __hdmi_lpe_audio_probe() 2025-08-15 12:09:08 +02:00
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c