diff options
author | Nirmoy Das <nirmoy.das@intel.com> | 2024-08-06 14:07:22 +0300 |
---|---|---|
committer | Nirmoy Das <nirmoy.das@intel.com> | 2024-08-07 11:44:32 +0300 |
commit | e102b5ed6e283a144793cab8fcd95f61d0ddbadb (patch) | |
tree | ebfea5d5a2b0b0b3711825fcc48a1d723deecfa7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b62ef7e4021f74bb12445987efd8109ccca289c4 (diff) | |
download | linux-e102b5ed6e283a144793cab8fcd95f61d0ddbadb.tar.xz |
drm/xe: Fix access_ok check in user_fence_create
Check size of the data not size of the pointer.
Reported-by: kernel test robot <lkp@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@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Reviewed-by: Apoorva Singh <apoorva.singh@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240806110722.28661-1-nirmoy.das@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions