{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c7ed4c2debfd192f6071f4ab33c092d419abb941"
            },
            {
              "fixed": "541de7f62728b146468a2aaf7d5b89a2808e9e31"
            },
            {
              "fixed": "1465af8fcc7c8d6efdd29624b6c2cf6f2e3e8be2"
            },
            {
              "fixed": "e21fb64a8c4aecae31ec63f994423ac944705c3e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99887.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: qcom: audioreach: fix module cfg blob size handling\n\naudioreach_get_module_priv_data() passes mod_array-\u003esize, a byte count,\nas the element count of the __le32 data[] flex array. The allocation and\nthe copy are four times too large, and the memcpy() can read past the end\nof the topology firmware buffer. The size is also never checked against\nthe private data it must lie within, and a zero size makes the loop spin\nforever.\n\nConvert the size to a word count, bound the blob by the remaining private\ndata and reject a zero size. Also check the returned pointer before\nstoring it in mod-\u003edata, as an error pointer there is dereferenced when\nthe graph is opened.",
  "id": "CVE-2026-99887",
  "modified": "2026-11-30T14:45:47.149733234Z",
  "published": "2026-11-30T13:17:59.140Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1465af8fcc7c8d6efdd29624b6c2cf6f2e3e8be2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/541de7f62728b146468a2aaf7d5b89a2808e9e31"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e21fb64a8c4aecae31ec63f994423ac944705c3e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99887.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99887"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ASoC: qcom: audioreach: fix module cfg blob size handling"
}