Commit 08efdb81 authored by Jens Wiklander's avatar Jens Wiklander Committed by Yang Yingliang
Browse files

tee: don't assign shm id for private shms



mainline inclusion
from mainline-v5.7-rc1
commit f1bbaced
category: cleanup
bugzilla: NA
CVE: NA

Prepare for fixing CVE-2021-44733.
--------------------------------

Private shared memory object must not be referenced from user space. To
guarantee that, don't assign an id to shared memory objects which are
driver private.

Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent e2cda3d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment