Hi Joonas, On Wed, Jul 01, 2026 at 02:45:13PM +0300, Joonas Lahtinen wrote: > Avoid using intel_context_put() before intel_context_init() in > execlists_create_virtual() as the kref_put() inside would lead > to NULL deref on the IOCTL path when sched_engine allocation fails. > > Discovered using AI-assisted static analysis confirmed by > Intel Product Security. > > Reported-by: Martin Hodo <[email protected]> > Fixes: 3e28d37146db ("drm/i915: Move priolist to new i915_sched_engine > object") > Cc: Matthew Brost <[email protected]> > Cc: Daniele Ceraolo Spurio <[email protected]> > Cc: Tvrtko Ursulin <[email protected]> > Cc: <[email protected]> # v5.15+ > Signed-off-by: Joonas Lahtinen <[email protected]>
looks correct! Reviewed-by: Andi Shyti <[email protected]> Thanks, Andi
