CVE-2025-37891

Severity CVSS v4.0:
Pending analysis
Type:
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Publication date:
19/05/2025
Last modified:
17/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ALSA: ump: Fix buffer overflow at UMP SysEx message conversion<br /> <br /> The conversion function from MIDI 1.0 to UMP packet contains an<br /> internal buffer to keep the incoming MIDI bytes, and its size is 4, as<br /> it was supposed to be the max size for a MIDI1 UMP packet data.<br /> However, the implementation overlooked that SysEx is handled in a<br /> different format, and it can be up to 6 bytes, as found in<br /> do_convert_to_ump(). It leads eventually to a buffer overflow, and<br /> may corrupt the memory when a longer SysEx message is received.<br /> <br /> The fix is simply to extend the buffer size to 6 to fit with the SysEx<br /> UMP message.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.5 (including) 6.6.90 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.28 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.14.6 (excluding)
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*