mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
drm/msm: Fix missing VM_BIND offset/range validation
[ Upstream commit3a3bef68a6] We need to reject the MAP op if offset+range is larger than the BO size. Reported-by: Connor Abbott <cwabbott0@gmail.com> Fixes:2e6a8a1fe2("drm/msm: Add VM_BIND ioctl") Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com> Tested-by: Connor Abbott <cwabbott0@gmail.com> Patchwork: https://patchwork.freedesktop.org/patch/669781/ Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2b512909a2
commit
1c444932dd
1 changed files with 6 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue