summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/dma-buf.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-06-20 10:29:17 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-06-20 15:21:43 +0200
commit996818869c9cc25581e81ff809d790651129cb4a (patch)
tree94a66a5845516f343fad0515d828a401953fb899 /drivers/dma-buf/dma-buf.c
parentdrm/i915: Move backlight unregistration to connector unregistration (diff)
downloadlinux-996818869c9cc25581e81ff809d790651129cb4a.tar.xz
linux-996818869c9cc25581e81ff809d790651129cb4a.zip
drm/i915: Avoid use-after-free of intel_encoder in intel_dp_connector_destrpy
The drm_dp_aux is associated with the intel_dp encoder and not the connector. Since the encoder is destroyed before the connector, attempting to free the drm_dp_aux from inside the connector cleanup causes a use-after-free. This was applied to the patch that CI was happy with, but in the confusion of so many series trying to make CI happy, the unready patch was plucked. Fixes: c191eca110a3 ("drm/i915: Move intel_connector->unregister to connector->early_unregister") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1466411357-730-1-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/dma-buf/dma-buf.c')
0 files changed, 0 insertions, 0 deletions