The following security vulnerability has been identified in the implementation of the MDP display driver for Android:
The MDP display driver provides an ioctl system call interface to user space clients for communication. When processing this communication, the mdp_lut_hw_update function uses the user-supplied values start and len from an fb_cmap structure for write operations without any boundary checks. A local application with graphics privileges can access the MDP display device node and use this to, e.g., elevate privileges.
Access Vector: local
Security Risk: high
Vulnerability: CWE-20 (Improper input validation)
All active branches of the MSM kernel for Android on CAF are affected. The driver itself is only used on the following chipsets: 8064/8960/8660/8x30/7x30.
We advise customers to apply the following patches:
Qualcomm Innovation Center, Inc. (QuIC) thanks Gal Beniamini for reporting the related issues and working with QuIC to help improve Android device security.