[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167952749009.1581958.8929689445648705036.b4-ty@sntech.de>
Date: Thu, 23 Mar 2023 00:24:54 +0100
From: Heiko Stuebner <heiko@...ech.de>
To: Sandy Huang <hjc@...k-chips.com>, Toby Chen <tobyc@...dia.com>
Cc: Heiko Stuebner <heiko@...ech.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/rockchip: dw_hdmi: cleanup drm encoder during unbind
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@...ech.de>
Powered by blists - more mailing lists