ZeroHour

CVE-2021-0920

KEVmass

Use-After-Free Race Condition in Android/Linux Kernel Allows Local Privilege Escalation

CISA: Android Kernel Race Condition Vulnerability

CVSS 3.1
6.4 medium
EPSS
<1%p56
Published
()
KEV added
AI analysis

CVE-2021-0920 is a race condition in the Linux kernel's Unix domain socket implementation (unix_scm_to_skb in af_unix.c) that can lead to a use-after-free memory error (CWE-362/CWE-416). It is triggered by concurrent activity on Unix-domain sockets on the affected device, with no user interaction required, though exploitation requires the attacker to already have System execution privileges. A successful local attacker can escalate their privileges on the device, gaining higher-level access to execute code. Any Android device running a vulnerable Android kernel is affected, and the underlying Linux kernel flaw also exposes Linux-based systems such as Debian. The flaw was added to CISA's Known Exploited Vulnerabilities Catalog on 2022-05-23, indicating it has been exploited in the wild; no public proof-of-concept is known and ransomware use has not been reported.

What to do: Apply Android security updates from Google and device vendors and updated Linux kernel packages from Debian as soon as they are available, per vendor instructions (the required action in CISA's KEV catalog). Because exploitation requires System execution privileges, avoid granting System-level rights to untrusted apps and monitor systems for local privilege escalation activity. Check vendor advisories referencing Android ID A-196926917 or the upstream kernel fix to confirm your kernels are patched.

Affected
google android
linux kernel
debian linux
Estimated exposure
massup to billions of Android devices (the kernel ships in essentially every Android build), plus large Debian/Linux fleets; only kernels containing the vulnerable… — Android is deployed on billions of active devices worldwide and the affected code is in the shared Linux kernel Unix-socket subsystem, though the source data does not specify which kernel version ranges are vulnerable, so this is an…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

In unix_scm_to_skb of af_unix.c, there is a possible use after free bug 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-196926917References: Upstream kernel

CISA Known Exploited Vulnerability
Affected
Android Kernel
Required action
Apply updates per vendor instructions.
Due date
Ransomware use
Unknown
Vendors
linuxgoogledebian
Products
linux kernel, android, debian linux
Weakness
CWE-362, CWE-416
Vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

In the news