aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2022-11-07 16:54:14 +0000
committerMatthew Auld <[email protected]>2022-11-08 09:58:45 +0000
commitccb0e02787d0f80d0081c446aec3756dd8f7bfe0 (patch)
tree4ccdf3e23a7894e121afe2a7d8db3656c8ad864a /lib/mpi/mpi-cmp.c
parent625b74460ec0978979f883fbee117e1b97e6e35e (diff)
drm/i915/ttm: add some sanity checks for lmem_userfault_list
Rather than getting some hard to debug uaf, add some warns to hopefully catch issues with userfault_count being non-zero when destroying the object. Also if we somehow add an object to lmem_userfault_list that somehow doesn't map lmem. References: https://gitlab.freedesktop.org/drm/intel/-/issues/7469 Signed-off-by: Matthew Auld <[email protected]> Cc: Anshuman Gupta <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: Andrzej Hajda <[email protected]> Cc: Nirmoy Das <[email protected]> Reviewed-by: Andrzej Hajda <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions