android_kernel_oneplus_msm8998/include/soc
Zhen Kong 5baaa9beb0 qseecom: support whitelist memory for qseecom_send_modfd_cmd
qseecom_send_modfd_cmd converts ION buffer's virtual address to
scatter gather(SG) list and then sends them to TA by populating
SG list into message buffer. As the physical memory address in
SG list is used directly by TA, this allows a malicious TA to
access/corrupt arbitrary physical memory and may lead to the
process gaining kernel/root privileges. Thus, make changes to
have the QSEEComm driver passing a list of whitelist buffers
that is allowed to be mapped by TA, and the QSEE kernel, in turn,
should add checks to the register_shared_buffer syscall to make
sure the shared buffers an application is mapping falls within
one of these whitelist buffers.

CRs-fixed: 1021945
Change-Id: I776ead0030cad167afcf41ab985db7151a42d126
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-08-23 14:08:27 -07:00
..
at91 ARM: at91: remove at91rm9200_sdramc.h 2015-05-20 16:37:55 +02:00
bcm2835 ARM: bcm2835: add mutual inclusion protection 2015-10-24 13:15:58 -07:00
brcmstb soc: add stubs for brcmstb SoC's 2015-09-14 15:44:18 -07:00
imx ARM: imx: define an enum for gpt timer device type 2015-06-03 14:52:26 +08:00
qcom qseecom: support whitelist memory for qseecom_send_modfd_cmd 2016-08-23 14:08:27 -07:00
sa1100 ARM: 8361/1: sa1100: add platform functions to handle PWER settings 2015-05-18 22:00:22 +01:00
tegra IOMMU Updates for Linux v4.3 2015-09-08 17:22:35 -07:00