Skip to content
Snippets Groups Projects
Commit 86ffac22 authored by Naseer Ahmed's avatar Naseer Ahmed Committed by Thierry Strudel
Browse files

msm: mdss: fix possible out-of-bounds and overflow issue in mdp debugfs


There are few cases where the count argument passed by the user
space is not validated, which can potentially lead to out of bounds
or overflow issues. In some cases, kernel might copy more data than
what is requested. Add necessary checks to avoid such cases.

Bug: 27976805
Bug: 27554317
BUG=27407865
Change-Id: Ifa42fbd475665a0ca581c907ce5432584ea0e7ed
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
Signed-off-by: default avatarAdrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: default avatarNaseer Ahmed <naseer@codeaurora.org>
parent 8eaa82aa
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