[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJNi4rMEtTe+qB3eSprzXRFDfa+oPXURDnws2659LUWxnhpn3w@mail.gmail.com>
Date: Fri, 16 Dec 2022 09:14:19 +0800
From: richard clark <richard.xnu.clark@...il.com>
To: Lai Jiangshan <jiangshanlai@...il.com>
Cc: tj@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] workqueue: Add a new flag to spot the potential UAF error
Hello TJ,
On Wed, Dec 14, 2022 at 3:16 PM Lai Jiangshan <jiangshanlai@...il.com> wrote:
>
> On Tue, Dec 13, 2022 at 12:40 PM Richard Clark
> <richard.xnu.clark@...il.com> wrote:
> >
> > Currently if the user queues a new work item unintentionally
> > into a wq after the destroy_workqueue(wq), the work still can
> > be queued and scheduled without any noticeable kernel message
> > before the end of a RCU grace period.
> >
> > As a debug-aid facility, this commit adds a new flag
> > __WQ_DESTROYING to spot that issue by triggering a kernel WARN
> > message.
> >
> > Signed-off-by: Richard Clark <richard.xnu.clark@...il.com>
>
> Reviewed-by: Lai Jiangshan <jiangshanlai@...il.com>
What do I need to do for this patch next?
Thanks
Powered by blists - more mailing lists