Re: [PATCH] gpu: drm: bridge: anx7625: Fix NULL pointer dereference with early IRQ

From: Dmitry Baryshkov

Date: Mon Sep 08 2025 - 13:24:49 EST


On Wed, Jul 09, 2025 at 10:54:38AM +0200, Loic Poulain wrote:
> If the interrupt occurs before resource initialization is complete, the
> interrupt handler/worker may access uninitialized data such as the I2C
> tcpc_client device, potentially leading to NULL pointer dereference.
>
> Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxxxxxxxx>
> ---
> drivers/gpu/drm/bridge/analogix/anx7625.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>

Fixes: 8bdfc5dae4e3 ("drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP")

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>

I will fix subject pick it up for drm-misc-fixes if nobody objects in
the next few days.

--
With best wishes
Dmitry