Le vendredi 13 novembre 2026 à 14:24 +0400, Alex Kazinsky a écrit : > The watchdog can finish the current job before the threaded IRQ handler > retrieves its context. In that case, v4l2_m2m_get_curr_priv() returns NULL, > but the variant IRQ handlers unconditionally dereference ctx->dev. > > Pass only the device pointer to the variant IRQ handlers, so they can > acknowledge interrupts without accessing the current context. Retrieve > the context inside rkvdec_job_finish() instead. In the IRQ path, this > happens only after successfully cancelling the watchdog, while the job > is still active. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Fixes: f9c7b7deeffd ("media: rkvdec: Support per-variant interrupt handler") > Signed-off-by: Alex Kazinsky Reviewed-by: Nicolas Dufresne