[PATCH v2] accel/qaic: Fix integer overflow in qaic_validate_req()
Jeff Hugo
jeff.hugo at oss.qualcomm.com
Fri Mar 14 16:46:18 UTC 2025
On 3/7/2025 1:41 AM, Dan Carpenter wrote:
> 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: stable at vger.kernel.org
> Fixes: ff13be830333 ("accel/qaic: Add datapath")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
Thanks!
Reviewed-by: Jeff Hugo <jeff.hugo at oss.qualcomm.com>
More information about the dri-devel
mailing list