Skip to content
Commit 94dce8f2 authored by Sunil Khatri's avatar Sunil Khatri Committed by Lynus Vaz
Browse files

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: default avatarSunil Khatri <sunilkh@codeaurora.org>
parent 84a47e8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment