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

From: Tariq Toukan
Date: Tue Jun 04 2024 - 09:17:08 EST




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@xxxxxxxxxx>

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.