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 450593161A8 for ; Wed, 24 Dec 2025 10:35:49 +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=1766572551; cv=none; b=S/vXQ58cWfgikwlWSZjw/TVvdB97krn5AcXgtR5RLOLxbFFV1IAOiZxnHtEvWmGQcLZAYwYJEd4EhIP/MSI6wW1a7PJF1oj0j0fW2gNIQ8AM4jGNoYB1uJRsbjbY67yt6/52NIDsha6Lvx1LprXu7PB5oQFtkEuDo50CDRfJ3xo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766572551; c=relaxed/simple; bh=Is7j5nKb15QyJPrlCxsm2xoaJdEOHew8Woh72ToQfms=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UHxGDH/VAKmWdzkTvFPL+HuetdjL0KHeIEEiiWrEL2Y7m00CXStP1fyKivhtVEJN0A/q9Ju/XUyuqVE3nUzs9WzIoG7uaZfz1pXPlo2mbHDAo7ms5jLAQ8xT9hGdIEcaHz2OCyv3FFLszkBPvtH+Q4L4YvVn2HQ5xdvx3N+/B6A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PRh76KkE; 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="PRh76KkE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79C9EC116B1; Wed, 24 Dec 2025 10:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766572549; bh=Is7j5nKb15QyJPrlCxsm2xoaJdEOHew8Woh72ToQfms=; h=From:To:Cc:Subject:Date:Reply-To:From; b=PRh76KkEPYZmlWcZA3mGKbMP6GwRyaiyYdlYZZuBcZYypEhxikgGWsU3V6yp/R6bX 8owNztom29oxV/NOUvXVa6i85EECZ/eTr5DGiTYk20KsTByRirQee4C9fNXIzlsgF2 y/ACqdhKD/0+4dEJh/fxPTQROKiyC/gBcYt9r4FI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68346: ALSA: dice: fix buffer overflow in detect_stream_formats() Date: Wed, 24 Dec 2025 11:34:51 +0100 Message-ID: <2025122453-CVE-2025-68346-10ef@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=2581; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=650aFvnjw3L6sJsHpDSB0/qCXuVZiQ2n6O6oapE8oVI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneB88ar5jc77sqJPLCrVOffllee124y8jmR/DPzYf5p Guf+lbu7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJPLJiWLBqQ/mP1odL0jWn BSZMYqmL3GH29RzDPJWK+H/LAjes0kwwep+Q6z/1BmPyBwA= 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: dice: fix buffer overflow in detect_stream_formats() The function detect_stream_formats() reads the stream_count value directly from a FireWire device without validating it. This can lead to out-of-bounds writes when a malicious device provides a stream_count value greater than MAX_STREAMS. Fix by applying the same validation to both TX and RX stream counts in detect_stream_formats(). The Linux kernel CVE team has assigned CVE-2025-68346 to this issue. Affected and fixed versions =========================== Issue introduced in 4.18 with commit 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 and fixed in 6.12.63 with commit c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6 Issue introduced in 4.18 with commit 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 and fixed in 6.17.13 with commit 932aa1e80b022419cf9710e970739b7a8794f27c Issue introduced in 4.18 with commit 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 and fixed in 6.18.2 with commit 1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9 Issue introduced in 4.18 with commit 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 and fixed in 6.19-rc1 with commit 324f3e03e8a85931ce0880654e3c3eb38b0f0bba 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-68346 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/dice/dice-extension.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/c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6 https://git.kernel.org/stable/c/932aa1e80b022419cf9710e970739b7a8794f27c https://git.kernel.org/stable/c/1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9 https://git.kernel.org/stable/c/324f3e03e8a85931ce0880654e3c3eb38b0f0bba