ALSA: firewire-motu: fix buffer overflow in hwdep read for DSP events
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 634ec0b2906efd46f6f57977e172aa3470aca432 · < 210d77cca3d0494ed30a5c628b20c1d95fa04fb1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ALSA: firewire-motu: fix buffer overflow in hwdep read for DSP events
The DSP event handling code in hwdep_read() could write more bytes to the user buffer than requested, when a user provides a buffer smaller than the event header size (8 bytes).
Fix by using min_t() to clamp the copy size, This ensures we never copy more than the user requested.
From the CVE record · Linux
The Linux kernel's ALSA firewire-motu DSP event handler can write more bytes to a user buffer than requested. This occurs when a local user reads a DSP event with a buffer smaller than the 8-byte event header.
Engineers running Linux kernels with the ALSA firewire-motu driver should check their systems; affected versions were not specified.