CVE-2021-39714
Vulnerability Summary
Timeline
Description
In ion_buffer_kmap_get of ion.c, there is a possible use-after-free due to an integer overflow. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android kernelAndroid ID: A-205573273References: Upstream kernel
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.23%• Percentile: 14%
Techniques & Countermeasures
- CWE-190•Integer Overflow or Wraparound
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- debian•linux
< 4.12.6-1 | < 4.12.6-1 | < 4.12.6-1 | < 4.12.6-1
- ubuntu•linux
< 4.4.0-229.263
- ubuntu•linux-aws
< 4.4.0-1109.115 | < 4.4.0-1145.160
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-azure
< 4.13.0-1005.7 | all
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.4.0-1079.86 | all
- ubuntu•linux-gcp
< 4.13.0-1002.5 | all
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-hwe
< 4.13.0-32.35~16.04.1 | all
- ubuntu•linux-hwe-5.11
all
- ubuntu•linux-hwe-5.8
all
- ubuntu•linux-hwe-edge
all
- ubuntu•linux-intel-5.13
all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1110.120
- ubuntu•linux-lts-xenial
< 4.4.0-229.263~14.04.1
- ubuntu•linux-oem
all
- ubuntu•linux-oem-5.10
all
- ubuntu•linux-oem-5.13
all
- ubuntu•linux-oem-5.6
all
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.11
all
- ubuntu•linux-oracle-5.3
all
- ubuntu•linux-oracle-5.8
all
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
all
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
all
- ubuntu•linux-riscv-5.11
all
- ubuntu•linux-riscv-5.8
all
- ubuntu•linux-snapdragon
< 4.15.0-1053.57
- google•android
na
References (8)
- https://source.android.com/security/bulletin/pixel/2022-08-01
- https://ubuntu.com/security/CVE-2021-39714
- https://source.android.com/security/bulletin/pixel/2022-03-01
- https://android.googlesource.com/kernel/common/+/16b34e53eaadd%5E%21/#F0
- https://ubuntu.com/security/notices/USN-5505-1
- https://ubuntu.com/security/notices/USN-5513-1
- https://www.cve.org/CVERecord?id=CVE-2021-39714
- https://security-tracker.debian.org/tracker/CVE-2021-39714