Kernel stack information leak when processing AUDIO_GET_WMA_CONFIG_V2_32 ioctl (CVE-2016-3907)
Release Date:
November 11, 2016
Affected Projects:
Android for MSMFirefox OS for MSMQRD Android
Advisory ID:
QCIR-2016-00055-1
CVE ID(s):
Summary:
The following security vulnerabilities have been identified: CVE-2016-3907 There is a kernel stack information leak when processing AUDIO_GET_WMA_CONFIG_V2_32 ioctl in the audio WMA driver. In case of AUDIO_GET_WMA_CONFIG_V2_32, wma_config_32 is on the stack. Due to alignment, the size of it is 24 bytes. The last 2 bytes are padding bytes which are not initialized and leaked to userland via “copy_to_user”.
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-3907: https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm-3.18.git;a=commit;h=289ede9d6bfb46178326ae9ca86033bbd452f269
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