Re: [PATCH -rc] workqueue: Reimplement UAF fix to avoid lockdep worning

Tariq Toukan
2024-06-04T13:16:17Z

On 04/06/2024 14:40, Leon Romanovsky wrote:
> On Tue, May 28, 2024 at 11:39:58AM +0300, Leon Romanovsky wrote:
>> From: Leon Romanovsky <leonro@nvidia.com>
>>
>> The commit 643445531829 ("workqueue: Fix UAF report by KASAN in
>> pwq_release_workfn()") causes to the following lockdep warning.
>
> <...>
>
>> As a solution, let's rewrite the commit mentioned in Fixes line to
>> properly unwind error without need to flash anything.
>
> Tejun,
>
> If you decide to take this patch, can you please fix typo in the commit message? "flash" -> "flush"
>
> Thanks
>

Also "worning" -> "warning" in subject.