Re: [Intel-gfx] [PATCH 1/3] drm/i915/dp: Free the drm_dp_aux along with the encoder
On Fri, Jun 17, 2016 at 04:53:55PM +0100, Chris Wilson wrote: > The drm_dp_ax object is stored on the encoder, and freeing it from the > connector causes a use-after-free error since the encoder is destroy > first: > > [ 112.356952] > =
[Intel-gfx] [PATCH 1/3] drm/i915/dp: Free the drm_dp_aux along with the encoder
The drm_dp_ax object is stored on the encoder, and freeing it from the connector causes a use-after-free error since the encoder is destroy first: [ 112.356952] == [ 112.357065] BUG: KASAN: use-after-free in intel_dp_connector_des