Skip to content
Snippets Groups Projects
Commit b89051e6 authored by Harsh Sahu's avatar Harsh Sahu Committed by Andrew Chant
Browse files

msm: mdss: fix race condition during mdp debugfs release


Fix race condition in the release of the mdp debugfs functions
panel_debug_base_release and mdss_debug_base_release by adding
the lock for unpreempted freeing of the buffer so that multiple
concurrent processes cannot affect the release which can possibly
lead to use-after-free operation on the buffer.

Bug: 33863407
Change-Id: I9586081b65ae2eb0e7f6e30c606ee748ae9ef7e8
Signed-off-by: default avatarHarsh Sahu <hsahu@codeaurora.org>
Signed-off-by: default avatarSteve Pfetsch <spfetsch@google.com>
parent 6d26507a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment