CVE-2021-0920
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
Summary dbcve.org
A race condition in the unix_scm_to_skb function within af_unix.c creates a use-after-free vulnerability in the Linux kernel's AF_UNIX socket implementation. This local privilege escalation bug requires the attacker to already have System execution privileges on the device and does not require user interaction.
Mitigation
Apply the upstream kernel patch for this vulnerability; Android devices require a kernel update from the device manufacturer. Consider kernel hardening mechanisms (e.g., KASLR, SELinux policies) as defense-in-depth while awaiting the patch.