[PATCH] drm/i915: Use after free in error path in intel_vgpu_create_workload()

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 8 10:44:21 UTC 2019


Quoting Dan Carpenter (2019-08-08 11:32:36)
> We can't free "workload" until after the printk or it's a use after
> free.
> 
> Fixes: 2089a76ade90 ("drm/i915/gvt: Checking workload's gma earlier")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

That's the simpler patch,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the dri-devel mailing list