Ubuntu-focal-kernel/sound/usb
Greg Kroah-Hartman 1701b7bda5 USB: move snd_usb_pipe_sanity_check into the USB core
snd_usb_pipe_sanity_check() is a great function, so let's move it into
the USB core so that other parts of the kernel, including the USB core,
can call it.

Name it usb_pipe_type_check() to match the existing
usb_urb_ep_type_check() call, which now uses this function.

Cc: Jaroslav Kysela <perex@perex.cz>
Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Cc: Eli Billauer <eli.billauer@gmail.com>
Cc: Emiliano Ingrassia <ingrassia@epigenesys.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Alexander Tsoy <alexander@tsoy.me>
Cc: "Geoffrey D. Bennett" <g@b4.vu>
Cc: Jussi Laako <jussi@sonarnerd.net>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: Dmitry Panchenko <dmitry@d-systems.ee>
Cc: Chris Wulff <crwulff@gmail.com>
Cc: Jesus Ramos <jesus-ramos@live.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200914153756.3412156-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

CVE-2022-3903
(cherry picked from commit fcc2cc1f35)
Signed-off-by: Magali Lemes <magali.lemes@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-03-21 10:08:56 +01:00
..
6fire
bcd2000
caiaq
hiface
line6 ALSA: line6: fix stack overflow in line6_midi_transmit 2023-02-01 15:23:19 +01:00
misc
usx2y
Kconfig
Makefile
card.c
card.h
clock.c
clock.h
debug.h
endpoint.c ALSA: usb-audio: Fix NULL dererence at error path 2023-01-06 08:43:51 -08:00
endpoint.h
format.c
format.h
helper.c USB: move snd_usb_pipe_sanity_check into the USB core 2023-03-21 10:08:56 +01:00
helper.h USB: move snd_usb_pipe_sanity_check into the USB core 2023-03-21 10:08:56 +01:00
media.c
media.h
midi.c ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open() 2023-02-01 15:21:10 +01:00
midi.h
mixer.c
mixer.h
mixer_maps.c
mixer_quirks.c
mixer_quirks.h
mixer_scarlett.c
mixer_scarlett.h
mixer_scarlett_gen2.c USB: move snd_usb_pipe_sanity_check into the USB core 2023-03-21 10:08:56 +01:00
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: Add quirk entry for M-Audio Micro 2023-02-01 15:20:59 +01:00
quirks.c USB: move snd_usb_pipe_sanity_check into the USB core 2023-03-21 10:08:56 +01:00
quirks.h
stream.c
stream.h
usbaudio.h
validate.c