Buffer overread in sme_ChangeCountryCode invoked by iw_set_privresp (CVE-2016-6680)

Release Date:

November 11, 2016

Affected Projects:

Android for MSMFirefox OS for MSMQRD Android

Advisory ID:

QCIR-2016-00052-1

CVE ID(s):

CVE-2016-6680

Summary:

CVE-2016-6680 When processing iw_set_priv(), user data is copied from wrqu->data.pointer to cmd. If wrqu->data.pointer points to "COUNTRY" and wrqu->data.length is 7, uninitialized kernel heap data can be leaked since the memory allocated for cmd is 7 bytes, but country_code=cmd+8 points to unallocated kernel heap memory. country_code is copied to pMsg (3 bytes) that can leak uninitialized data.

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

Acknowledgement:

This issue was reported to Google by an external security researcher. Qualcomm Innovation Center, Inc. (QuIC) thanks Google for bringing this issue to QuIC's attention.

Revisions:

Initial revision

Contact:

security-advisory@quicinc.com