Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793187644; b=xRhyB9PpgMgks1sicfTBffDnavmQJXO2J24yua5mF+b6pfoEv11le16NDORoIdW1FMk0 F1/PxMhUZsiCBLq7X3RLdIoVYE4OdsYyYW4ZZWwn8ULard4iL8gGIPnwtiFdv4qWBtugh TbaBq8TiMrr0+9d5Rwk/h4qDxoudwyxtY6BgvB3dCqWRMK8TtQiA5aNMTJj2bpDgBNbEC UuI1ZeqZMYQbcuB+uAblQMsd+WkJO36VoFf2tWjnBta808jg5KX0VCBIks4Gr+2m6cElN 6PmRsPmD9x9SPFMhogBYPCGU2u13Zn8Xrbv13Ozu2tkzL23z0TaTg4VR2alWeMunDFQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187644; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=E1bXybQqPxroyKcp9oQxODUfKfKgFGIAdL6jn6Y/MdU=; b=f0NwdqfKs1IhZGiusn1yQ4EHHvt6PXVd0WOFX6FtotCHm9sXpGwRigSQlN5eQSCqr1bP crUI0f3D+DKe6M3uYKsy55MRU1paO49UlHx0cpyplt74uuUH7TUPNi80bIlFKG9lODfYS h3T5ZZoGhxD0FFxjcJigCx5bdyAiWSBpjE/Cnoju0sFQoXCJs6wR+XXTHD71hRcY7RFR+ yWdrwSbF81X39MvHJX3Tg4G/cUBrXKOHInxi+kenbO1kOnFN6vFu1EXMM18TX7r2iNBGR /O5gx9dGNXgTK1i9kP5lbxXFRMlhwi1Yjti9DT4vTzf6eTnXw9Funfrm/6DrwDzgCsg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=I+KIYnYj; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A27FB606A31A for ; Wed, 28 Oct 2026 11:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=I+KIYnYj Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6D7C1F01825; Wed, 28 Oct 2026 11:40:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187644; bh=E1bXybQqPxroyKcp9oQxODUfKfKgFGIAdL6jn6Y/MdU=; h=From:To:Cc:Subject:Date:Reply-To; b=I+KIYnYjOAoLZlK6iiMQKdd34sARhNXLuZ9z8WjKiSrYxF543kxWz9jCy81x42Rr2 XW3VbZJkY7RO+iOIlbdheLuHHwCKM2OeNcHbeO1kZ8AwZUcxb7QJ1NB8pbS/BZsAjs EiuKemQ5tJ9M6nxnZlSAhjeTRROncuiq/N3KFlFM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99182: ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture Date: Wed, 28 Oct 2026 11:36:09 +0100 Message-ID: <2026102810-CVE-2026-99182-0eb4@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2767; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SkOcRfLow5jizqtaoPbM5E5eW1Uoie6gytrodpsjkZk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz99L3OjhuHs3Q+zPzTeZq5esuW35+tvxh9UKJ3osN u3XTEiu7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ7FFkmF94hG3uqm3it1Rd DOZ8rIp8I5p3L4BhwYQj7qsnLTHmX5HtrZzcuy3xx7pYcwA= 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: ASoC: SOF: ipc4-topology: Fix shift-out-of-bounds for aggregated ALH capture When ch_count is smaller than blob->alh_cfg.device_count (e.g. a mono capture stream, such as a SmartMic, aggregated across multiple SDW links), step = ch_count / blob->alh_cfg.device_count truncates to 0. The subsequent GENMASK(step - 1, 0) then underflows step - 1 (u32) to UINT_MAX, causing GENMASK()'s internal shift to use an out-of-bounds exponent: UBSAN: shift-out-of-bounds in sound/soc/sof/ipc4-topology.c:2363:13 shift exponent 18446744069414584384 is too large for 64-bit type 'long unsigned int' Treat ch_count < device_count the same way as the existing "channels equal to output reference channels" case: apply the same ch_mask to every aggregated device instead of trying to split channels that can't be evenly divided. The Linux kernel CVE team has assigned CVE-2026-99182 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 0390a102cc18cb7456d6c1f15ac51f1af90fcf9c and fixed in 6.18.59 with commit cad63a7798d6a6cac1fc68732595f0a3278ff6f0 Issue introduced in 6.3 with commit 0390a102cc18cb7456d6c1f15ac51f1af90fcf9c and fixed in 7.2.13 with commit 5e1322787c5e424a570e87c8c2c25e37552cbe3b Issue introduced in 6.3 with commit 0390a102cc18cb7456d6c1f15ac51f1af90fcf9c and fixed in 7.3 with commit 746de48c3a250f0c264105dcbfcdf0c5001e970b 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-2026-99182 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/soc/sof/ipc4-topology.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/cad63a7798d6a6cac1fc68732595f0a3278ff6f0 https://git.kernel.org/stable/c/5e1322787c5e424a570e87c8c2c25e37552cbe3b https://git.kernel.org/stable/c/746de48c3a250f0c264105dcbfcdf0c5001e970b