CVE-2026-99887
Not scored
ASoC: qcom: audioreach: fix module cfg blob size handling
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: audioreach: fix module cfg blob size handling audioreach_get_module_priv_data() passes mod_array->size, a byte count, as the element count of the __le32 data[] flex array. The allocation and the copy are four times too large, and the memcpy() can read past the end of the topology firmware buffer. The size is also never checked against the private data it must lie within, and a zero size makes the loop spin forever. Convert the size to a word count, bound the blob by the remaining private data and reject a zero size. Also check the returned pointer before storing it in mod->data, as an error pointer there is dereferenced when the graph is opened.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c7ed4c2debfd192f6071f4ab33c092d419abb941 before 541de7f62728b146468a2aaf7d5b89a2808e9e31, from c7ed4c2debfd192f6071f4ab33c092d419abb941 before 1465af8fcc7c8d6efdd29624b6c2cf6f2e3e8be2, from c7ed4c2debfd192f6071f4ab33c092d419abb941 before e21fb64a8c4aecae31ec63f994423ac944705c3e, 6.18 Not affected: before 6.18, from 6.18.65 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99887 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-99887 changed 2026-11-30 | Public domain |