ZeroHour

CVE-2021-28663

KEV PoC mass

Use-After-Free Privilege Escalation in Arm Mali GPU Kernel Driver

CISA: Arm Mali Graphics Processing Unit (GPU) Use-After-Free Vulnerability

CVSS 3.1
8.8 high
EPSS
12%p96
Published
()
KEV added
AI analysis

CVE-2021-28663 is a use-after-free flaw in the Arm Mali GPU kernel driver, caused by mishandled GPU memory operations in the Midgard, Bifrost, and Valhall driver families. An attacker who can run code with limited privileges on a device can trigger the flaw through GPU memory operations, gaining local privilege escalation or disclosure of sensitive information (CISA's CVSS scoring uses a network attack vector). The bug is present in Midgard drivers r4p0 through r30p0, Bifrost r0p0 through r28p0 (before r29p0), and Valhall r19p0 through r28p0 (before r29p0), which ship on Android devices using Mali GPUs. It was added to CISA's Known Exploited Vulnerabilities catalog on 2021-11-03 and was patched as part of Android security updates after Google reported it being actively exploited in targeted attacks; a public proof of concept is available on GitHub.

What to do: Apply Android security updates (November 2021 patch level or later) and OEM/Arm driver updates per vendor instructions, upgrading the Bifrost and Valhall GPU kernel drivers to r29p0 or later; for Midgard, move beyond the affected r4p0-r30p0 range to the latest available driver release. Organizations managing Android fleets should check device patch levels and Mali driver versions via device management tooling and prioritize this because it is on the CISA KEV list with exploitation observed in targeted attacks. Where patching is delayed, limit exposure for low-privileged users on affected devices, as exploitation requires the ability to run code on the device.

Affected
Arm Bifrost GPU kernel driverr0p0 through r28p0 (versions before r29p0)
Arm Valhall GPU kernel driverr19p0 through r28p0 (versions before r29p0)
Arm Midgard GPU kernel driverr4p0 through r30p0
Estimated exposure
masshundreds of millions of Android devices with Mali GPUs (Midgard/Bifrost/Valhall), plus any other systems running affected Mali driver versions — Arm Mali is one of the most widely deployed mobile GPU families, integrated in Android SoCs from vendors such as MediaTek, HiSilicon, and others, so affected driver versions plausibly ship on an order of hundreds of millions of devices.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

The Arm Mali GPU kernel driver allows privilege escalation or information disclosure because GPU memory operations are mishandled, leading to a use-after-free. This affects Bifrost r0p0 through r28p0 before r29p0, Valhall r19p0 through r28p0 before r29p0, and Midgard r4p0 through r30p0.

CISA Known Exploited Vulnerability
Affected
Arm Mali Graphics Processing Unit (GPU)
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
arm
Products
bifrost gpu kernel driver, midgard gpu kernel driver, valhall gpu kernel driver
Weakness
CWE-416
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the news