[PATCH v10 02/69] drm/connector: hdmi: Handle reset() state allocation failure
Maxime Ripard
mripard at kernel.org
Thu Aug 13 06:45:05 PDT 2026
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 at kernel.org>
Thanks!
Maxime
More information about the linux-arm-kernel
mailing list