commit | 94dce8f2a8b03daa08e84d8c5148108eb369cbf3 | [log] [tgz] |
---|---|---|
author | Sunil Khatri <sunilkh@codeaurora.org> | Mon Sep 04 14:05:03 2017 +0530 |
committer | Lynus Vaz <lvaz@codeaurora.org> | Tue Sep 12 14:42:33 2017 +0530 |
tree | 2a23eb66c62bedc3cce456ceb202c15ab658e225 | |
parent | 84a47e8cf6f87952efa16773bb39fe0c4a3cde28 [diff] |
msm: kgsl: Protect the bind object against bad dereference Sparse bind object are unbinded with bind id. This can be exploited by any malicious application calling unbind with same bind id again and again. This can lead to a race condition between two threads where one free the bind object and second thread uses same object leading to bad dereference. Change-Id: I542a008fc647489560667fb5016453a0c3448f7a Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>