What is the Arm Mali GPU Kernel Driver?
The Arm Mali GPU kernel driver (mali_kbase) is the kernel-mode component that manages GPU hardware for Arm's Mali GPU series — including the Midgard, Bifrost, and Valhall GPU families. Mali GPUs are embedded in hundreds of millions of Android smartphones, tablets, and IoT devices from manufacturers including Samsung, MediaTek, and others. The kernel driver manages GPU memory allocation, command buffer submission, power management, and GPU execution scheduling on behalf of user-space processes. Because it runs in kernel mode and processes requests from user-space applications (including untrusted apps), vulnerabilities in the driver that allow user-space processes to access freed kernel memory are high-value targets for Android privilege escalation exploit chains.
Overview
CVE-2023-4211 is a use-after-free vulnerability (CWE-416) in the Arm Mali GPU kernel driver that allows a local unprivileged user to make improper GPU memory processing operations that access already-freed kernel memory. The primary confirmed impact is information disclosure (C:H/I:N/A:N): a local attacker can read freed kernel memory contents, potentially extracting kernel pointers or sensitive data to defeat ASLR and support a subsequent kernel privilege escalation stage.
CVE-2023-4211 was discovered by Maddie Stone and Jann Horn of Google's Threat Analysis Group (TAG) and Project Zero. CISA added it to the KEV catalog just two days after publication on October 1, 2023 — one of the fastest KEV additions in 2023, reflecting Google TAG's direct knowledge of active exploitation in a commercial spyware chain.
Affected Versions
| Product | Affected | Fixed |
|---|---|---|
| Arm Mali GPU Driver (Midgard) | r12p0–r32p0 | r32p0+ with vendor patch |
| Arm Mali GPU Driver (Bifrost) | r0p0–r42p0 | r42p0+ with vendor patch |
| Arm Mali GPU Driver (Valhall) | r19p0–r42p0 | r42p0+ with vendor patch |
| Arm Mali GPU Driver (5th Gen) | r41p0–r42p0 | r42p0+ with vendor patch |
Note: The driver version shipped with a specific Android device is determined by the OEM — patches must be integrated by device manufacturers (Samsung, MediaTek SoC vendors, etc.) and deployed via OTA updates. Driver version does not map directly to Android OS version.
Technical Details
Use-after-free (CWE-416) in the Mali GPU kernel driver occurs in GPU memory management operations. The driver maintains a pool of kernel-allocated memory objects for GPU command buffers, memory mappings, and hardware resource tracking. The vulnerability allows a user-space process to trigger a code path where:
- A GPU memory object is freed — the kernel driver releases a GPU memory region back to the kernel heap allocator
- A stale reference is retained — the driver or a parallel operation retains a pointer to the freed memory
- The user-space process accesses the freed region — through specific GPU memory API calls, the attacker triggers the driver to access or allow reading of the freed memory region
- Kernel memory is disclosed — the freed heap memory may have been reallocated by the kernel for other purposes; reading it leaks the new contents, potentially including kernel pointers from other kernel structures
The C:H (high confidentiality) impact with I:N (no integrity impact) reflects that this specific CVE's confirmed exploitation is for reading freed kernel memory — the read-only information disclosure stage of a multi-stage exploit chain, rather than direct kernel code execution.
Discovery
CVE-2023-4211 was discovered by Maddie Stone (Google TAG) and Jann Horn (Google Project Zero). The two-day gap between CVE publication (October 1) and CISA KEV addition (October 3) is among the fastest in the 2023 KEV catalog, consistent with Google TAG observing the vulnerability being actively exploited in the wild before coordinated disclosure with Arm. This pattern — TAG discovering an exploit in an active chain and then coordinating disclosure — is consistent with commercial surveillance vendor operations targeting Android devices.
Exploitation Context
Arm Mali GPU kernel driver vulnerabilities are a recurring target for Android exploit chain development:
- Mali GPU drivers are present in a very large fraction of Android devices (Samsung Exynos and MediaTek SoC-based devices)
- Kernel-mode GPU drivers are a reliable attack surface accessible to unprivileged user-space apps on Android
- Information disclosure via GPU memory UAF (like CVE-2023-4211) is combined with a kernel write primitive to achieve full kernel code execution — the standard two-vulnerability chain pattern for Android kernel exploitation
OEM patch latency is a significant challenge: Arm releases the driver fix, but each device manufacturer must integrate it into their device-specific kernel source tree and push it via OTA update — a process that can take months to reach all affected devices, and that never reaches end-of-life devices.
Remediation
- Apply Android OTA security updates — device manufacturers integrate Arm Mali driver patches into Android security update packages; apply security updates as soon as they are available for your device.
- Check OEM security bulletin — Samsung, MediaTek, and other vendors publish monthly security bulletins specifying which CVEs are patched; verify CVE-2023-4211 is addressed in your device's current security patch level.
- Replace end-of-life devices — devices no longer receiving security updates from their OEM will not receive the Mali GPU driver patch; replacement with a currently supported device is the only complete remediation.
- Consider Android security hardening — on managed fleets, use Mobile Device Management (MDM) to enforce minimum Android security patch level requirements and block enrollment of devices below the threshold.
- Google Pixel devices receive timely security updates directly from Google — these devices typically receive Mali patches more quickly than OEM-modified Android distributions.
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2023-4211 |
| Vendor / Product | Arm — Mali GPU Kernel Driver |
| NVD Published | 2023-10-01 |
| NVD Last Modified | 2026-02-26 |
| CVSS 3.1 Score | 5.5 |
| CVSS 3.1 Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Severity | MEDIUM |
| CWE | CWE-416 find similar ↗ |
| CISA KEV Added | 2023-10-03 |
| CISA KEV Deadline | 2023-10-24 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2023-10-01 | CVE-2023-4211 published; Arm publishes security advisory for Mali GPU kernel driver use-after-free |
| 2023-10-03 | CISA adds CVE-2023-4211 to the Known Exploited Vulnerabilities catalog — two days after publication, confirming active exploitation in the wild |
| 2023-10-24 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Arm Security Center — Mali GPU Driver Vulnerabilities | Vendor Advisory |
| NVD — CVE-2023-4211 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |