ALSA: ump: Fix buffer overflow at UMP SysEx message conversion
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.90, 6.12.28, 6.14.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 0b5288f5fe63eab687c14e5940b9e0d532b129f2 · fixed in ce4f77bef276e7d2eb7ab03a5d08bcbaa40710ec; From 0b5288f5fe63eab687c14e5940b9e0d532b129f2 · fixed in 226beac5605afbb33f8782148d188b64396145a4; From 0b5288f5fe63eab687c14e5940b9e0d532b129f2 · fixed in 42ef48dd4ebb082a1a90b5c3feeda2e68a9e32fe; From 0b5288f5fe63eab687c14e5940b9e0d532b129f2 · fixed in 56f1f30e6795b890463d9b20b11e576adf5a2f77
- Linux Linux
6.5
- KernelLinux
From 6.5.0 · fixed in 6.6.90; From 6.7.0 · fixed in 6.12.28; From 6.13.0 · fixed in 6.14.6