Skip to content
Snippets Groups Projects
Commit fd562173 authored by shunmin_wang's avatar shunmin_wang Committed by Carol_Jiang
Browse files

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

msm: mdss: fix possible out-of-bounds and overflow issue in mdp debugfs (CVE-2016-2489)(CVE-2016-2465)

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.

Change-Id: I8a76fe64d2885879870c4e239333bc3da2c2256c
Reviewed-on: http://mcrd1-22-pc.corpnet.asus/code-review/master/231138


Reviewed-by: default avatarshunmin_wang <shunmin_wang@asus.com>
Tested-by: default avatarshunmin_wang <shunmin_wang@asus.com>
parent 2e5eebe6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment