linux-stable/sound
Artem Egorkine b026af92b2 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-07 12:07:35 +01:00
..
aoa ALSA: aoa: Fix I2S device accounting 2022-11-03 23:49:19 +09:00
arm
atmel
core ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_event 2022-12-14 11:24:32 +01:00
drivers ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt 2023-01-07 12:07:19 +01:00
firewire ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes 2022-05-12 12:14:56 +02:00
hda ALSA: hda: fix potential memleak in 'add_widget_node' 2022-11-25 17:35:36 +01:00
i2c ALSA: i2c/cs8427: Fix int to char conversion 2019-11-28 18:28:29 +01:00
isa ALSA: wavefront: Proper check of get_user() error 2022-05-25 08:39:48 +02:00
mips
oss
parisc
pci ALSA: asihpi: fix missing pci_disable_device() 2023-01-07 12:07:18 +01:00
pcmcia ALSA: vxpocket: Fix invalid endian conversions 2018-08-22 07:47:14 +02:00
ppc ALSA: ppc: fix error return code in snd_pmac_probe() 2021-07-20 16:21:12 +02:00
sh ALSA: sh: Fix compile warning wrt const 2020-02-28 15:42:29 +01:00
soc ASoC: rt5670: Remove unbalanced pm_runtime_put() 2023-01-07 12:07:34 +01:00
sparc ALSA: sparc: Fix invalid snd_free_pages() at error path 2018-12-05 19:42:40 +01:00
spi ALSA: spi: Add check for clk_enable() 2022-04-20 09:06:32 +02:00
synth ALSA: Use del_timer_sync() before freeing timer 2022-11-03 23:49:15 +09:00
usb ALSA: line6: fix stack overflow in line6_midi_transmit 2023-01-07 12:07:35 +01:00
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c sound: fix a memory leak bug 2019-08-25 10:51:18 +02:00