Array Overflow in MSM V4L2 Video Driver Allows Kernel Memory Corruption (CVE-2016-2061)

Release Date: 
June 6, 2016
Advisory ID: 

In function msm_isp_axi_create_stream, the upper bound of stream source is compared against VFE_AXI_SRC_MAX, however the operation is signed, so an invalid value between -1 to INT_MIN can still pass the check, and results in the invalid value used as an index.

Access Vector: Local
Security Risk: High
Vulnerability: CWE-129 Improper Validation of Array Index

Affected Versions:
All Android releases from CAF using the Linux kernel.


We advise customers to apply the following patches:

Individual Patches


  • Acknowledgement: 

    This issue has been reported to Google by an external researcher. We thank Google for bringing this issue to our attention.

    Initial revision