remarkable-linux/drivers/staging/android
Liam Mark 26023c9779 staging: android: ion: Zero CMA allocated memory
commit 6d79bd5bb6 upstream.

Since commit 204f672255 ("staging: android: ion: Use CMA APIs directly")
the CMA API is now used directly and therefore the allocated memory is no
longer automatically zeroed.

Explicitly zero CMA allocated memory to ensure that no data is exposed to
userspace.

Fixes: 204f672255 ("staging: android: ion: Use CMA APIs directly")
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-28 18:24:49 +02:00
..
ion staging: android: ion: Zero CMA allocated memory 2018-03-28 18:24:49 +02:00
uapi staging: android: uapi: drop definitions of removed ION_IOC_{FREE,SHARE} ioctls 2017-06-03 17:38:26 +09:00
ashmem.c staging: android: ashmem: Fix possible deadlock in ashmem_ioctl 2018-03-24 11:01:21 +01:00
ashmem.h staging: android: Split uapi out of ashmem.h 2014-02-18 11:03:28 -08:00
Kconfig staging, android: remove lowmemory killer from the tree 2017-03-09 13:47:03 +01:00
Makefile staging, android: remove lowmemory killer from the tree 2017-03-09 13:47:03 +01:00
TODO staging/android: Update Ion TODO list 2017-04-18 20:43:14 +02:00