[PATCH] drm/xe: Fix access_ok check in user_fence_create

Matthew Auld matthew.auld at intel.com
Tue Aug 6 11:53:41 UTC 2024


On 06/08/2024 12:07, Nirmoy Das wrote:
> Check size of the data not size of the pointer.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202407300421.IBkAja96-lkp@intel.com/
> Fixes: 0fde907da2d5 ("drm/xe: Validate user fence during creation")
> Cc: Matthew Auld <matthew.auld at intel.com>
> Cc: Matthew Brost <matthew.brost at intel.com>
> Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-xe mailing list