CVE-2022-20154 Use after free in Android
A race condition in the Android kernel's lock_sock_nested function allows local attackers with system privileges to achieve privilege escalation via use-after-free.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-20154?
CVE-2022-20154 is a medium-severity use after free vulnerability in Google Android, published on 15 Jun 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In lock_sock_nested of sock.c, there is a possible use after free due to a race condition. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-174846563References: Upstream kernel
Weakness: CWE-362
Which versions are affected by CVE-2022-20154?
It affects 1 product.
Linux distribution packages (4)
kgraft-patch-SLE12-SP5_Update_32 SUSE:Linux Enterprise Live Patching 12 SP5 | All versions | 2-2.1 |
kernel-livepatch-SLE15_Update_30 SUSE:Linux Enterprise Live Patching 15 | All versions | 2-150000.2.1 |
kernel-livepatch-SLE15-SP1_Update_31 SUSE:Linux Enterprise Live Patching 15 SP1 | All versions | 2-150100.2.1 |
kernel-livepatch-SLE15-SP2_Update_27 SUSE:Linux Enterprise Live Patching 15 SP2 | All versions | 3-150200.2.1 |
Products include Google Android.
How do I fix CVE-2022-20154?
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-20154 being exploited?
There is no known exploitation of CVE-2022-20154 in the wild and no public exploit code.
Other vulnerabilities in Google Android
Sources
Also known as A-174846563, DEBIAN-CVE-2022-20154, GHSA-894g-wr4p-3595, PUB-A-174846563, SUSE-SU-2022:2435-1, SUSE-SU-2022:2443-1 and 2 more.