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=1792758295; b=4AWjwoB1Gvti5lUm9EWtzM0OmkdGScaqmh7pTQWiVYBejT8+OSs8xCCafUsFx07P/3B2 wV11rSvElRgI1ulEnM0JDKdzMsq4DryCPerIuvbQp9XcjRM+lJyKLR6kn5/WVI78m4b0r t1iF6WPlnv8brqTe1FWhTzJFSiKXbgdyJHi8K9F6FvUfs0MwEttZwkWOwmSg5HpVK1PfX qsV7y7e3mE2xiMJXRScqh+Q0/DsfVLufO7D9YFSDjaWgo3DgUmgR0x/l60ZG8M3gWEb8w rX7XPQ9hSSrUFfQgtDyKw6xHYTtLT4HhJdcf96Xis1tKwA/Xf3yp8WpX/nYKQ8s3MGQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758295; 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=ZpSOGi1IylrlctCg870sj1/wTj4eB6IY8qodKWnOyR4=; b=DNVp+aMDi1eCu1fTL78BQWFE0J9qwe7ilZVPOgr2LU9tGS19qI/Hgq5rlRo2tDLJMJeW eP35TI3O3iiT1NGYT/5YyDJ+KFeGlkHtxKUxZVZ6rDiEmJmOjIu/oOfFusXCYWDsmiLT1 9AR3N4Gi/nYWbrrPkZmX0/2csAlf/koCQeAVj3M5Qz0HdmOvWpdWJwk/fxOdB1tHfgevA /M9AKFo9ylJmUA6hb3xFQymjEiDklKqUT4eypd3JUqoB5UT5qf8Q1aigmk82/Bvce5FF1 gGY56WirCU2R1tNzUk/nGc2xy7X1mqOXG1sts5GGGVJKBvdumcDDTruIb5KO14G1Lsg== 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=g5QNuVel; 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 2F594606A31E for ; Fri, 23 Oct 2026 12:24:55 +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=g5QNuVel Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E44B1F01825; Fri, 23 Oct 2026 12:24:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758295; bh=ZpSOGi1IylrlctCg870sj1/wTj4eB6IY8qodKWnOyR4=; h=From:To:Cc:Subject:Date:Reply-To; b=g5QNuVelBEOD+Gx/TmNCEZkGZd1v37Leiii+x+BDwHr+MHP4JCoyozktcZPo3ykz8 WUJXqTj+uj8ubJmHsRWJSspKmJjr8AbvwBuliJl1pm2p3OJnLlFSIJaC3IAauWTiPi NxMGVFRa8vJDC/gkbsIM7FwlirPgrRX3SdobIpQk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98940: ASoC: qcom: lpass-cpu: use DAI table index for playback constraints Date: Fri, 23 Oct 2026 14:11:47 +0200 Message-ID: <2026102339-CVE-2026-98940-063a@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=3342; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wqYDOl/9gnQYCC0PpsKG0D59sPJ14DxPyyrDsse7znM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3/X77NxnOubPHrKHpybHmPOGomw7bP9QWrthddtlCZ Unu09L3HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARXS2G+TndPyQ+Zb53mJmf wd2W9/HLpX2S0gyzWWV9MhqOmPa93fSJzXXGi8+MVusMAQ== 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: qcom: lpass-cpu: use DAI table index for playback constraints The DAI ID is a hardware port ID and is not necessarily the index of the corresponding entry in variant->dai_driver. When configuring a DAI with LPAIF_I2SCTL_MODE_QUAD01, the probe code currently uses dai_id to index variant->dai_driver. This is incorrect for platforms where DAI IDs are sparse. For example, the IPQ806x MI2S DAI has ID 4 while it is the only entry in the DAI driver table. If that DAI is configured for QUAD01 and probe reaches this branch, the code writes beyond that single entry via dai_driver[4] instead of updating the DAI being processed. Use the loop index i when updating the current DAI's playback channel constraints, while retaining dai_id for indexing the hardware-port specific playback SD-line mode array. This fixes the incorrect DAI table access for platforms where the DAI ID does not match its position in the driver table. The Linux kernel CVE team has assigned CVE-2026-98940 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit c223f41c1a52bfe10f1d3311679b1d1f9813e500 and fixed in 6.6.160 with commit 775df6a27e8433e2414124472938009b958f9a77 Issue introduced in 5.14 with commit c223f41c1a52bfe10f1d3311679b1d1f9813e500 and fixed in 6.12.113 with commit 6833f1893ac2ec40016c348779af63debf3700d2 Issue introduced in 5.14 with commit c223f41c1a52bfe10f1d3311679b1d1f9813e500 and fixed in 6.18.56 with commit 69d2b7a4c115181629eb14d800aecc3e7de3f7fb Issue introduced in 5.14 with commit c223f41c1a52bfe10f1d3311679b1d1f9813e500 and fixed in 7.2.10 with commit f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4 Issue introduced in 5.14 with commit c223f41c1a52bfe10f1d3311679b1d1f9813e500 and fixed in 7.3 with commit ca51771c8efde5df05476ac98dd1b2af4e2b149f 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-98940 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/qcom/lpass-cpu.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/775df6a27e8433e2414124472938009b958f9a77 https://git.kernel.org/stable/c/6833f1893ac2ec40016c348779af63debf3700d2 https://git.kernel.org/stable/c/69d2b7a4c115181629eb14d800aecc3e7de3f7fb https://git.kernel.org/stable/c/f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4 https://git.kernel.org/stable/c/ca51771c8efde5df05476ac98dd1b2af4e2b149f