CVE-2022-38181: GHSL-2022-054: Use-after-free (UAF) in the Arm Mali Kernel driver - CVE-2022-38181

Published Oct 25, 2022
·
Updated

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

9 affected componentsFixes available
Arm Bifrost GPU Kernel Driver>=r0p0<=r38p1
Arm Bifrost GPU Kernel Driver=r39p0
Arm Midguard Gpu Kernel Driver>=r4p0<=r31p0
Arm Valhall GPU Kernel Driver>=r19p0<=r38p1
Arm Valhall GPU Kernel Driver=r39p0
Arm Midgard GPU Kernel Driver>=r4p0<=r31p0
Google Android
Arm Mali Graphics Processing Unit (GPU)
android/:unknown:>=SoCVersion:0<SoCVersion:2023-04-05
SoCVersion:2023-04-05

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade android/:unknown: to a version that resolves this vulnerability.

    Fixed in SoCVersion:2023-04-05

Event History

Oct 25, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 20, 2023
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
DescriptionAffected Software
Mar 30, 2023
Data Sourced
via CISA·12:00 AM
DescriptionWeaknessAffected Software
Apr 1, 2023
Advisory Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionAffected Software
Apr 3, 2023
Data Sourced
via Android·12:00 AM
SeverityAffected Software
Apr 13, 2023
Exploit Published
via GitHub·01:19 PM

Frequently Asked Questions

1

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.

2

What software is affected by CVE-2022-38181?

The Arm Mali Graphics Processing Unit (GPU) Kernel Driver is affected by CVE-2022-38181.

3

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.

4

Is there a fix available for CVE-2022-38181?

Refer to the Arm Security Center for information on available fixes for CVE-2022-38181.

5

What is the Common Weakness Enumeration (CWE) ID for CVE-2022-38181?

The CWE ID for CVE-2022-38181 is CWE-416.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203