WSL2-Linux-Kernel/drivers/tee
Etienne Carriere ab9d3db5b3 tee: check shm references are consistent in offset/size
This change prevents userland from referencing TEE shared memory
outside the area initially allocated by its owner. Prior this change an
application could not reference or access memory it did not own but
it could reference memory not explicitly allocated by owner but still
allocated to the owner due to the memory allocation granule.

Reported-by: Alexandre Jutras <alexandre.jutras@nxp.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
2018-05-07 11:51:03 +02:00
..
optee tee: optee: report OP-TEE revision information 2018-03-06 11:03:55 +01:00
Kconfig
Makefile
tee_core.c tee: check shm references are consistent in offset/size 2018-05-07 11:51:03 +02:00
tee_private.h tee: use reference counting for tee_context 2017-12-15 13:36:18 +01:00
tee_shm.c tee: shm: fix use-after-free via temporarily dropped reference 2018-05-07 11:50:25 +02:00
tee_shm_pool.c tee: flexible shared memory pool creation 2017-12-15 12:37:29 +01:00