Re: [PATCH] workqueue: Fix an use after free in init_rescuer()
From: Tejun Heo
Date: Mon May 11 2020 - 10:27:06 EST
On Fri, May 08, 2020 at 06:07:40PM +0300, Dan Carpenter wrote:
> We need to preserve error code before freeing "rescuer".
>
> Fixes: f187b6974f6df ("workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.")
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Applied to wq/for-5.8. Thank you.
--
tejun