Skip to main content

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:


CVE ID(s):



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.


We advise customers to apply the following patches:
Individual Patches


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.


Initial revision