Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: ump: Fix buffer overflow at UMP SysEx message conversion The conversion function from MIDI 1.0 to UMP packet contains an internal buffer to keep the incoming MIDI bytes, and its size is 4, as it was supposed to be the max size for a MIDI1 UMP packet data. However, the implementation overlooked that SysEx is handled in a different format, and it can be up to 6 bytes, as found in do_convert_to_ump(). It leads eventually to a buffer overflow, and may corrupt the memory when a longer SysEx message is received. The fix is simply to extend the buffer size to 6 to fit with the SysEx UMP message.
References (4)
Core 4
Core References
Scores
CVSS v3
7.8
EPSS
0.0007
EPSS Percentile
20.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-120
Status
published
Products (5)
linux/Kernel
6.13.0 - 6.14.6linux
linux/Kernel
6.5.0 - 6.6.90linux
linux/Kernel
6.7.0 - 6.12.28linux
linux/linux_kernel
6.15 rc1 (4 CPE variants)
linux/linux_kernel
6.5 - 6.6.90
Published
May 19, 2025
Tracked Since
Feb 18, 2026