Bug 2367202 (CVE-2025-37891) - CVE-2025-37891 kernel: ALSA: ump: Fix buffer overflow at UMP SysEx message conversion
Summary: CVE-2025-37891 kernel: ALSA: ump: Fix buffer overflow at UMP SysEx message co...
Keywords:
Status: NEW
Alias: CVE-2025-37891
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-19 08:01 UTC by OSIDB Bzimport
Modified: 2025-06-11 12:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-19 08:01:19 UTC
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.

Comment 1 Avinash Hanwate 2025-05-19 08:07:21 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025051909-CVE-2025-37891-5344@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.