Commit a3f6d3cf authored by Weilong Chen's avatar Weilong Chen Committed by Yang Yingliang
Browse files

svm: Fix ts problem, which need the len to check out memory

ascend inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4EUVI


CVE: NA

--------------------------------------------------

The security problem of MDCProfiling is solved by passing the
in-process accessible size corresponding to the address to TS
when the driver/os converts the virtual address to the physical
address, and the TS verifies the writable size.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
Reviewed-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 9f785dcf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment