CVE-2023-6241 Mali GPU Kernel Driver allows improper GPU memory processing operations
A local attacker can exploit a race condition in Mali GPU drivers to trigger a use-after-free, potentially leading to privilege escalation or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-6241?
CVE-2023-6241 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 4 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Use After Free vulnerability in Arm Ltd Midgard GPU Kernel Driver, Arm Ltd Bifrost GPU Kernel Driver, Arm Ltd Valhall GPU Kernel Driver, Arm Ltd Arm 5th Gen GPU Architecture Kernel Driver allows a local non-privileged user to exploit a software race condition to perform improper memory processing operations. If the system’s memory is carefully prepared by the user, then this in turn cause a use-after-free.This issue affects Midgard GPU Kernel Driver: from r13p0 through r32p0; Bifrost GPU Kernel Driver: from r11p0 through r25p0; Valhall GPU Kernel Driver: from r19p0 through r25p0, from r29p0 through r46p0; Arm 5th Gen GPU Architecture Kernel Driver: from r41p0 through r46p0.
Weakness: CWE-416
Which versions are affected by CVE-2023-6241?
It affects 4 products.
Products include Arm 5th Gen Gpu Architecture Kernel Driver, Arm Bifrost Gpu Kernel Driver, Arm Midgard Gpu Kernel Driver, Arm Valhall Gpu Kernel Driver.
How do I fix CVE-2023-6241?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-6241 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6241 exists.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Arm Valhall Gpu Kernel Driver
- CVE-2023-4211 Arm Mali GPU Kernel Driver Use-After-Free
- CVE-2023-26083 Arm Mali GPU Kernel Driver Information Disclosure
- CVE-2023-6143 Mali GPU Kernel Driver allows improper GPU memory processing operations
- CVE-2025-0073 Mali GPU Kernel Driver allows improper GPU memory processing operations
- CVE-2025-0819 Mali GPU Kernel Driver allows access to already freed memory
Sources
Also known as A-316206835, ASB-A-316206835, GHSA-p6cr-4f2h-m98v.