linux-stable/sound/usb
Artem Egorkine 0c76087449 ALSA: line6: fix stack overflow in line6_midi_transmit
commit b8800d324a upstream.

Correctly calculate available space including the size of the chunk
buffer. This fixes a buffer overflow when multiple MIDI sysex
messages are sent to a PODxt device.

Signed-off-by: Artem Egorkine <arteme@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20221225105728.1153989-2-arteme@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 11:30:40 +01:00
..
6fire ALSA: 6fire: fix control and bulk message timeouts 2021-11-26 11:35:58 +01:00
bcd2000 ALSA: bcd2000: Fix a UAF bug on the error path of probing 2022-08-25 11:14:51 +02:00
caiaq ALSA: pcm: Nuke snd_pcm_lib_mmap_vmalloc() 2018-07-18 08:24:29 +02:00
hiface ALSA: hiface: fix multiple memory leak bugs 2019-08-16 10:12:51 +02:00
line6 ALSA: line6: fix stack overflow in line6_midi_transmit 2023-01-18 11:30:40 +01:00
misc ALSA: ua101: fix division by zero at probe 2021-11-26 11:35:58 +01:00
usx2y ALSA: usx2y: Fix potential NULL dereference 2020-04-29 16:31:28 +02:00
card.c ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls 2021-05-22 10:59:35 +02:00
card.h ALSA: usb-audio: work around streaming quirk for MacroSilicon MS2109 2020-08-19 08:15:04 +02:00
clock.c ALSA: usb-audio: fix incorrect clock source setting 2021-08-12 13:19:38 +02:00
clock.h ALSA: usb-audio: Add clock validity quirk for Denon MC7000/MCX8000 2020-02-19 19:51:54 +01:00
debug.h
endpoint.c ALSA: usb-audio: Fix NULL dererence at error path 2022-10-26 13:19:20 +02:00
endpoint.h Revert "ALSA: usb-audio: Improve frames size computation" 2020-07-09 09:37:12 +02:00
format.c ALSA: usb-audio: fix rate on Ozone Z90 USB headset 2021-07-20 16:15:38 +02:00
format.h
helper.c
helper.h ALSA: usb-audio: More validations of descriptor units 2019-11-12 19:20:48 +01:00
Kconfig
Makefile ALSA: usb-audio: More validations of descriptor units 2019-11-12 19:20:48 +01:00
midi.c ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open() 2022-11-25 17:40:25 +01:00
midi.h
mixer.c ALSA: usb-audio: Fix OOB access at proc output 2021-07-20 16:15:38 +02:00
mixer.h ALSA: usb-audio: Fix OOB access of mixer element list 2020-06-30 23:17:08 -04:00
mixer_maps.c ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8 2021-05-22 10:59:19 +02:00
mixer_quirks.c ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB 2022-03-28 08:41:43 +02:00
mixer_quirks.h
mixer_scarlett.c ALSA: usb-audio: More constifications 2021-05-22 10:59:19 +02:00
mixer_scarlett.h
mixer_us16x08.c ALSA: usb-audio: US16x08: fix value count for level meters 2020-12-08 10:18:55 +01:00
mixer_us16x08.h
pcm.c ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode 2021-03-04 09:39:31 +01:00
pcm.h ALSA: usb-audio: Add UAC3 Power Domains to suspend/resume 2018-07-31 15:01:36 +02:00
power.c ALSA: usb-audio: More validations of descriptor units 2019-11-12 19:20:48 +01:00
power.h ALSA: usb-audio: Initial Power Domain support 2018-07-31 15:01:22 +02:00
proc.c ALSA: usb-audio: More constifications 2021-05-22 10:59:19 +02:00
proc.h
quirks-table.h ALSA: usb-audio: Add quirk entry for M-Audio Micro 2022-11-25 17:40:18 +01:00
quirks.c ALSA: usb-audio: Add DSD support for Accuphase DAC-60 2022-11-25 17:40:19 +01:00
quirks.h ALSA: usb-audio: Rewrite registration quirk handling 2020-07-22 09:32:04 +02:00
stream.c ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface() 2022-09-15 12:17:05 +02:00
stream.h
usbaudio.h ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant 2022-04-27 13:39:43 +02:00
validate.c ALSA: usb-audio: More constifications 2021-05-22 10:59:19 +02:00