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

Zhenyu Wang zhenyuw at linux.intel.com
Fri Aug 9 00:58:40 UTC 2019

On 2019.08.08 11:44:21 +0100, Chris Wilson wrote:
> 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>

Thanks a lot, will queue this up.

Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190809/5ac5b79d/attachment.sig>

More information about the dri-devel mailing list