linux_dsm_epyc7002/sound/usb
Johan Hovold 5d1b71226d ALSA: usb-audio: fix sync-ep altsetting sanity check
The altsetting sanity check in set_sync_ep_implicit_fb_quirk() was
checking for there to be at least one altsetting but then went on to
access the second one, which may not exist.

This could lead to random slab data being used to initialise the sync
endpoint in snd_usb_add_endpoint().

Fixes: c75a8a7ae5 ("ALSA: snd-usb: add support for implicit feedback")
Fixes: ca10a7ebdf ("ALSA: usb-audio: FT C400 sync playback EP to capture EP")
Fixes: 5e35dc0338 ("ALSA: usb-audio: add implicit fb quirk for Behringer UFX1204")
Fixes: 17f08b0d9a ("ALSA: usb-audio: add implicit fb quirk for Axe-Fx II")
Fixes: 103e962564 ("ALSA: usb-audio: simplify set_sync_ep_implicit_fb_quirk")
Cc: stable <stable@vger.kernel.org>     # 3.5
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20200114083953.1106-1-johan@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2020-01-14 09:42:01 +01:00
..
6fire ALSA: 6fire: Convert to the common vmalloc memalloc 2019-11-06 15:47:42 +01:00
bcd2000
caiaq ALSA: caiaq: Convert to the common vmalloc memalloc 2019-11-06 15:47:42 +01:00
hiface ALSA: hiface: Convert to the common vmalloc memalloc 2019-11-06 15:47:42 +01:00
line6 ALSA: usb: Remove superfluous snd_dma_continuous_data() 2019-11-06 15:47:41 +01:00
misc ALSA: ua101: Convert to the common vmalloc memalloc 2019-11-06 15:47:42 +01:00
usx2y ALSA: usb: Remove superfluous snd_dma_continuous_data() 2019-11-06 15:47:41 +01:00
card.c ALSA: usb-audio: Add skip_validation option 2019-11-14 18:02:38 +01:00
card.h ALSA: usb-audio: set the interface format after resume on Dell WD19 2019-12-18 20:04:37 +01:00
clock.c ALSA: usb-audio: sound: usb: usb true/false for bool return type 2019-10-30 08:46:33 +01:00
clock.h
debug.h
endpoint.c ALSA: usb-audio: not submit urb for stopped endpoint 2019-11-13 10:49:31 +01:00
endpoint.h
format.c
format.h
helper.c ALSA: usb-audio: Fix gpf in snd_usb_pipe_sanity_check 2019-07-30 12:32:21 +02:00
helper.h ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00
Kconfig sound: Fix Kconfig indentation 2019-10-07 03:53:03 +02:00
Makefile Merge branch 'topic/usb-validation' into for-next 2019-08-22 15:42:03 +02:00
media.c
media.h
midi.c
midi.h
mixer_maps.c
mixer_quirks.c Merge branch 'topic/usb-validation' into for-next 2019-08-22 15:42:03 +02:00
mixer_quirks.h
mixer_scarlett_gen2.c ALSA: usb-audio: Fix Scarlett 6i6 Gen 2 port data 2019-11-22 08:41:03 +01:00
mixer_scarlett_gen2.h ALSA: usb-audio: Scarlett Gen 2 mixer interface 2019-07-28 17:47:48 +02:00
mixer_scarlett.c ALSA: usb-audio: Fix Focusrite Scarlett 6i6 gen1 - input handling 2019-11-25 16:49:35 +01:00
mixer_scarlett.h
mixer_us16x08.c
mixer_us16x08.h
mixer.c ALSA: usb-audio: Fix NULL dereference at parsing BADD 2019-11-22 14:08:31 +01:00
mixer.h ALSA: usb-audio: Scarlett Gen 2 mixer interface 2019-07-28 17:47:48 +02:00
pcm.c ALSA: usb-audio: fix sync-ep altsetting sanity check 2020-01-14 09:42:01 +01:00
pcm.h
power.c ALSA: usb-audio: More validations of descriptor units 2019-08-22 10:35:59 +02:00
power.h
proc.c
proc.h
quirks-table.h ALSA: usb-audio: set the interface format after resume on Dell WD19 2019-12-18 20:04:37 +01:00
quirks.c ALSA: usb-audio: Apply the sample rate quirk for Bose Companion 5 2020-01-04 12:16:04 +01:00
quirks.h
stream.c Merge branch 'topic/usb-validation' into for-next 2019-08-22 15:42:03 +02:00
stream.h
usbaudio.h ALSA: usb-audio: set the interface format after resume on Dell WD19 2019-12-18 20:04:37 +01:00
validate.c ALSA: usb-audio: Add skip_validation option 2019-11-14 18:02:38 +01:00