[PATCH v2 0/8] Rockchip DRM use-after-free & null-ptr-deref fixes
Cristian Ciocaltea
cristian.ciocaltea at collabora.com
Mon Mar 9 15:44:28 PDT 2026
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.
The following three patches provide a few minor improvements to dw_dp
and dw_hdmi_qp, while the remaining two address use-after-free and
memory allocation in DW DP core library.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea at collabora.com>
---
Changes in v2:
- Fixed conflicts while rebasing onto latest drm-misc-next
- Added two more patches:
* drm/bridge: synopsys: dw-dp: Unregister AUX channel on bridge detach
* drm/bridge: synopsys: dw-dp: Drop useless memory allocation
- Link to v1: https://lore.kernel.org/r/20260122-drm-rk-fixes-v1-0-3942f185750e@collabora.com
---
Cristian Ciocaltea (8):
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()
drm/bridge: synopsys: dw-dp: Unregister AUX channel on bridge detach
drm/bridge: synopsys: dw-dp: Drop useless memory allocation
drivers/gpu/drm/bridge/synopsys/dw-dp.c | 12 ++++++---
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 ++-
4 files changed, 29 insertions(+), 34 deletions(-)
---
base-commit: bfb18fd193e2413f02ad934e46887f415f0ce4ec
change-id: 20260122-drm-rk-fixes-a7622c71553e
More information about the Linux-rockchip
mailing list