MediaTek Inc. is the world’s fourth largest fab semiconductor company and a market leader in mobile devices, smart home applications, wireless connectivity technologies and IoT products, with approximately 1.5 billion devices with MediaTek chips available worldwide each year. Several MediaTek chips have elevation of privilege vulnerabilities, which stem from the lack of boundary checks in cpu dvfs leading to out-of-bounds writes, which can be exploited by attackers for local elevation of privilege.