Hi, On Fri, 17 Jul 2026 16:02:03 +0200, Albert Esteve wrote: > The drm_panel subsystem provides kref-based reference counting [1] > (drm_panel_get/put) but almost nothing in the tree actually uses it. > This results in a systemic use-after-free pattern throughout the codebase. > > This series aims to close all those issues. > > Patches 1-2: fix the infrastructure. drm_panel_add/remove now keep > a counted reference for the list entry. drm_panel_bridge_add_typed() > now holds a counted reference for the lifetime of the panel_bridge. > > [...]
Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next) [1/4] drm/panel: have drm_panel_add/remove manage a list reference https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/b619d9d2af33db01ea237e3546e9d55595e94ea0 [2/4] drm/bridge/panel: hold a reference to the wrapped panel https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/34069e04d338a333561b64a2da055bd16bfba39b [3/4] drm/panel: of_drm_find_panel() return a counted reference https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/738ff709f7cf82a41cbd9f6b8f9b1f236ce26610 [4/4] drm/panel: find_panel_by_fwnode() return a counted reference https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/d857b8ce04a7ed4b36a11db16968ab1652ed702a -- Neil
