[Intel-gfx] [PATCH v3] drm/i915: Synchronize active and retire callbacks

Sultan Alsawaf sultan at kerneltoast.com
Sat Apr 4 02:41:56 UTC 2020


On Fri, Apr 03, 2020 at 03:35:15PM -0700, Sultan Alsawaf wrote:
> +			ref->retire(ref);
> +			mutex_unlock(&ref->callback_lock);

Ugh, this patch is still wrong because the mutex unlock after ref->retire() is a
use-after-free. Fun times...

Sultan


More information about the Intel-gfx mailing list