MediaTek Frame Buffer Debugging Interface Memory Overwrite
Description
MediaTek is a company that provides system-on-chip solutions for wireless communications, HDTV, DVD and Blu-ray. A number of MediaTek clients including Huawei, and Neffos were found to be affected by a vulnerability in the MediaTek Frame Buffer Debugging Interface code.
The '/d/mtkfb' file provides a framebuffer debugging interface which allows the root user to query and configure various frame buffer options. It was found that the 'regw' command can be abused for overwriting arbitrary kernel memory.
Impact
Local attackers who gain root access can exploit this issue to gain additional capabilities and disable security mechanisms such as SELinux.
Cause
This vulnerability is due to insufficient input validation of user supplied data.
Solution
MediaTek clients can receive the security fix directly from the vendor.
Technical details
Please refer to the attached advisory.