Hello Marek,
On Mon Nov 3, 2025 at 9:02 PM CET, Marek Vasut wrote:
> Set valid bridge_connector->bridge_hdmi_cec pointer before calling
> possibly calling drmm_connector_hdmi_cec_register(), because
> drmm_connector_hdmi_cec_register() directory calls
> drm_bridge_connector_hdmi_cec_funcs .init callback,
> which does access and use bridge_connector->bridge_hdmi_cec
> and expects a valid pointer there.
>
> Without this fix, on Renesas R-Car E3 R8A77990 , the system
> crashes on NULL pointer dereference.
>
> Fixes: 2be300f9a0b6 ("drm/display: bridge_connector: get/put the stored
> bridges")
> Signed-off-by: Marek Vasut <[email protected]>
Thanks for the report!
A fix was committed to drm-misc-next last Monday. It's actually a revert of
the original patch followed by a correct implementation:
b4027536933f Revert "drm/display: bridge_connector: get/put the stored
bridges"
13adb8c97846 drm/display: bridge_connector: get/put the stored bridges
a3f433c57c46 drm/display: bridge_connector: get/put the panel_bridge
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com