[PATCH] drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
Heiko Stuebner
heiko at sntech.de
Wed Mar 22 16:24:54 PDT 2023
On Thu, 16 Mar 2023 17:51:26 -0700, Toby Chen wrote:
> This fixes a use-after-free crash during rmmod.
>
> The DRM encoder is embedded inside the larger rockchip_hdmi,
> which is allocated with the component. The component memory
> gets freed before the main drm device is destroyed. Fix it
> by running encoder cleanup before tearing down its container.
>
> [...]
Applied, thanks!
[1/1] drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
commit: b5af48eedcb53491c02ded55d5991e03d6da6dbf
Best regards,
--
Heiko Stuebner <heiko at sntech.de>
More information about the linux-arm-kernel
mailing list