aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-03-07 08:41:48 +0000
committerJeff Hugo <[email protected]>2025-03-14 16:47:15 +0000
commit67d15c7aa0864dfd82325c7e7e7d8548b5224c7b (patch)
tree3e4b653dba18a578d0829c39b3ff8d15d237b4ae /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentaccel/qaic: Fix possible data corruption in BOs > 2G (diff)
downloadkernel-67d15c7aa0864dfd82325c7e7e7d8548b5224c7b.tar.gz
kernel-67d15c7aa0864dfd82325c7e7e7d8548b5224c7b.zip
accel/qaic: Fix integer overflow in qaic_validate_req()
These are u64 variables that come from the user via qaic_attach_slice_bo_ioctl(). Use check_add_overflow() to ensure that the math doesn't have an integer wrapping bug. Cc: [email protected] Fixes: ff13be830333 ("accel/qaic: Add datapath") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Jeff Hugo <[email protected]> Signed-off-by: Jeff Hugo <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions