# CVE-2026-98940: ASoC: qcom: lpass-cpu: use DAI table index for playback constraints

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-10-23T12:12:08.487Z
- Modified: 2026-10-30T13:21:32.277Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from c223f41c1a52bfe10f1d3311679b1d1f9813e500 before c10823507a74d7474391c01121e3f59901b1789f; from c223f41c1a52bfe10f1d3311679b1d1f9813e500 before 63987bb73df65fb01245b5905b005aa47c1dd27a; from c223f41c1a52bfe10f1d3311679b1d1f9813e500 before 775df6a27e8433e2414124472938009b958f9a77; from c223f41c1a52bfe10f1d3311679b1d1f9813e500 before 6833f1893ac2ec40016c348779af63debf3700d2; from c223f41c1a52bfe10f1d3311679b1d1f9813e500 before 69d2b7a4c115181629eb14d800aecc3e7de3f7fb; from c223f41c1a52bfe10f1d3311679b1d1f9813e500 before f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4; from c223f41c1a52bfe10f1d3311679b1d1f9813e500 before ca51771c8efde5df05476ac98dd1b2af4e2b149f; 5.14 (not affected: before 5.14; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-98940](https://www.cve.org/CVERecord?id=CVE-2026-98940), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98940](https://nvd.nist.gov/vuln/detail/CVE-2026-98940), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98940 · Whole record: https://cve.day/CVE-2026-98940.json · Rebuilt by cve.day 2026-11-25T22:59:46.917Z
