---
id: CVE-2022-20154
title: >-
  In lock_sock_nested of sock.c, there is a possible use after free due to a
  race condition
summary: >-
  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:…
severity: medium
cvss: 6.4
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-362
vendor: google
product: android
affected:
  - android
published: '2022-06-15'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T21:17:44.097'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-20154'
references:
  - url: 'https://source.android.com/security/bulletin/pixel/2022-06-01'
    label: security@android.com
  - url: 'https://source.android.com/security/bulletin/pixel/2022-06-01'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00109
epssPercentile: 0.01131
ingestedAt: '2026-10-08T22:11:53.750Z'
---

## Overview

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

## Affected

- `android`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
