User controlled arbitrary kernel address write in QCEDev driver (CVE-2016-6738)
Release Date:
November 30, 2016
Affected Projects:
Android for MSMFirefox OS for MSMQRD Android
Advisory ID:
QCIR-2016-00057-1
CVE ID(s):
Summary:
The following security vulnerabilities have been identified: CVE-2016-6738 When processing the ioctl QCEDEV_IOCTL_ENC_REQ the user can write to an arbitrary memory address with a specially crafted creq structure. This specially crafted structure circumvents checks that ensure that data is not written to not permitted kernel memory.
Access Vector: Local
Security Risk: Medium
Access Vector: Local
Affected Versions:
All Android releases from CAF using the Linux kernel.
Patch:
We advise customers to apply the following patches:
Individual Patches
- CVE-2016-6738: https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm-3.18.git;a=commit;h=0a2528569b035a2ca8ebe9a4612dbbaaaffa5b2e
Acknowledgement:
This issue was reported to Google by Gengjia Chen (@chengjia4574) and pjf (weibo.com/jfpan) of IceSword Lab, Qihoo 360. Qualcomm Innovation Center, Inc. (QuIC) thanks Google for bringing this issue to QuIC's attention.
Revisions:
Updated revision. On Dec. 6 updated acknowledgment section.