CVE-2023-21165 is a high severity use after free (CVSS 7.8) in DevmemIntUnmapPMR of devicemem_server.c, part of the Imagination PowerVR GPU driver used on some Android devices. It can lead to local kernel privilege escalation. Devices at the 2024-01-05 security patch level or later address it.
What's affected
- Android devices that ship the Imagination Technologies PowerVR GPU driver. The January 2024 bulletin lists the issue under Imagination Technologies, subcomponent PowerVR-GPU.
- The bulletin says details are available directly from Imagination Technologies, and that the severity assessment is theirs. It marks the issue High.
- The record lists Android generally, with no version, as the platform.
- Fixed at security patch level 2024-01-05 or later, per the bulletin.
- Severity: CVSS 3.1 score 7.8 High, vector AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
How to check if you're exposed
Check the patch level on each device:
adb shell getprop ro.build.version.security_patch
adb shell getprop ro.hardware.egl
The second property reports the graphics driver family on many devices, though not every vendor sets it. If it is empty, look up the SoC and GPU in the vendor spec sheet. Only devices with a PowerVR GPU are in scope. A patch level of 2024-01-05 or later includes the fix.
What to do now
- List devices by SoC and GPU. Mark the ones with PowerVR graphics.
- Read the security patch level of each, and flag anything older than 2024-01-05.
- Install the vendor update that includes the January 2024 patch level or newer.
- If a device is out of support, treat it as exposed to local privilege escalation and limit what runs on it.
- Review the Imagination Technologies notice for your driver version if you build your own firmware.
Why it matters
The weakness is CWE-416 (Use After Free). The code frees a memory object and later uses it again, which can corrupt memory. In a kernel driver this is serious, because the driver runs with full privileges. The description states it could lead to arbitrary code execution in the kernel from a local starting point.
GPU drivers are a common place for local escalation bugs, since apps are allowed to talk to them and they handle complex memory mappings. The record shows no sign of exploitation, and it is not a KEV entry. Patch it on the normal security cycle, a little faster for devices that handle sensitive data.
Quick check
Why is a GPU driver bug rated like a kernel bug?
Because the driver runs in the kernel. A memory safety error there gives an attacker the same powers as the kernel, which is why the description speaks of kernel privilege escalation.
Is every Android phone affected?
No. The bulletin ties it to the PowerVR GPU component from Imagination Technologies. Devices with other GPU vendors are outside this entry.
Sources
Last reviewed: 19 October 2026.