CVE-2022-20122 Use after free in Android

Critical 9.8 Published Updated

Unprivileged apps can trigger kernel memory corruption in the PowerVR GPU driver via use-after-free, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-20122?

CVE-2022-20122 is a critical use after free vulnerability in Google Android, published on 24 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The PowerVR GPU driver allows unprivileged apps to allocated pinned memory, unpin it (which makes it available to be freed), and continue using the page in GPU calls. No privileges required and this results in kernel memory corruption.Product: AndroidVersions: Android SoCAndroid ID: A-232441339

Weakness: CWE-416

Which versions are affected by CVE-2022-20122?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20122?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-20122 being exploited?

There is no known exploitation of CVE-2022-20122 in the wild and no public exploit code.

All Google Android vulnerabilities

Sources

Also known as A-232441339, ASB-A-232441339, GHSA-5gjx-xwmm-pw26.

Is CVE-2022-20122 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free