[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aDPO-9j83gUg-eMg@gondor.apana.org.au>
Date: Mon, 26 May 2025 10:16:27 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Chen Ridong <chenridong@...weicloud.com>
Cc: steffen.klassert@...unet.com, daniel.m.jordan@...cle.com,
nstange@...e.de, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, chenridong@...wei.com,
wangweiyang2@...wei.com
Subject: Re: [PATCH v2 3/3] padata: avoid UAF for reorder_work
On Mon, May 26, 2025 at 09:15:37AM +0800, Chen Ridong wrote:
>
> Unfortunately, I did not reproduce this bug, It was mentioned:
> https://lore.kernel.org/all/20221019083708.27138-6-nstange@suse.de/
>
> We through that the kworker is asynchronous, and this scenarios may happen.
Right. I think the only way this can happen is through padata_replace.
That is indeed completely asynchronous and must be guarded against
using the reference count.
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists