On Mon, 8 Apr 2024 15:58:10 +0300, Aleksandr Mishin wrote: > In cdns_mhdp_atomic_enable(), the return value of drm_mode_duplicate() is > assigned to mhdp_state->current_mode, and there is a dereference of it in > drm_mode_set_name(), which will lead to a NULL pointer dereference on > failure of drm_mode_duplicate(). > > Fix this bug add a check of mhdp_state->current_mode. > > [...] Applied, thanks! [1/1] drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference https://cgit.freedesktop.org/drm/drm-misc/commit/?id=935a92a1c400 Rob