drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()
authorjsg <jsg@openbsd.org>
Thu, 17 Aug 2023 03:37:18 +0000 (03:37 +0000)
committerjsg <jsg@openbsd.org>
Thu, 17 Aug 2023 03:37:18 +0000 (03:37 +0000)
commit8f0674ba9cf66ce4b4909e127d7e37d132d15653
treecad9307bdfc9fdfa521ff08846191ad2b2ddf558
parent3eb7743c473607cfd7ab5a707bc392b86777e7d2
drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()

From Alex Deucher
9a2393af1f35d1975204fc00035c64a1c792b278 in linux-6.1.y/6.1.46
90e065677e0362a777b9db97ea21d43a39211399 in mainline linux
sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c