mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: chenridong <chenridong@huawei.com>
To: Daniel Jordan <daniel.m.jordan@oracle.com>,
	Chen Ridong <chenridong@huaweicloud.com>
Cc: <steffen.klassert@secunet.com>, <herbert@gondor.apana.org.au>,
	<nstange@suse.de>, <linux-crypto@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <wangweiyang2@huawei.com>
Subject: Re: [PATCH v2 3/3] padata: avoid UAF for reorder_work
Date: Tue, 14 Jan 2025 20:22:13 +0800	[thread overview]
Message-ID: <7b912100-3504-4d9d-a94a-d45f98aee00c@huawei.com> (raw)
In-Reply-To: <vub7syv7k5t44snkkkdrqsco6jlw6bfen5xbbvyz5wothfjfv5@n3w3gdqjrx2p>



On 2025/1/14 1:00, Daniel Jordan wrote:
> 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@huawei.com>
> 
> Series looks good, thanks for the persistence.
> 

Thank you for your patience.

Best regards,
Ridong
> Acked-by: Daniel Jordan <daniel.m.jordan@oracle.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/
> 

  reply	other threads:[~2025-01-14 12:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-10  6:16 [PATCH v2 0/3] padata: fix UAF issues Chen Ridong
2025-01-10  6:16 ` [PATCH v2 1/3] padata: add pd get/put refcnt helper Chen Ridong
2025-01-13 16:57   ` Daniel Jordan
2025-01-10  6:16 ` [PATCH v2 2/3] padata: fix UAF in padata_reorder Chen Ridong
2025-01-13 16:57   ` Daniel Jordan
2025-01-10  6:16 ` [PATCH v2 3/3] padata: avoid UAF for reorder_work Chen Ridong
2025-01-13 17:00   ` Daniel Jordan
2025-01-14 12:22     ` chenridong [this message]
2025-05-23  3:59   ` Herbert Xu
2025-05-26  1:15     ` Chen Ridong
2025-05-26  2:16       ` Herbert Xu
2025-01-19  4:45 ` [PATCH v2 0/3] padata: fix UAF issues Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b912100-3504-4d9d-a94a-d45f98aee00c@huawei.com \
    --to=chenridong@huawei.com \
    --cc=chenridong@huaweicloud.com \
    --cc=daniel.m.jordan@oracle.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nstange@suse.de \
    --cc=steffen.klassert@secunet.com \
    --cc=wangweiyang2@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®