Android PowerVR GPU Privilege Escalation Vulnerability via Use-After-Free in DevmemIntMapPages

Vulnerability

A use-after-free vulnerability has been identified in the PowerVR GPU device driver within the Android operating system. This issue arises from improper management of reference counts in the 'DevmemIntMapPages' function, allowing a malicious user to read and write to arbitrary freed physical memory pages. Exploitation of this vulnerability could lead to local privilege escalation in the kernel, with no additional execution privileges required.

Impact

Exploitation of this vulnerability allows for local privilege escalation, granting universal root access on the device.

Reproduction

The vulnerability can be reproduced by creating a PMR object and using the 'PVRSRVBridgeDevmemIntMapPages' function to map GPU virtual pages to physical pages. The 'DevmemIntMapPages' function fails to properly manage reference counts, allowing the physical pages to be freed while still mapped to GPU virtual pages. This mismanagement can be exploited by accessing the freed physical pages through OpenCL kernel functions.

Remediation

Google has informed Imagination Technologies of this vulnerability, and it has been assigned CVE-2023-35685.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
6.0
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
0.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.