In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix a potential ttm->sg memory leak Memory is allocated for ttm->sg by kmalloc in kfdmemdmamapuserptr, but isn't freed by kfree in kfdmemdmaunmapuserptr. Free it!