{"id":"CVE-2026-98940","revision":"e6ff5a51eed24663aa5b012a1293f7dd","records":[{"revision":"e6ff5a51eed24663aa5b012a1293f7dd","observedAt":"2026-10-23T16:01:20.601+00:00","statement":{"source":"cve-program","id":"CVE-2026-98940","aliases":[],"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.","state":0,"publishedAt":"2026-10-23T12:12:08.487+00:00","modifiedAt":"2026-10-23T12:12:08.487+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/qcom/lpass-cpu.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"c223f41c1a52bfe10f1d3311679b1d1f9813e500\",\n                            \"lessThan\": \"775df6a27e8433e2414124472938009b958f9a77\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"c223f41c1a52bfe10f1d3311679b1d1f9813e500\",\n                            \"lessThan\": \"6833f1893ac2ec40016c348779af63debf3700d2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"c223f41c1a52bfe10f1d3311679b1d1f9813e500\",\n                            \"lessThan\": \"69d2b7a4c115181629eb14d800aecc3e7de3f7fb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"c223f41c1a52bfe10f1d3311679b1d1f9813e500\",\n                            \"lessThan\": \"f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"c223f41c1a52bfe10f1d3311679b1d1f9813e500\",\n                            \"lessThan\": \"ca51771c8efde5df05476ac98dd1b2af4e2b149f\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"sound/soc/qcom/lpass-cpu.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.14\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.14\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.160\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.113\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.56\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.10\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98940","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98940","identifiers":["CVE-2026-98940"]},"retained":false,"historicalAffected":[]}],"coverage":[]}