{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c223f41c1a52bfe10f1d3311679b1d1f9813e500"
            },
            {
              "fixed": "c10823507a74d7474391c01121e3f59901b1789f"
            },
            {
              "fixed": "63987bb73df65fb01245b5905b005aa47c1dd27a"
            },
            {
              "fixed": "775df6a27e8433e2414124472938009b958f9a77"
            },
            {
              "fixed": "6833f1893ac2ec40016c348779af63debf3700d2"
            },
            {
              "fixed": "69d2b7a4c115181629eb14d800aecc3e7de3f7fb"
            },
            {
              "fixed": "f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4"
            },
            {
              "fixed": "ca51771c8efde5df05476ac98dd1b2af4e2b149f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.14.0"
            },
            {
              "fixed": "5.15.224"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.191"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.160"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.113"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.56"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98940.json"
  },
  "details": "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-\u003edai_driver.\n\nWhen configuring a DAI with LPAIF_I2SCTL_MODE_QUAD01, the probe code\ncurrently uses dai_id to index variant-\u003edai_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.",
  "id": "CVE-2026-98940",
  "modified": "2026-11-01T02:30:45.716358659Z",
  "published": "2026-10-23T12:12:08.487Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/63987bb73df65fb01245b5905b005aa47c1dd27a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6833f1893ac2ec40016c348779af63debf3700d2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/69d2b7a4c115181629eb14d800aecc3e7de3f7fb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/775df6a27e8433e2414124472938009b958f9a77"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c10823507a74d7474391c01121e3f59901b1789f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ca51771c8efde5df05476ac98dd1b2af4e2b149f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f11336e6d3cd9e28e5cdf1cb8a6171e7c3eff4e4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98940.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98940"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ASoC: qcom: lpass-cpu: use DAI table index for playback constraints"
}