Heap Overflow in MediaServer (omx_vdec::use_output_buffer) (CVE-2016-6760)

Release Date:

December 6, 2016

Affected Projects:

Android for MSMFirefox OS for MSMQRD Android

Advisory ID:

QCIR-2016-00065-1

CVE ID(s):

CVE-2016-6760

Summary:

The following security vulnerabilities have been identified: CVE-2016-6760 In libOmxVdec.so, omx_vdec::allocate_output_headers() allocates buffers using the count "drv_ctx.op_buf.actualcount" which can be modified by a malformed binder request after the buffer is allocated. However, omx_vdec::use_output_buffer() still uses the modified "drv_ctx.op_buf.actualcount" to access the original buffer, leading to a heap overflow.

Access Vector: Local
Security Risk: High
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-6760:

https://www.codeaurora.org/gitweb/quic/la/?p=platform/hardware/qcom/media.git;a=commit;h=59bc6bbfaea6fa8c6200b5c338fdb8c48f2288c9

 

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

Contact:

security-advisory@quicinc.com