[Intel-gfx] [PATCH 1/2] drm/i915: Fix a potential UAF at device unload
Das, Nirmoy
nirmoy.das at linux.intel.com
Thu Sep 29 11:36:33 UTC 2022
On 9/29/2022 1:32 PM, Andi Shyti wrote:
> 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!
>
> Thanks,
> Andi
More information about the Intel-gfx
mailing list