diff options
author | Nirmoy Das <[email protected]> | 2024-10-16 10:23:03 +0200 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2024-10-24 12:42:52 -0500 |
commit | 9c1813b3253480b30604c680026c7dc721ce86d1 (patch) | |
tree | 83c3878d118b69da74ad2adb1c22048b755d900b /scripts/generate_rust_analyzer.py | |
parent | 69418db678567bdf9a4992c83d448da462ffa78c (diff) |
drm/xe/ufence: Prefetch ufence addr to catch bogus address
access_ok() only checks for addr overflow so also try to read the addr
to catch invalid addr sent from userspace.
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1630
Cc: Francois Dugast <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Matthew Brost <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Nirmoy Das <[email protected]>
(cherry picked from commit 9408c4508483ffc60811e910a93d6425b8e63928)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions