aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2026-09-15 22:17:42 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-10-01 11:59:30 -0400
commitb80987c0904a60e63f37f5e053679376257109c0 (patch)
tree103cc792e543a903f7ac9d1ef6c1ca26aab5c6ad /scripts/Makefile.thinlto
parentdrm/amdgpu/gfx: preserve collateral rings during gfx pipe reset (diff)
drm/amdgpu: Fix BO reference leak in UALink export error path
amdgpu_ualink_export_handle() takes an explicit amdgpu_bo_ref() before building the exporter node, and the out: label only drops the reference from drm_gem_object_lookup(). The xarray insert failure path unrefs the BO, but the drm_gem_prime_handle_to_dmabuf() failure path does not. Userspace can hit that path at will, for example by exhausting its file descriptor table so the dmabuf export returns -EMFILE, leaking a BO reference and its pinned VRAM on every attempt. Fixes: c67cb19811ec ("drm/amdgpu: Implement UALink handle export") Reported-by: Sashiko-bot <sashiko-bot@kernel.org> Closes: https://sashiko.dev/#/patchset/20260914054604.12850-1-kmehltretter@gmail.com?part=1 Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions