Skip to content
Commit ab9d3db5 authored by Etienne Carriere's avatar Etienne Carriere Committed by Jens Wiklander
Browse files

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: default avatarAlexandre Jutras <alexandre.jutras@nxp.com>
Signed-off-by: default avatarEtienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
parent bb765d1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment