User controlled arbitrary kernel address write in QCEDev driver (CVE-2016-6738)

Release Date: 
November 30, 2016
Advisory ID: 
QCIR-2016-00057-1
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
Vulnerability: CWE-20 Improper Input Validation

Affected versions

All Android releases from CAF using the Linux kernel.

Patch: 

We advise customers to apply the following patches:

Individual Patches

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.

Contact: 
security-advisory@quicinc.com