Skip to content
Snippets Groups Projects
Commit 80c34750 authored by Dennis Cagle's avatar Dennis Cagle Committed by Siqi Lin
Browse files

msm: camera: isp: Handle array out of bounds

The pointer qbuf_buf comes from userspace.
qbuf_buf->num_planes is used with no bound check,
which if set to a large value, it will overflow
buf_info->mapped_info and qbuf_buf->planes

CRs-Fixed: 2003798

Bug: 38196031
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-3.10/commit


Git-commit: 333a535f8323821b1d46b408f2305712640d1767
Change-Id: I332e0424e57bb14b481a740604a09350e6f029a8
Signed-off-by: default avatarSenthil Kumar Rajagopal <skrajago@codeaurora.org>
Signed-off-by: default avatarDennis Cagle <d-cagle@codeaurora.org>
parent 5479a3c1
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