Use After Free in Google Android
CVE-2017-8246
- CVSS v3
- 7.8 High
- Public exploits
- None known
- EPSS
- 0.002 · 7.0th percentile
- Published
- 2017-05-12
In function msm_pcm_playback_close() in all Android releases from CAF using the Linux kernel, prtd is assigned substream->runtime->private_data. Later, prtd is freed. However, prtd is not sanitized and set to NULL, resulting in a dangling pointer. There are other functions that access the same memory (substream->runtime->private_data) with a NULL check, such as msm_pcm_volume_ctl_put(), which means this freed memory could be used.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 7.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Google Android
- Qualcomm, Inc. Android For Msm, Firefox OS Qrd — versions All Android releases from CAF using the Linux kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (thdusdl1219/CVE-Study). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- source.android.com/security/bulletin/2017-07-01 (Vendor Advisory)
- www.codeaurora.org/use-after-free-alsa-pcm-playback-kernel-module-cve-2017-8246 (Broken Link)