ALSA: ump: Fix buffer overflow at UMP SysEx message conversion (Linux Linux)

CVE-2025-37891
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 16 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-120 — Copie de tampon sans vérification de taille (débordement classique)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0b5288f5fe63eab687c14e5940b9e0d532b129f2 < ce4f77bef276e7d2eb7ab03a5d08bcbaa40710ec ; affected 0b5288f5fe63eab687c14e5940b9e0d532b129f2 < 226beac5605afbb33f8782148d188b64396145a4 ; affected 0b5288f5fe63eab687c14e5940b9e0d532b129f2 < 42ef48dd4ebb082a1a90b5c3feeda2e68a9e32fe ; affected 0b5288f5fe63eab687c14e5940b9e0d532b129f2 < 56f1f30e6795b890463d9b20b11e576adf5a2f77
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.90 ≤ 6.6.* ; unaffected 6.12.28 ≤ 6.12.* ; unaffected 6.14.6 ≤ 6.14.* ; unaffected 6.15 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD