android_kernel_motorola_sm6375/sound/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Takashi Iwai e7dc436aea ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()
commit ad72c3c3f6eb81d2cb189ec71e888316adada5df upstream.

snd_usbmidi_output_open() has a check of the NULL port with
snd_BUG_ON().  snd_BUG_ON() was used as this shouldn't have happened,
but in reality, the NULL port may be seen when the device gives an
invalid endpoint setup at the descriptor, hence the driver skips the
allocation.  That is, the check itself is valid and snd_BUG_ON()
should be dropped from there.  Otherwise it's confusing as if it were
a real bug, as recently syzbot stumbled on it.

Reported-by: [email protected]
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-11-25 17:42:17 +01:00
..
6fire ALSA: 6fire: fix control and bulk message timeouts 2021-11-17 09:48:18 +01:00
bcd2000 ALSA: bcd2000: Fix a UAF bug on the error path of probing 2022-08-25 11:17:17 +02:00
caiaq
hiface
line6 ALSA: line6: fix control and interrupt message timeouts 2021-11-17 09:48:18 +01:00
misc ALSA: ua101: fix division by zero at probe 2021-11-17 09:48:18 +01:00
usx2y
card.c
card.h
clock.c ALSA: usb-audio: fix incorrect clock source setting 2021-08-12 13:20:55 +02:00
clock.h
debug.h
endpoint.c ALSA: usb-audio: Fix NULL dererence at error path 2022-10-26 13:22:10 +02:00
endpoint.h
format.c
format.h
helper.c
helper.h
Kconfig
Makefile
media.c
media.h
midi.c ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open() 2022-11-25 17:42:17 +01:00
midi.h
mixer.c ALSA: usb-audio: Add missing proc text entry for BESPOKEN type 2021-07-28 13:30:58 +02:00
mixer.h
mixer_maps.c
mixer_quirks.c ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB 2022-03-28 08:46:45 +02:00
mixer_quirks.h
mixer_scarlett.c
mixer_scarlett.h
mixer_scarlett_gen2.c ALSA: usb-audio: scarlett2: Fix 6i6 Gen 2 line out descriptions 2021-07-20 16:10:46 +02: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 2022-11-25 17:42:08 +01:00
quirks.c ALSA: usb-audio: Add DSD support for Accuphase DAC-60 2022-11-25 17:42:08 +01:00
quirks.h
stream.c ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface() 2022-09-15 12:04:54 +02:00
stream.h
usbaudio.h ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant 2022-04-27 13:50:47 +02:00
validate.c