{"id":"CVE-2026-98940","state":"PUBLISHED","title":"ASoC: qcom: lpass-cpu: use DAI table index for playback constraints","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: qcom: lpass-cpu: use DAI table index for playback constraints\n\nThe DAI ID is a hardware port ID and is not necessarily the index of\nthe corresponding entry in variant->dai_driver.\n\nWhen configuring a DAI with LPAIF_I2SCTL_MODE_QUAD01, the probe code\ncurrently uses dai_id to index variant->dai_driver. This is incorrect\nfor platforms where DAI IDs are sparse. For example, the IPQ806x MI2S\nDAI has ID 4 while it is the only entry in the DAI driver table. If\nthat DAI is configured for QUAD01 and probe reaches this branch, the\ncode writes beyond that single entry via dai_driver[4] instead of\nupdating the DAI being processed.\n\nUse the loop index i when updating the current DAI's playback channel\nconstraints, while retaining dai_id for indexing the hardware-port\nspecific playback SD-line mode array.\n\nThis fixes the incorrect DAI table access for platforms where the DAI\nID does not match its position in the driver table.","publishedAt":"2026-10-23T12:12:08.487Z","updatedAt":"2026-10-30T12:40:27.052Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"c10823507a74d7474391c01121e3f59901b1789f","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"63987bb73df65fb01245b5905b005aa47c1dd27a","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"775df6a27e8433e2414124472938009b958f9a77","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"6833f1893ac2ec40016c348779af63debf3700d2","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"69d2b7a4c115181629eb14d800aecc3e7de3f7fb","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"ca51771c8efde5df05476ac98dd1b2af4e2b149f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/qcom/lpass-cpu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/qcom/lpass-cpu.c"]}],"references":["https://git.kernel.org/stable/c/c10823507a74d7474391c01121e3f59901b1789f","https://git.kernel.org/stable/c/63987bb73df65fb01245b5905b005aa47c1dd27a","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"],"weaknesses":[],"ingestedAt":"2026-10-30T13:00:06.648Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98940.json","commit":"cb14bf1b43b0c9f05f7f40eae2246263fd430780","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98940","state":"PUBLISHED","datePublished":"2026-10-23T12:12:08.487Z","dateUpdated":"2026-10-30T12:40:27.052Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.381Z"},"containers":{"cna":{"title":"ASoC: qcom: lpass-cpu: use DAI table index for playback constraints","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: qcom: lpass-cpu: use DAI table index for playback constraints\n\nThe DAI ID is a hardware port ID and is not necessarily the index of\nthe corresponding entry in variant->dai_driver.\n\nWhen configuring a DAI with LPAIF_I2SCTL_MODE_QUAD01, the probe code\ncurrently uses dai_id to index variant->dai_driver. This is incorrect\nfor platforms where DAI IDs are sparse. For example, the IPQ806x MI2S\nDAI has ID 4 while it is the only entry in the DAI driver table. If\nthat DAI is configured for QUAD01 and probe reaches this branch, the\ncode writes beyond that single entry via dai_driver[4] instead of\nupdating the DAI being processed.\n\nUse the loop index i when updating the current DAI's playback channel\nconstraints, while retaining dai_id for indexing the hardware-port\nspecific playback SD-line mode array.\n\nThis fixes the incorrect DAI table access for platforms where the DAI\nID does not match its position in the driver table."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"c10823507a74d7474391c01121e3f59901b1789f","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"63987bb73df65fb01245b5905b005aa47c1dd27a","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"775df6a27e8433e2414124472938009b958f9a77","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"6833f1893ac2ec40016c348779af63debf3700d2","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"69d2b7a4c115181629eb14d800aecc3e7de3f7fb","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4","versionType":"git"},{"version":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","status":"affected","lessThan":"ca51771c8efde5df05476ac98dd1b2af4e2b149f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/qcom/lpass-cpu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.14","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.113","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.56","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.10","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/qcom/lpass-cpu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c10823507a74d7474391c01121e3f59901b1789f"},{"url":"https://git.kernel.org/stable/c/63987bb73df65fb01245b5905b005aa47c1dd27a"},{"url":"https://git.kernel.org/stable/c/775df6a27e8433e2414124472938009b958f9a77"},{"url":"https://git.kernel.org/stable/c/6833f1893ac2ec40016c348779af63debf3700d2"},{"url":"https://git.kernel.org/stable/c/69d2b7a4c115181629eb14d800aecc3e7de3f7fb"},{"url":"https://git.kernel.org/stable/c/f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4"},{"url":"https://git.kernel.org/stable/c/ca51771c8efde5df05476ac98dd1b2af4e2b149f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:40:27.052Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.12.113"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"6.18.56"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.2.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.14","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}