[PATCH v4] drm/i915: Fix NULL pointer dereference in capture_engine

Andi Shyti andi.shyti at linux.intel.com
Thu Nov 28 23:06:24 UTC 2024


Hi Eugene,

On Thu, Nov 28, 2024 at 09:28:43PM +0000, Eugene Kobyak wrote:
> When the intel_context structure contains NULL,
> it raises a NULL pointer dereference error in drm_info().
> 
> Fixes: e8a3319c31a1 ("drm/i915: Allow error capture without a request")
> Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12309
> Cc: John Harrison <John.C.Harrison at Intel.com>
> Cc: <stable at vger.kernel.org> # v6.3+
> Signed-off-by: Eugene Kobyak <eugene.kobyak at intel.com>

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>

Thanks,
Andi


More information about the Intel-gfx mailing list