From: Nick Hoath Date: Thu, 29 Jan 2015 16:55:07 +0000 (+0000) Subject: drm/i915: Fix a use-after-free in intel_execlists_retire_requests X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~75^2~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f82107950e9bda3779610e37bdfdccae6fc16f87;p=pandora-kernel.git drm/i915: Fix a use-after-free in intel_execlists_retire_requests Remove request from list before unreferencing it, in case it's actually the only reference. (Found by Tvrtko Ursulin) This issue has been most likely introduced in commit 6d3d8274bc45de4babb62d64562d92af984dd238 Author: Nick Hoath Date: Thu Jan 15 13:10:39 2015 +0000 drm/i915: Subsume intel_ctx_submit_request in to drm_i915_gem_request Signed-off-by: Nick Hoath Reviewed-by: Mika Kuoppala Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed