Use-after-free in ARM products - CVE-2022-38181

 

Use-after-free in ARM products - CVE-2022-38181

Published: March 30, 2023 / Updated: January 15, 2024


Vulnerability identifier: #VU74191
CSH Severity: High
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-38181
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

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.


Affected software

Midgard GPU Kernel Driver
Bifrost GPU Kernel Driver
Valhall GPU Kernel Driver
Google Android
Samsung Mobile Firmware

How to mitigate CVE-2022-38181

Install updates from vendor's website.

Bifrost GPU Kernel Driver - addressed in versions r38p2, r40p0
Valhall GPU Kernel Driver - addressed in versions r38p2, r40p0
Google Android - addressed in versions 11 2023-04-05, 12L 2023-04-05, 12 2023-04-05, 13 2023-04-05
Samsung Mobile Firmware - update to SMR-MAY-2023

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins