Re: [PATCH 5.3 113/148] thermal: Fix use-after-free when unregistering thermal zone device
From: Ido Schimmel
Date: Thu Nov 14 2019 - 08:54:46 EST
On Thu, Nov 14, 2019 at 01:17:55PM +0000, Lukasz Luba wrote:
> Hi Greg,
>
> This patch causes a deadlock, the thermal framework stops. Please check
> this fix (I found it before posting exactly the same solution):
> https://lkml.org/lkml/2019/11/12/1075
Sorry about that.
> I have verified it on OdroidXU4 and it works. It needs some cleaning in
> the commit message, though.
> I have added to CC the author: Wei Wang
>
> I don't know in how many stable trees it was applied, but should be fix
> there also.
I checked my mailbox and it seems it was backported to: 4.4, 4.9, 4.14,
4.19, 5.2 (EOL) and 5.3
Thanks