CVE-2022-20238 Privilege escalation in Android

Critical 9.8 Published Updated

A flaw in Android's memory mapping allows userspace to map kernel memory as writable, enabling privilege escalation and code execution.

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-20238?

CVE-2022-20238 is a critical vulnerability in Google Android, published on 13 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

'remap_pfn_range' here may map out of size kernel memory (for example, may map the kernel area), and because the 'vma->vm_page_prot' can also be controlled by userspace, so userspace may map the kernel area to be writable, which is easy to be exploitedProduct: AndroidVersions: Android SoCAndroid ID: A-233154555

Weakness: CWE-119

Which versions are affected by CVE-2022-20238?

It affects 1 product.

Products include Google Android.

How do I fix CVE-2022-20238?

Apply the vendor's patch.

Is CVE-2022-20238 being exploited?

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

All Google Android vulnerabilities

Sources

Also known as A-233154555, ASB-A-233154555, GHSA-94vg-wrxf-f4p9, U-1883892.

Is CVE-2022-20238 in your software?

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

Check your SBOMs for free