ALSA: ump: Fix buffer overflow at UMP SysEx message conversion
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.28, 6.14.6, 6.6.90
- CVEs
- CVE-2025-37891
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 00:47 UTC · Revision 1
Source evidence
ALSA: ump: Fix buffer overflow at UMP SysEx message conversion
core-osv · Original sourcePublished 19 May 2025, 07: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.
osv:CVE-2025-37891
Kernel
Fixed versions: 6.6.90, 6.12.28, 6.14.6
Complete source record
{
"id": "3b325e89e9ef612ac354f65bd0370248abd771d538255f9b3c5779b0e832c4b3",
"url": "https://osv.dev/vulnerability/CVE-2025-37891",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALSA: ump: Fix buffer overflow at UMP SysEx message conversion",
"summary": "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.",
"evidence": "osv:CVE-2025-37891",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.90",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.28",
"evidence": "/affected/1/ranges"
},
{
"value": "6.14.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-37891",
"aliases": [
"CVE-2025-37891"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0b5288f5fe63eab687c14e5940b9e0d532b129f2"
},
{
"fixed": "ce4f77bef276e7d2eb7ab03a5d08bcbaa40710ec"
},
{
"fixed": "226beac5605afbb33f8782148d188b64396145a4"
},
{
"fixed": "42ef48dd4ebb082a1a90b5c3feeda2e68a9e32fe"
},
{
"fixed": "56f1f30e6795b890463d9b20b11e576adf5a2f77"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37891.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.6.90"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.28"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.14.6"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37891.json"
}
}
],
"modified": "2026-10-28T02:30:52.632404640Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/226beac5605afbb33f8782148d188b64396145a4",
"https://git.kernel.org/stable/c/42ef48dd4ebb082a1a90b5c3feeda2e68a9e32fe",
"https://git.kernel.org/stable/c/56f1f30e6795b890463d9b20b11e576adf5a2f77",
"https://git.kernel.org/stable/c/ce4f77bef276e7d2eb7ab03a5d08bcbaa40710ec",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37891.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-37891",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37891.json"
}
},
"related_cves": [
{
"value": "CVE-2025-37891",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521084,
"published_at": "2025-05-19T07:19:04.583+00:00"
}