mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
fadea3abd8
ion_system_heap_destroy_pools frees the pool, but does not invalidate the pointer. This can result in a double free if ion_system_heap_create_pools fails, and then causes ion_system_heap_create to call into ion_system_heap_destroy_pools again from the error path. This can happen in ion_system_heap_create when one of the secure pool creation fails. Change-Id: Ic73ca78722aa5a575cc4dd7c1caa560b518094f2 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org> [haggertk: Backport to 3.4/msm8974] CVE-2018-11987 Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org> |
||
---|---|---|
.. | ||
msm | ||
tegra | ||
ion.c | ||
ion_carveout_heap.c | ||
ion_chunk_heap.c | ||
ion_cma_heap.c | ||
ion_cma_secure_heap.c | ||
ion_cp_heap.c | ||
ion_heap.c | ||
ion_iommu_heap.c | ||
ion_page_pool.c | ||
ion_priv.h | ||
ion_removed_heap.c | ||
ion_system_heap.c | ||
ion_system_mapper.c | ||
Kconfig | ||
Makefile | ||
msm_ion_priv.h |