[PATCH AUTOSEL 6.1 13/14] drm/amdgpu: fix dereference null return value for the function amdgpu_vm_pt_parent

Christian König christian.koenig at amd.com
Tue Jun 18 11:42:56 UTC 2024


Am 18.06.24 um 11:11 schrieb Pavel Machek:
> Hi!
>
>> [ Upstream commit a0cf36546cc24ae1c95d72253c7795d4d2fc77aa ]
>>
>> The pointer parent may be NULLed by the function amdgpu_vm_pt_parent.
>> To make the code more robust, check the pointer parent.
> If this can happen, it should not WARN().
>
> If this can not happen, we don't need the patch in stable.

Right, that patch shouldn't be backported in any way.

Regards,
Christian.

>
> Best regards,
> 							Pavel
> 							



More information about the dri-devel mailing list