Messages in this thread | | | From | Heiko Stuebner <> | Subject | Re: [PATCH] drm/rockchip: dw_hdmi: cleanup drm encoder during unbind | Date | Thu, 23 Mar 2023 00:24:54 +0100 |
| |
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@sntech.de>
| |