Re: [PATCH] drm/amdgpu: Fix integer overflow issues in amdgpu_userq_fence.c

2025-05-30 Thread Alex Deucher
Applied. Thanks! On Fri, May 23, 2025 at 12:25 PM Dan Carpenter wrote: > > This patch only affects 32bit systems. There are several integer > overflows bugs here but only the "sizeof(u32) * num_syncobj" > multiplication is a problem at runtime. (The last lines of this patch). > > These variabl

[PATCH] drm/amdgpu: Fix integer overflow issues in amdgpu_userq_fence.c

2025-05-24 Thread Dan Carpenter
This patch only affects 32bit systems. There are several integer overflows bugs here but only the "sizeof(u32) * num_syncobj" multiplication is a problem at runtime. (The last lines of this patch). These variables are u32 variables that come from the user. The issue is the multiplications can o