Description (CNA)
In the function wma_unified_power_debug_stats_event_handler() in Android for MSM, Firefox OS for MSM, and QRD Android before 2017-10-18, if the value param_buf->num_debug_register received from the FW command buffer is close to max of uint32, then the computation performed using this variable to calculate stats_registers_len may overflow to a smaller value leading to less than required memory allocated for power_stats_results and potentially a buffer overflow while copying the FW buffer to local buffer.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Qualcomm, Inc. / Android for MSM, Firefox OS for MSM, QRD Android | affected All Android releases from CAF using the Linux kernel |
CWE
No CWE identifiers supplied.
References
- https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/wlan/qcacld-3.0/commit/?id=3de34af4e2ca91e1a2260deb380b81620a631c85
- https://source.android.com/security/bulletin/pixel/2018-02-01
ADP enrichment
No English description supplied.