Re: [PATCH] drm/msm: Fix potential invalid ptr free

2023-02-16 Thread Dmitry Osipenko
On 2/16/23 02:50, Rob Clark wrote: > From: Rob Clark > > The error path cleanup expects that chain and syncobj are either NULL or > valid pointers. But post_deps was not allocated with __GFP_ZERO. > > Fixes: ab723b7a992a ("drm/msm: Add syncobj support.") > Signed-off-by: Rob Clark > --- >

Re: [PATCH] drm/msm: Fix potential invalid ptr free

2023-02-16 Thread Dmitry Baryshkov
On 16/02/2023 01:50, Rob Clark wrote: From: Rob Clark The error path cleanup expects that chain and syncobj are either NULL or valid pointers. But post_deps was not allocated with __GFP_ZERO. Fixes: ab723b7a992a ("drm/msm: Add syncobj support.") Signed-off-by: Rob Clark Reviewed-by:

[PATCH] drm/msm: Fix potential invalid ptr free

2023-02-15 Thread Rob Clark
From: Rob Clark The error path cleanup expects that chain and syncobj are either NULL or valid pointers. But post_deps was not allocated with __GFP_ZERO. Fixes: ab723b7a992a ("drm/msm: Add syncobj support.") Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_gem_submit.c | 5 ++--- 1 file