CVE Vulnerabilities

CVE-2022-38181

Use After Free

Published: Oct 25, 2022 | Modified: Nov 03, 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
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

The Arm Mali GPU kernel driver allows unprivileged users to access freed memory because GPU memory operations are mishandled. This affects Bifrost r0p0 through r38p1, and r39p0; Valhall r19p0 through r38p1, and r39p0; and Midgard r4p0 through r32p0.

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

NameVendorStart VersionEnd Version
Bifrost_gpu_kernel_driverArmr0p0 (including)r38p1 (including)
Bifrost_gpu_kernel_driverArmr39p0 (including)r39p0 (including)
Midgard_gpu_kernel_driverArmr4p0 (including)r31p0 (including)
Valhall_gpu_kernel_driverArmr19p0 (including)r38p1 (including)
Valhall_gpu_kernel_driverArmr39p0 (including)r39p0 (including)

Potential Mitigations

References