Re: [PATCH v10 02/69] drm/connector: hdmi: Handle reset() state allocation failure
From: Maxime Ripard
Date: Thu Aug 13 2026 - 09:47:58 EST
On Fri, 31 Jul 2026 19:19:09 +0300, Cristian Ciocaltea wrote:
> In drmm_connector_hdmi_init(), if the reset callback fails to allocate
> memory, e.g. inside drm_atomic_helper_connector_reset(),
> connector->state will remain NULL. This is unconditionally passed to
> drm_connector_attach_max_bpc_property(), leading to a NULL pointer
> dereference.
>
> [ ... ]
Reviewed-by: Maxime Ripard <mripard@xxxxxxxxxx>
Thanks!
Maxime