[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <vub7syv7k5t44snkkkdrqsco6jlw6bfen5xbbvyz5wothfjfv5@n3w3gdqjrx2p>
Date: Mon, 13 Jan 2025 12:00:15 -0500
From: Daniel Jordan <daniel.m.jordan@...cle.com>
To: Chen Ridong <chenridong@...weicloud.com>
Cc: steffen.klassert@...unet.com, herbert@...dor.apana.org.au, 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 Fri, Jan 10, 2025 at 06:16:39AM +0000, Chen Ridong wrote:
...
> Fixes: bbefa1dd6a6d ("crypto: pcrypt - Avoid deadlock by using per-instance padata queues")
> Signed-off-by: Chen Ridong <chenridong@...wei.com>
Series looks good, thanks for the persistence.
Acked-by: Daniel Jordan <daniel.m.jordan@...cle.com>
> diff --git a/kernel/padata.c b/kernel/padata.c
...
> static void invoke_padata_reorder(struct work_struct *work)
> @@ -364,6 +370,8 @@ static void invoke_padata_reorder(struct work_struct *work)
> pd = container_of(work, struct parallel_data, reorder_work);
> padata_reorder(pd);
> local_bh_enable();
> + /* Pairs with putting the reorder_work in the serial_wq */
s/putting/getting/
Powered by blists - more mailing lists