Security Advisory

CVE-2021-28664: Arm Mali GPU Read-Only Page Write

Last updated:
  • CVE-2021-28664

CVE-2021-28664 is a flaw in the Arm Mali GPU kernel driver that lets an unprivileged user gain read/write access to read-only pages, leading to root or memory corruption. Bifrost and Valhall are fixed in r30p0, Midgard in r31p0. NVD scores it 8.8, CISA lists it in KEV, and Android fixed it at patch level 2021-05-05.

Vulnerability summary

CVSS base score

8.8

High severity

EPSS score (FIRST)

5.5%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2021-28664 · Source: NVD

Affected components

ComponentCPEVersion range
Arm Bifrost GPU Kernel Drivercpe:2.3:a:arm:bifrost_gpu_kernel_driver:*:*:*:*:*:*:*:*r0p0 through r29p0 affected, fixed in r30p0 (CVE record); NVD CPE ends before r29p0
Arm Valhall GPU Kernel Drivercpe:2.3:a:arm:valhall_gpu_kernel_driver:*:*:*:*:*:*:*:*r19p0 through r29p0 affected, fixed in r30p0 (CVE record); NVD CPE ends before r29p0
Arm Midgard GPU Kernel Drivercpe:2.3:a:arm:midgard_gpu_kernel_driver:*:*:*:*:*:*:*:*r8p0 through r30p0 affected, fixed in r31p0 (CVE record; NVD: from r8p0, before r31p0)
Android devices with an Arm Mali GPU—Security patch level before 2021-05-05; fixed at 2021-05-05 or later (Android Security Bulletin May 2021, A-174588870)

What does this mean for affected devices?

CVE-2021-28664 is a write to read-only memory in the Arm Mali GPU kernel driver, the kbase driver in the kernel of devices built on a Mali GPU. The CVE record, published by MITRE on 2021-05-10, says the driver "allows privilege escalation or a denial of service (memory corruption) because an unprivileged user can achieve read/write access to read-only pages" (CVE record). NVD's Primary score is 8.8, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, plus NVD CVSS v2 9.0, with CWE-787; CISA's ADP container gives the same 8.8, and the record carries no CNA score (NVD).

Which Mali driver releases are affected?

The record lists Bifrost r0p0 through r29p0 "before r30p0", Valhall r19p0 through r29p0 "before r30p0", and Midgard r8p0 through r30p0 "before r31p0". NVD's Midgard CPE matches, but its Bifrost and Valhall ranges end before r29p0, one release short of the CVE text; treat r29p0 as affected and r30p0 as the fix. CISA's KEV entry points to NVD, which links Arm's Mali GPU Driver Vulnerabilities page as the vendor reference.

How do you fix CVE-2021-28664?

Owners get the fix through device firmware. The Android Security Bulletin for May 2021 notes: "There are indications that CVE-2021-1905, CVE-2021-1906, CVE-2021-28663 and CVE-2021-28664 may be under limited, targeted exploitation." It lists CVE-2021-28664 (A-174588870, severity High as assessed by Arm) under ARM components at the 2021-05-05 patch level, so a device at 2021-05-05 or later includes it. Device makers who build their own kernels use Bifrost or Valhall r30p0, or Midgard r31p0, or later. CISA's required action is to apply updates per vendor instructions; a device that never received the May 2021 patch level has no update path and is a candidate for retirement. The memory corruption fix guide covers out-of-bounds writes, and the Linux kernel CVE guide covers tracking vendor kernel drivers.

Is CVE-2021-28664 exploited?

Yes. CISA added it to the KEV catalog on 2021-11-03, the earliest date in the catalog, as "Arm Mali Graphics Processing Unit (GPU) Unspecified Vulnerability", due 2021-11-17, with known ransomware campaign use marked Unknown. It is listed as of 2026-11-25 (catalog version 2026.11.24). FIRST EPSS gives it 0.05451, the 93rd percentile, in the 2026-11-24 dataset. Its companion in the same bulletin is the use-after-free CVE-2021-28663; the later read-only page flaw CVE-2022-22706 is also in KEV.

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.

Evidence

  • NVD: status Analyzed; [email protected] Primary CVSS 3.1 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H and Primary CVSS 2.0 9.0; CISA-ADP Secondary 8.8 same vector; CWE-787; CPE Bifrost r0p0 before r29p0, Valhall r19p0 before r29p0, Midgard r8p0 before r31p0; published 2021-05-10; read 2026-11-25. — NVD
  • CVE record (CNA MITRE, published 2021-05-10): unprivileged read/write access to read-only pages; Bifrost r0p0 through r29p0 before r30p0, Valhall r19p0 through r29p0 before r30p0, Midgard r8p0 through r30p0 before r31p0. — CVE.org
  • Android Security Bulletin May 2021: There are indications that CVE-2021-1905, CVE-2021-1906, CVE-2021-28663 and CVE-2021-28664 may be under limited, targeted exploitation; CVE-2021-28664 A-174588870, High, Mali, ARM components, 2021-05-05 security patch level. — Android Security Bulletin
  • CISA KEV catalog 2026.11.24: dateAdded 2021-11-03, due 2021-11-17, knownRansomwareCampaignUse Unknown, CWE-787; required action: Apply updates per vendor instructions. Checked 2026-11-25. — CISA KEV
  • EPSS 0.05451, percentile 0.92852, dataset 2026-11-24, read 2026-11-25. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CVE.org record CVE-2021-28664 (CNA: MITRE)
  3. Android Security Bulletin, May 2021
  4. CISA KEV
  5. FIRST EPSS

Frequently asked questions

Which Arm Mali driver release fixes CVE-2021-28664?

Bifrost and Valhall r30p0 and Midgard r31p0. Affected releases are Bifrost r0p0 through r29p0, Valhall r19p0 through r29p0 and Midgard r8p0 through r30p0 (per the CVE record).

Which Android patch level fixes CVE-2021-28664?

Security patch level 2021-05-05. The May 2021 Android Security Bulletin lists it under ARM components and notes signs of limited, targeted exploitation (per the Android Security Bulletin).

Why does NVD show a narrower range than the CVE text?

NVD's Bifrost and Valhall CPE ranges end before r29p0, while the CVE description says r29p0 is affected and r30p0 is the fix. The CVE text is the vendor-sourced description, so r29p0 should be treated as vulnerable (per NVD and the CVE record).

Is CVE-2021-28664 exploited in the wild?

Yes. CISA added it to the KEV catalog on 2021-11-03, and it is listed as of 2026-11-25 (catalog version 2026.11.24) with ransomware use marked Unknown. FIRST EPSS gives it 0.05451 in the 2026-11-24 dataset (per CISA KEV and FIRST EPSS).