{"id":"CVE-2026-98940","aliases":["CVE-2026-98940"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: qcom: lpass-cpu: use DAI table index for playback constraints","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-23T12:12:08.487Z","modified":"2026-10-30T13:21:32.277Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","fixed":"c10823507a74d7474391c01121e3f59901b1789f","status":"affected"},{"type":"git","introduced":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","fixed":"63987bb73df65fb01245b5905b005aa47c1dd27a","status":"affected"},{"type":"git","introduced":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","fixed":"775df6a27e8433e2414124472938009b958f9a77","status":"affected"},{"type":"git","introduced":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","fixed":"6833f1893ac2ec40016c348779af63debf3700d2","status":"affected"},{"type":"git","introduced":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","fixed":"69d2b7a4c115181629eb14d800aecc3e7de3f7fb","status":"affected"},{"type":"git","introduced":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","fixed":"f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4","status":"affected"},{"type":"git","introduced":"c223f41c1a52bfe10f1d3311679b1d1f9813e500","fixed":"ca51771c8efde5df05476ac98dd1b2af4e2b149f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c10823507a74d7474391c01121e3f59901b1789f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/63987bb73df65fb01245b5905b005aa47c1dd27a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/775df6a27e8433e2414124472938009b958f9a77","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6833f1893ac2ec40016c348779af63debf3700d2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69d2b7a4c115181629eb14d800aecc3e7de3f7fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca51771c8efde5df05476ac98dd1b2af4e2b149f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98940","url":"https://www.cve.org/CVERecord?id=CVE-2026-98940","licence":"CVE Terms of Use","modified":"2026-10-30T12:40:27.052Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98940","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98940","licence":"Public domain","modified":"2026-10-30T13:21:32.277Z"}],"updatedAt":"2026-11-25T22:59:46.917Z","epss":{"score":0.00206,"percentile":0.11247,"date":"2026-12-01T12:00:22.000Z"}}