kernel_samsung_a53x/sound/usb
Benoît Sevens 155b01b6ba ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
commit b909df18ce2a998afef81d58bbd1a05dc0788c40 upstream.

A bogus device can provide a bNumConfigurations value that exceeds the
initial value used in usb_get_configuration for allocating dev->config.

This can lead to out-of-bounds accesses later, e.g. in
usb_destroy_configuration.

Signed-off-by: Benoît Sevens <bsevens@google.com>
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: stable@kernel.org
Link: https://patch.msgid.link/20241120124144.3814457-1-bsevens@google.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-17 13:24:17 +01:00
..
6fire ALSA: 6fire: Release resources at card release 2024-12-17 13:24:07 +01:00
bcd2000
caiaq ALSA: caiaq: Use snd_card_free_when_closed() at disconnection 2024-12-17 13:24:07 +01:00
hiface
line6 Revert "ALSA: line6: add hw monitor volume control to POD HD500X" 2024-11-24 00:23:04 +01:00
misc
usx2y ALSA: us122l: Use snd_card_free_when_closed() at disconnection 2024-12-17 13:24:07 +01:00
card.c Revert "ALSA: usb-audio: Add logitech Audio profile quirk" 2024-11-24 00:23:07 +01:00
card.h
clock.c
clock.h
debug.h
endpoint.c
endpoint.h
exynos_usb_audio.c
exynos_usb_audio.h
format.c
format.h
helper.c
helper.h
Kconfig
Makefile
media.c
media.h
midi.c
midi.h
mixer.c
mixer.h
mixer_maps.c
mixer_quirks.c ALSA: usb-audio: Add endianness annotations 2024-11-30 02:33:27 +01:00
mixer_quirks.h
mixer_s1810c.c
mixer_s1810c.h
mixer_scarlett.c
mixer_scarlett.h
mixer_scarlett_gen2.c
mixer_scarlett_gen2.h
mixer_us16x08.c
mixer_us16x08.h
pcm.c
pcm.h
power.c
power.h
proc.c
proc.h
quirks-table.h ALSA: usb-audio: Fix Yamaha P-125 Quirk Entry 2024-12-17 13:23:58 +01:00
quirks.c ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices 2024-12-17 13:24:17 +01:00
quirks.h
stream.c ALSA: usb-audio: Correct surround channels in UAC1 channel map 2024-11-23 23:20:21 +01:00
stream.h
usbaudio.h
validate.c