CVE Vulnerabilities

CVE-2021-29256

Use After Free

Published: May 24, 2021 | Modified: Apr 07, 2025
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
9 HIGH
AV:N/AC:L/Au:S/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

. 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

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Bifrost_gpu_kernel_driver Arm r16p0 (including) r30p0 (excluding)
Midgard_gpu_kernel_driver Arm r28p0 (including) r31p0 (excluding)
Valhall_gpu_kernel_driver Arm r19p0 (including) r30p0 (excluding)

Potential Mitigations

References