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

Commit f2b44c5c authored by Srinivasarao P's avatar Srinivasarao P
Browse files

staging: android: ion: fix ION_IOC_IMPORT use-after-free



The use-after-free issue can also occur with ION_IOC_IMPORT
just like in the commit 2c155709
("staging: android: ion: fix ION_IOC_{MAP,SHARE} use-after-free").
This is due to reacquiring client->lock in pass_to_user().

Change-Id: Ib5f3297504763c341b3ce343ef18538ce2c9c7d5
Signed-off-by: default avatarSrinivasarao P <spathi@codeaurora.org>
parent f1587d86
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