Skip to content
Heist/ feed
High

ALSA: ump: Fix buffer overflow at UMP SysEx message conversion

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2025-37891

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-37891

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "0b5288f5fe63eab687c14e5940b9e0d532b129f2",
        "lessThan": "ce4f77bef276e7d2eb7ab03a5d08bcbaa40710ec",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0b5288f5fe63eab687c14e5940b9e0d532b129f2",
        "lessThan": "226beac5605afbb33f8782148d188b64396145a4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0b5288f5fe63eab687c14e5940b9e0d532b129f2",
        "lessThan": "42ef48dd4ebb082a1a90b5c3feeda2e68a9e32fe",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "0b5288f5fe63eab687c14e5940b9e0d532b129f2",
        "lessThan": "56f1f30e6795b890463d9b20b11e576adf5a2f77",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "include/sound/ump_convert.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.5"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.5",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.90",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.28",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.14.6",
        "versionType": "semver",
        "lessThanOrEqual": "6.14.*"
      },
      {
        "status": "unaffected",
        "version": "6.15",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "include/sound/ump_convert.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-37891

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#30486 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement