summaryrefslogtreecommitdiff
path: root/lib/extable.c
diff options
context:
space:
mode:
authorNirmoy Das <nirmoy.das@intel.com>2024-02-19 13:50:47 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2024-02-28 13:11:32 +0000
commitdb7bbd13f08774cde0332c705f042e327fe21e73 (patch)
treeb3e84284042f841e0e7e9547ee15eb5d27cac6fe /lib/extable.c
parent5cf0fbf7637410aea88819e64a4bd5ea14ccbbfc (diff)
drm/i915: Check before removing mm notifier
Error in mmu_interval_notifier_insert() can leave a NULL notifier.mm pointer. Catch that and return early. Fixes: ed29c2691188 ("drm/i915: Fix userptr so we do not have to worry about obj->mm.lock, v7.") Cc: <stable@vger.kernel.org> # v5.13+ [tursulin: Added Fixes and cc stable.] Cc: Andi Shyti <andi.shyti@linux.intel.com> Cc: Shawn Lee <shawn.c.lee@intel.com> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240219125047.28906-1-nirmoy.das@intel.com Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions