ASoC: qcom: audioreach: fix module cfg blob size handling
Summary
| CVE | CVE-2026-99887 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:20:23 UTC |
| Updated | 2026-11-30 14:20:23 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected c7ed4c2debfd192f6071f4ab33c092d419abb941 541de7f62728b146468a2aaf7d5b89a2808e9e31 git |
Not specified |
| CNA |
Linux |
Linux |
affected c7ed4c2debfd192f6071f4ab33c092d419abb941 1465af8fcc7c8d6efdd29624b6c2cf6f2e3e8be2 git |
Not specified |
| CNA |
Linux |
Linux |
affected c7ed4c2debfd192f6071f4ab33c092d419abb941 e21fb64a8c4aecae31ec63f994423ac944705c3e git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.18 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/e21fb64a8c4aecae31ec63f994423ac944705c3e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1465af8fcc7c8d6efdd29624b6c2cf6f2e3e8be2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/541de7f62728b146468a2aaf7d5b89a2808e9e31 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.