In all android releases (Android for MSM, Firefox OS for MSM, QRD Android) from CAF using the linux kernel, ‘voice_svc_dev’ is allocated as a device-managed resource. If error ‘cdev_alloc_err’ occurs, ‘device_destroy’ will free all associated resources, including ‘voice_svc_dev’ leading to a double free.
source.android.com/security/bulletin/pixel/2018-09-01#qualcomm-components
source.codeaurora.org/quic/la/kernel/msm-3.18/commit/?id=789d4d21c3f1818dcbf74da4a051598e8f53676c
source.codeaurora.org/quic/la/kernel/msm-4.9/commit/?id=f34f6271362484c1f87f4176e72a3bfb80ee7711
www.codeaurora.org/security-bulletin/2018/09/04/september-2018-code-aurora-security-bulletin