[Intel-gfx] [PATCH 1/2] drm/i915: Fix a potential UAF at device unload
Andi Shyti
andi.shyti at linux.intel.com
Thu Sep 29 11:32:16 UTC 2022
Hi Nirmoy,
On Fri, Sep 23, 2022 at 09:35:14AM +0200, Nirmoy Das wrote:
> i915_gem_drain_freed_objects() might not be enough to
> free all the objects and RCU delayed work might get
> scheduled after the i915 device struct gets freed.
>
> Call i915_gem_drain_workqueue() to catch all RCU delayed work.
>
> Suggested-by: Chris Wilson <chris.p.wilson at intel.com>
> Acked-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
pushed to drm-intel-gt-next
Thanks,
Andi
More information about the Intel-gfx
mailing list