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

Commit 5ab77bca authored by Shivakumar Malke's avatar Shivakumar Malke
Browse files

msm: camera: isp: Copy the userdata in kernel to avoid TOCTOU



Userspace is still able to access blob data after submitting to kmd
and can alter it's contents.
This change copy the information in kernel space and then perform relevant checks and actions if the data is unaltered.

CRs-Fixed: 3923843
Change-Id: I9ec3c95a3e04770ab0b00bc07c8a0d133f779ed1
Signed-off-by: default avatarPranav Sanwal <quic_psanwal@quicinc.com>
Signed-off-by: default avatarShivakumar Malke <quic_smalke@quicinc.com>
parent 23b51487
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