linux-stable/sound/usb/line6
Artem Egorkine b8800d324a ALSA: line6: fix stack overflow in line6_midi_transmit
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>
2022-12-26 09:07:49 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
capture.c ALSA: line6: Perform sanity check for each URB creation 2020-07-10 16:29:18 +02:00
capture.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
driver.c ALSA: line6: correct midi status byte when receiving data from podxt 2022-12-26 09:06:19 +01:00
driver.h ALSA: line6: remove line6_set_raw declaration 2022-09-09 09:09:20 +02:00
midi.c ALSA: line6: fix stack overflow in line6_midi_transmit 2022-12-26 09:07:49 +01:00
midi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
midibuf.c ALSA: line6: correct midi status byte when receiving data from podxt 2022-12-26 09:06:19 +01:00
midibuf.h ALSA: line6: correct midi status byte when receiving data from podxt 2022-12-26 09:06:19 +01:00
pcm.c sound: usb: remove third argument of usb_maxpacket() 2022-04-23 10:33:53 +02:00
pcm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
playback.c ALSA: line6: Perform sanity check for each URB creation 2020-07-10 16:29:18 +02:00
playback.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
pod.c ALSA: line6: correct midi status byte when receiving data from podxt 2022-12-26 09:06:19 +01:00
podhd.c ALSA: line6: Replace sprintf() with sysfs_emit() 2022-08-02 16:03:49 +02:00
toneport.c ALSA: line6: fix control and interrupt message timeouts 2021-10-26 08:12:14 +02:00
variax.c ALSA: line6: Fix racy initialization of LINE6 MIDI 2021-05-19 16:25:57 +02:00