How to Fix CVE-2021-28664: Privilege Escalation in Mali Graphics Processing Unit (GPU)
| Severity | CVSS 8.8 (High) |
|---|---|
| Actively exploited? | Yes. Listed in CISA KEV (added 2021-11-03). |
| Affected | Mali Graphics Processing Unit (GPU) |
| Fixed in | See the vendor advisory linked in References for the exact patched version |
| Type (CWE) | Not verified, see official advisory |
⚠️ CISA KEV listing: active exploitation. Added to the Known Exploited Vulnerabilities catalog on 2021-11-03; remediation due date for federal civilian agencies: 2021-11-17.
What is CVE-2021-28664?
The Arm Mali GPU kernel driver allows privilege escalation or a denial of service (memory corruption) because an unprivileged user can achieve read/write access to read-only pages. This affects Bifrost r0p0 through r29p0 before r30p0, Valhall r19p0 through r29p0 before r30p0, and Midgard r8p0 through r30p0 before r31p0.
The immediate impact is that a low-privileged user (local account, sandboxed process, or web-shell foothold) can promote to root or administrator. Once promoted, every credential, key, and persistence mechanism on the host is reachable.
CISA has confirmed in-the-wild exploitation. The KEV catalog listing is the strongest possible signal that this is not a theoretical bug. Patch on the published timeline.
Am I affected?
You are affected if you run Mali Graphics Processing Unit (GPU).
If the build is older than the patched release listed under Fixed in, this CVE applies and you should follow the remediation steps below.
How to fix CVE-2021-28664
The vendor fix is to upgrade to a patched build. The verified patched version per the official advisory is See the vendor advisory linked in References for the exact patched version.
- Read the official advisory for the exact patched build that applies to your deployment model (see https://developer.arm.com/support/arm-security-updates).
- Plan the upgrade window. Mali Graphics Processing Unit (GPU) updates are not always hot-pluggable; check the vendor's release notes for required restarts, database migrations, or licensing steps before scheduling production downtime.
- Take a verified backup of configuration and data before upgrading. Roll-back is faster than rebuilding.
- Apply the patch or upgrade using your normal package or vendor installer flow. Use the vendor's documented procedure, not a third-party guide.
- Restart services as the advisory directs. Some fixes only become active after a service restart, others after a full reboot.
Patch via your OS package manager
# The exact package name and patched version are listed in the vendor advisory:
# https://developer.arm.com/support/arm-security-updates
# Debian / Ubuntu
sudo apt update
sudo apt install --only-upgrade linux-image-generic
# RHEL / Rocky / AlmaLinux / Fedora
sudo dnf upgrade linux-image-generic
# openSUSE
sudo zypper update linux-image-generic
# Verify the running version matches the fixed version
dpkg -s linux-image-generic 2>/dev/null | grep -i version || rpm -q linux-image-generic 2>/dev/null
# Windows: pull the cumulative update that ships this fix.
Install-Module PSWindowsUpdate -Force -SkipPublisherCheck
Get-WindowsUpdate -AcceptAll -Install -AutoReboot
Verify the fix landed
# 1. Confirm the running version matches the fixed-in version from the advisory:
# https://developer.arm.com/support/arm-security-updates
# Use the platform-specific version probe above.
# 2. Re-scan with your vulnerability scanner (Nessus, Qualys, Tenable, OpenVAS).
# The scanner should no longer flag CVE-2021-28664 on the patched target.
# 3. Inspect recent service / kernel logs for crash loops or rollback events.
journalctl -u <service> --since "10 minutes ago"
dmesg --since "10 minutes ago"
If you can't patch immediately
Apply only mitigations documented by the vendor. If no official workaround is published, the patched build is the only supported remediation. While you plan the upgrade window:
- Restrict network reach. Put Mali Graphics Processing Unit (GPU) behind a VPN, an allow-listed reverse proxy, or a firewall rule limiting source IPs to the addresses that legitimately need access. This shrinks the attack surface without changing the application.
- Increase logging and alerting on the affected service. Even if the workaround does not block the exploit, fast detection of an attempt is a meaningful control.
Given that this CVE is in CISA KEV, the time-to-patch window for federal civilian agencies has been set, and most enterprises track those due dates as the practical floor, not a federal-only target.
How to verify the fix worked
- Confirm the running version of Mali Graphics Processing Unit (GPU) matches or exceeds the patched build the vendor specifies. The CVE record under References lists the fixed version explicitly.
- Check service logs for restart messages and verify the service came up clean after the upgrade. A failed restart that silently rolls back to the unpatched binary is a common operational mistake.
- Review the audit log for any suspicious access during the period the system was unpatched. Pre-patch exploitation leaves traces; failed login bursts, unexpected file uploads, and new admin accounts are common indicators. If the host was reachable from the internet during the exposure window, assume the IoC hunt is mandatory rather than optional.
- Re-run a vulnerability scanner (Nessus, Qualys, Tenable, OpenVAS) against the host after patching. The scanner should no longer flag this CVE on the same target. If it still does, double-check that you upgraded the right component, since many products bundle several services and only one of them may carry the fix.
- Document the patch evidence for KEV reporting. Vulnerabilities in CISA KEV are tracked by FCEB agencies under BOD 22-01. Even outside the federal sector, the same evidence (build number, patch date, scanner clean report) is what auditors typically ask for.
Frequently asked questions
Related fixes
Other vulnerabilities in the same area that are worth patching alongside this one:
- How to Fix CVE-2021-33044: Authentication Bypass in Some Dahua IP Camera, Video Intercom, PTZ Dome Camera, Thermal Camera devices — Authentication Bypass in Some Dahua IP Camera, Video Intercom, PTZ Dome Camera, Thermal Camera devices
- How to Fix CVE-2021-20035: OS Command Injection in Sonicwall SMA100 — OS Command Injection in Sonicwall SMA100
- How to Fix CVE-2021-37415: Authentication Bypass in ManageEngine ServiceDesk Plus (SDP) , Authentication Bypass in ManageEngine ServiceDesk Plus (SDP)
- How to Fix CVE-2021-45382: Command Injection in Multiple Routers , Command Injection in Multiple Routers
- How to Fix CVE-2021-20023: Path Traversal in Email Security , Path Traversal in Email Security
Is CVE-2021-28664 being exploited in the wild?
Yes. CISA added it to the Known Exploited Vulnerabilities catalog on 2021-11-03, which means there is confirmed evidence of active exploitation.
Does the patch require a reboot?
It depends on the deployment. Mali Graphics Processing Unit (GPU) updates that replace running services usually need at minimum a service restart; some require a host reboot. Check the vendor release notes linked under References for the exact post-upgrade steps.
What if my version of Mali Graphics Processing Unit (GPU) is end-of-life?
End-of-life builds will not receive the fix. The vendor's published guidance in cases like this is to upgrade to a supported branch first, then apply the patched build. Running an EOL release on an internet-reachable interface is the higher risk.
References
- Official vendor advisory: https://developer.arm.com/support/arm-security-updates
- Additional: https://developer.arm.com/support/arm-security-updates/mali-gpu-kernel-driver
- Additional: https://developer.arm.com/Arm%20Security%20Center/Mali%20GPU%20Driver%20Vulnerabilities
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-28664
- CISA KEV catalog entry: https://www.cisa.gov/known-exploited-vulnerabilities-catalog
*This guide was assembled from the official vendor advisory, the NVD record, and the CISA KEV listing on 2026-05-25. Always confirm against the vendor's advisory before applying changes in production. Byline: Sai Kiran Pandrala.*