Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3d85b42a authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

ion: Ensure secure HLOS accessible buffers are zeroed when allocated



Memory that is either pooled or permanently assigned to other VMIDs
is not always cleared when it is released back into the pools. This
is problematic when the memory is assigned such that HLOS can still
access the memory, as a userspace process can reallocate the
same buffer, and read data from when the buffer was previously
allocated. Thus, clear secure ION buffers before freeing them, if
they are HLOS accessible.

Change-Id: Iaae14fc32b10e0c6afca007a5ee78aacd5e013e6
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 90e82848
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