diff options
author | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-08-20 17:04:26 -0700 |
---|---|---|
committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-09-06 08:58:11 -0700 |
commit | 3a3bef68a6c15d079646a964ebc4dc8bb0aedb06 (patch) | |
tree | 7fbfde597ab38afbd92693976907142b1091693c /rust/helpers/build_bug.c | |
parent | 278f8904434aa96055e793936b5977c010549e28 (diff) |
drm/msm: Fix missing VM_BIND offset/range validation
We need to reject the MAP op if offset+range is larger than the BO size.
Reported-by: Connor Abbott <cwabbott0@gmail.com>
Fixes: 2e6a8a1fe2b2 ("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/
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions