[PATCH 0/6] Rockchip DRM use-after-free & null-ptr-deref fixes
Chaoyi Chen
chaoyi.chen at rock-chips.com
Wed Jan 21 18:27:13 PST 2026
Hi Cristian,
On 1/22/2026 7:17 AM, Cristian Ciocaltea wrote:
> The first three patches in the series are fixes for use-after-free &
> null-ptr-deref related issues found in dw_dp and inno-hdmi Rockchip DRM
> drivers.
>
Have you tried calling unbind() and bind() multiple times?
In this case, can DRM still work properly?
> The remaining ones provide a few minor improvements to dw_dp and
> dw_hdmi_qp.
>
> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at collabora.com>
> ---
> Cristian Ciocaltea (6):
> drm/rockchip: inno-hdmi: Switch to drmm_kzalloc()
> drm/rockchip: dw_dp: Switch to drmm_kzalloc()
> drm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove()
> drm/rockchip: dw_dp: Simplify error handling
> drm/rockchip: dw_dp: Drop unnecessary #include
> drm/rockchip: dw_hdmi_qp: Switch to drmm_encoder_init()
>
> drivers/gpu/drm/rockchip/dw_dp-rockchip.c | 35 ++++++++++----------------
> drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 13 +++++-----
> drivers/gpu/drm/rockchip/inno_hdmi-rockchip.c | 3 ++-
> 3 files changed, 21 insertions(+), 30 deletions(-)
> ---
> base-commit: 68b271a3a94cfd6c7695a96b6398b52feb89e2c2
> change-id: 20260122-drm-rk-fixes-a7622c71553e
>
>
>
>
--
Best,
Chaoyi
More information about the linux-arm-kernel
mailing list