Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
msm: kgsl: Remove VM_MAYWRITE flag to restrict mprotect
When VM_MAYWRITE flag is used during mmap(), mprotect() can be used later to change the protection of memstore to allow write. Make sure this does not happen by removing VM_MAYWRITE from the vm_flags of vma. Change-Id: I6f69f05858ea40611d512cfa796caabeaa88cdb5 Signed-off-by: Indira Biruduraju <[email protected]> CVE-2020-11282 Signed-off-by: Kevin F. Haggerty <[email protected]>
- Loading branch information