lkml.org 
[lkml]   [2025]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 3/3] padata: avoid UAF for reorder_work
From


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/
>

\
 
 \ /
  Last update: 2025-01-14 13:22    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog