Privilege escalation in ARM Mali GPU kernel drivers



Published: 2023-03-30 | Updated: 2024-01-15
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-38181
CWE-ID CWE-416
Exploitation vector Local
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Subscribe
Midgard GPU Kernel Driver
Hardware solutions / Drivers

Bifrost GPU Kernel Driver
Hardware solutions / Drivers

Valhall GPU Kernel Driver
Hardware solutions / Drivers

Vendor ARM

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Use-after-free

EUVDB-ID: #VU74191

Risk: High

CVSSv3.1: 8.4 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:H/RL:O/RC:C]

CVE-ID: CVE-2022-38181

CWE-ID: CWE-416 - Use After Free

Exploit availability: Yes

Description

The vulnerability allows a local application to escalate privileges on the system.

The vulnerability exists due to a use-after-free error. A local application can trigger memory corruption and execute arbitrary code with elevated privileges.

Note, this vulnerability is known to be exploited in targeted attacks spotted in November 2022.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Midgard GPU Kernel Driver: All versions

Bifrost GPU Kernel Driver: before r40p0

Valhall GPU Kernel Driver: before r40p0

External links

http://developer.arm.com/Arm%20Security%20Center/Mali%20GPU%20Driver%20Vulnerabilities
http://github.blog/2023-01-23-pwning-the-all-google-phone-with-a-non-google-bug/
http://securitylab.github.com/advisories/GHSL-2022-054_Arm_Mali/
http://blog.google/threat-analysis-group/spyware-vendors-use-0-days-and-n-days-against-popular-platforms/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.



###SIDEBAR###