CVE-2021-29256 Arm Mali GPU Kernel Driver Use-After-Free
An unprivileged user can exploit a use-after-free in the Arm Mali GPU kernel driver to disclose information or escalate privileges to root.
- Exploited in the wild
- Since 7 Jul 2023
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-29256?
CVE-2021-29256 is a high-severity use after free vulnerability in Arm Valhall Gpu Kernel Driver, published on 24 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
. The Arm Mali GPU kernel driver allows an unprivileged user to achieve access to freed memory, leading to information disclosure or root privilege escalation. This affects Bifrost r16p0 through r29p0 before r30p0, Valhall r19p0 through r29p0 before r30p0, and Midgard r28p0 through r30p0.
Weakness: CWE-416
Which versions are affected by CVE-2021-29256?
It affects 3 products.
Products include Arm Bifrost Gpu Kernel Driver, Arm Midgard Gpu Kernel Driver, Arm Valhall Gpu Kernel Driver.
How do I fix CVE-2021-29256?
Apply the vendor's patch. US federal agencies must fix it by 28 Jul 2023.
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-2021-29256 being exploited?
Yes. Attackers have exploited CVE-2021-29256 in the wild since at least 7 Jul 2023.
Other vulnerabilities in Arm Valhall Gpu Kernel Driver
- CVE-2022-38181 Arm Mali GPU Kernel Driver Use-After-Free
- CVE-2021-28663 Arm Mali Graphics Processing Unit (GPU) Use-After-Free
- CVE-2021-28664 Arm Mali Graphics Processing Unit (GPU) Unspecified
- CVE-2022-22706 Arm Mali GPU Kernel Driver Unspecified
- CVE-2024-4610 Arm Mali GPU Kernel Driver Use-After-Free
Sources
Also known as A-283489460, ASB-A-283489460, GHSA-gm4q-9jx5-3gfv.