ASoC: qcom: audioreach: fix module cfg blob size handling
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | c7ed4c2debfd192f6071f4ab33c092d419abb941 to before 541de7f62728b146468a2aaf7d5b89a2808e9e31 Affectedc7ed4c2debfd192f6071f4ab33c092d419abb941 to before 1465af8fcc7c8d6efdd29624b6c2cf6f2e3e8be2 Affectedc7ed4c2debfd192f6071f4ab33c092d419abb941 to before e21fb64a8c4aecae31ec63f994423ac944705c3e Affected |
| Linux Linux | 6.18 Affectedbefore 6.18 Not Affected6.18.65 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.