diff options
author | Nirmoy Das <[email protected]> | 2024-08-06 13:07:22 +0200 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2024-09-12 10:06:30 -0400 |
commit | 062d59eb96b24990429c13706cb74ef09cec7e99 (patch) | |
tree | 044942a97dc537c95b1868b276f2ab6a39f19f0b /scripts/gdb/linux/lists.py | |
parent | 5e2d1d4dc1c15da3e1e3dc09dc3c1276274439b2 (diff) |
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: ddeb7989a98f ("drm/xe: Validate user fence during creation")
Cc: Matthew Auld <[email protected]>
Cc: Matthew Brost <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Reviewed-by: Tejas Upadhyay <[email protected]>
Reviewed-by: Apoorva Singh <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Nirmoy Das <[email protected]>
(cherry picked from commit e102b5ed6e283a144793cab8fcd95f61d0ddbadb)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions