commit | 108042f5ab1289a168933809448bbd841e2963d7 | [log] [tgz] |
---|---|---|
author | Imre Kis <imre.kis@arm.com> | Wed Jun 15 14:13:36 2022 +0200 |
committer | Imre Kis <imre.kis@arm.com> | Fri Jun 24 14:58:48 2022 +0200 |
tree | 3e142a1755c9b4a23cecdd8d7ac837a36257d0b1 | |
parent | 9a8877a4cb5334854239a9ede0a0fa2a083df170 [diff] |
Validate shared memory size in ffarpc_call_ep In the FFA_CALL_OPCODE_SHARE_BUF call the size of the shared buffer is forwarded in a register of an FF-A direct message. When the SP retrieves the memory region this size parameter has to be checked against the retrieved page count in order to prevent the SP from overruning the buffer in case of a malformed request. Signed-off-by: Imre Kis <imre.kis@arm.com> Change-Id: I1a91abc6687786fd87a10bcbc64a4b9235b046e6