20 August, 2024 - WIRED
Demand for graphics processing units (GPUs) has surged in recent years due to the expansion of video rendering and artificial intelligence systems. While much of the attention has been on high-end PC and server chips, mobile GPUs are equally critical as they are used in everyday smartphones. Vulnerabilities in these chips or their implementation can have significant real-world consequences.
At the Defcon security conference in Las Vegas, three Google researchers presented over nine vulnerabilities they discovered in Qualcomm's Adreno GPU software. This suite of software is crucial for coordinating between GPUs and operating systems like Android on Qualcomm-powered phones.
The identified vulnerabilities, now patched, were found in the GPU drivers. These drivers have deep privileges in the kernel of an operating system, coordinating between hardware peripherals and software. Attackers could exploit these flaws to gain full control of a device.
Historically, engineers and attackers have focused on potential vulnerabilities in a computer's central processing unit (CPU). However, as GPUs become more central to device operations, hackers are increasingly targeting GPU infrastructure. GPU drivers are particularly attractive because untrusted apps can access them without additional permissions, making them a bridge between the controlled parts of the operating system and the system kernel.
To exploit these vulnerabilities, attackers would need to first gain access to a target device, possibly by tricking victims into side-loading malicious apps. Once inside, they could leverage the powerful functions of GPU drivers to map memory and take control of the device.
The vulnerabilities stem from the intricate and complex interconnections that GPU drivers must navigate to coordinate everything. This complexity makes them susceptible to security flaws.
The discovery of these vulnerabilities underscores the need for ongoing vigilance and security in mobile GPU software. While Qualcomm has patched the flaws, the incident highlights the importance of regularly updating and securing all components of mobile devices to protect against potential attacks.