The soundtrigger driver in P9 Plus smart phones with software versions earlier than VIE-AL10BC00B353 has a memory double free vulnerability. An attacker tricks a user into installing a malicious application, and the application can start multiple threads and try to free specific memory, which could triggers double free and causes a system crash or arbitrary code execution.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-17102
http://www.huawei.com/en/psirt/security-advisories/huawei-sa-20170605-01-smartphone-en