CVE-2017-8246
HighSummary
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 but not sanitized or set to NULL, resulting in a dangling pointer.
Risk Assessment
The use of freed memory by other functions may lead to unpredictable system behavior, posing a risk to the stability and security of applications.
Recommendation
It is recommended to update to the latest kernel version that addresses this issue and to conduct a code review to ensure proper pointer sanitization.
Other vulnerabilities in Android releases from CAF using the Linux kernel
See all- CVE-2017-8241High
All Android releases from CAF using the Linux kernel have a buffer overflow vulnerability in a WLAN function due to an incorrect message length.
- CVE-2017-8237High
All Android releases from CAF using the Linux kernel have a buffer overflow vulnerability while loading a firmware image.
- CVE-2017-8234High
All Android releases from CAF using the Linux kernel may be vulnerable to out of bounds access in a camera function.
- CVE-2017-7371High
All Android releases from CAF using the Linux kernel may have an issue with a data pointer that can be used after it has been freed when SLIMbus is turned off by Bluetooth.
- CVE-2017-7369High
All Android releases from CAF using the Linux kernel have an issue with improper validation of an array index in an ALSA routine, potentially leading to kernel stack corruption.
- CVE-2017-7367High
All Android releases from CAF using the Linux kernel have an integer underflow vulnerability while processing the boot image.
- CVE-2017-7365High
All Android releases from CAF using the Linux kernel may be vulnerable to buffer overreads if a particular string is not NULL terminated.
- CVE-2016-10342High
All Android releases from CAF using the Linux kernel have a buffer overflow vulnerability in a syscall handler.
- CVE-2016-10341High
All Android releases from CAF using the Linux kernel have a problem with excessive privileges for third-party TEEs (Trusted Execution Environments). This may lead to unauthorized access to system resources.
- CVE-2016-10340High
All Android releases from CAF using the Linux kernel contain a buffer overflow vulnerability caused by an integer underflow in a syscall handler.
Original NVD description (English source)
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.

