]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu/userq: Fix reference leak in amdgpu_userq_wait_ioctl
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Mon, 23 Feb 2026 12:41:30 +0000 (12:41 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Feb 2026 21:26:29 +0000 (16:26 -0500)
commit68951e9c3e6bb22396bc42ef2359751c8315dd27
tree8949aa335fb0a84431d68698570dbd6c0a980cb3
parent6fde419222a82e4dd201a0cafca63ef8cf56045f
drm/amdgpu/userq: Fix reference leak in amdgpu_userq_wait_ioctl

Drop reference to syncobj and timeline fence when aborting the ioctl due
output array being too small.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Fixes: a292fdecd728 ("drm/amdgpu: Implement userqueue signal/wait IOCTL")
Cc: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c