CVE-2022-38181: GHSL-2022-054: Use-after-free (UAF) in the Arm Mali Kernel driver - CVE-2022-38181
Arm Mali GPU Kernel Driver contains a use-after-free vulnerability that may allow a non-privileged user to gain root privilege and/or disclose information.
Other sources
In kbasememflagschange of malikbasememlinux.c, there is a possible way to corrupt memory due to a use after free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
— OSV
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.
Use-after-free in the Arm Mali GPU kernel driver
— GitHub Security Lab
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
android/:unknown:to a version that resolves this vulnerability.Fixed in SoCVersion:2023-04-05
Event History
Frequently Asked Questions
What is CVE-2022-38181?
CVE-2022-38181 is a use-after-free vulnerability in the Arm Mali GPU Kernel Driver that allows a non-privileged user to gain root privilege and/or disclose information.
What software is affected by CVE-2022-38181?
The Arm Mali Graphics Processing Unit (GPU) Kernel Driver is affected by CVE-2022-38181.
How can a non-privileged user exploit CVE-2022-38181?
A non-privileged user can exploit CVE-2022-38181 to gain root privilege and/or disclose information.
Is there a fix available for CVE-2022-38181?
Refer to the Arm Security Center for information on available fixes for CVE-2022-38181.
What is the Common Weakness Enumeration (CWE) ID for CVE-2022-38181?
The CWE ID for CVE-2022-38181 is CWE-416.