Re: [PATCH -rc] workqueue: Reimplement UAF fix to avoid lockdep worning
From: Tejun Heo
Date: Fri May 31 2024 - 13:45:49 EST
Hello,
On Fri, May 31, 2024 at 06:48:51AM +0300, Leon Romanovsky wrote:
> We have similar issues but with different workqueue.
So, the problem with the proposed patch is that pwq may still be in use by
then (due to async freeing) and thus can't be freed immediately. I still
don't understand why KASAN is triggering there. I tried to repro by
introducing a pwq alloc failure but couldn't. Can you please share the
repro?
Thanks.
--
tejun