Time-of-Check Time-of-Use Vulnerability in IPA Driver (CVE-2016-3867)
Release Date:
October 3, 2016
Affected Projects:
Android for MSMFirefox OS for MSMQRD Android
Advisory ID:
QCIR-2016-00041-1
CVE ID(s):
Summary:
When a user-space module calls ioctl to kernel, IPA driver performs a copy of arguments twice without data validation of the test counter. If the test counter changes during the second copy instance, a race condition vulnerability occurs resulting in a memory stack overflow.
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-3867: https://source.codeaurora.org/quic/la/kernel/msm-3.18/commit/?id=b1b1ab29ea6cba135b46f35e1742d7985fc01ece
Acknowledgement:
Qualcomm Innovation Center, Inc. (QuIC) thanks Google for bringing this issue to our attention. This issue was reported to Google through the Android Security Rewards program.
Revisions:
Initial