Skip to contentSkip to conversation

CVE-2025-68347: ALSA: firewire-motu: fix buffer overflow in hwdep read for DSP events

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Dec 24, 2025

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2025-68347 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.16 with commit 634ec0b2906efd46f6f57977e172aa3470aca432 and fixed in 6.12.63 with commit 6275fd726d53a8ec724f20201cf3bd862711e17b
	Issue introduced in 5.16 with commit 634ec0b2906efd46f6f57977e172aa3470aca432 and fixed in 6.17.13 with commit 161291bac551821bba98eb4ea84c82338578d1b0
	Issue introduced in 5.16 with commit 634ec0b2906efd46f6f57977e172aa3470aca432 and fixed in 6.18.2 with commit cdda0d06f8650e33255f79839f188bbece44117c
	Issue introduced in 5.16 with commit 634ec0b2906efd46f6f57977e172aa3470aca432 and fixed in 6.19-rc1 with commit 210d77cca3d0494ed30a5c628b20c1d95fa04fb1

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2025-68347

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
sound/firewire/motu/motu-hwdep.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/6275fd726d53a8ec724f20201cf3bd862711e17b
	https://git.kernel.org/stable/c/161291bac551821bba98eb4ea84c82338578d1b0
	https://git.kernel.org/stable/c/cdda0d06f8650e33255f79839f188bbece44117c
	https://git.kernel.org/stable/c/210d77cca3d0494ed30a5c628b20c1d95fa04fb1