Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-99887

ASoC: qcom: audioreach: fix module cfg blob size handling

Published 30/11/2026 · Updated 30/11/2026 · 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 products and versions

Linux Linuxc7ed4c2debfd192f6071f4ab33c092d419abb941 – < 541de7f62728b146468a2aaf7d5b89a2808e9e31 · c7ed4c2debfd192f6071f4ab33c092d419abb941 – < 1465af8fcc7c8d6efdd29624b6c2cf6f2e3e8be2 · c7ed4c2debfd192f6071f4ab33c092d419abb941 – < e21fb64a8c4aecae31ec63f994423ac944705c3eFixed in: 541de7f62728b146468a2aaf7d5b89a2808e9e31 · 1465af8fcc7c8d6efdd29624b6c2cf6f2e3e8be2 · e21fb64a8c4aecae31ec63f994423ac944705c3e
Linux Linux6.18Fixed in: 6.18.65 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.