Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 574CD306D3F for ; Wed, 24 Dec 2025 10:36:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766572579; cv=none; b=AfdKMvHwpLDKkduvCdylizrhGw4kMXblNglNMYle5OgeN6YCRdXBdXl1TQNHl7KQfWPkTd+Y1QAhIMcNaV12qGbfJUk96so28n0wj4QQR+m+BO71dIHBDX7MYqWAKjUI6T0v5UjVDr8YgoV7bx4cy+NxfGRnglVL4PDnr5GfY2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766572579; c=relaxed/simple; bh=fLxN4vQ20AHH1WHXKr5Y7hNe3SDE+JRORzlhzzrMtB8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=USDerbyffCa6My7W40LM8Y/wu59OUeGESjwdLR7SK4P58vy3p5RwasIkgw9WZH8gLWkO3SJFfl+crVK1VMuQdZE58DdimmvvK/y491GyvP/1ZrT5I28ObH7wI07F4ANG9frvmUI1RyQMZc5Z8aGANyRvmN/1tkGG6u1yDN9lExw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GmNyOZ6V; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GmNyOZ6V" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA177C4CEFB; Wed, 24 Dec 2025 10:36:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766572579; bh=fLxN4vQ20AHH1WHXKr5Y7hNe3SDE+JRORzlhzzrMtB8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=GmNyOZ6VzNQ53MZ000HgziRTWSbFErmg5K6c/P+t2Zm+doPN8+D0QgD2WyyRMa7p/ 9a3/W+KNfJQb5u4gvMOEh7EMpXCua4BBNrST12/yRl62WOepgeKZ8F+fFl4XyvWv4X CoZp1txIYBQq7yssBYqVPkEfgissfXvMhF6e5Ads= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68347: ALSA: firewire-motu: fix buffer overflow in hwdep read for DSP events Date: Wed, 24 Dec 2025 11:34:52 +0100 Message-ID: <2025122453-CVE-2025-68347-74dd@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2532; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N1Aq4qXRktUY0AD7LveDiZpkvRPjistXp9NLn4mYnIQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneB8+qi9gc8e+sn7Wl2tok7fJC01UbJuUzXei77cGwa MnWVEmvjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIpSqG+ZkXlDmT+if6ZlfI zTvfJ1h3YanyEob5WXeeOTF94tiX/OjFpQdv3wctWe+bBgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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