From: Pavan Kondeti <pavan.kondeti@oss.qualcomm.com>
To: Tejun Heo <tj@kernel.org>
Cc: Pavankumar Kondeti <pavan.kondeti@oss.qualcomm.com>,
Lai Jiangshan <jiangshanlai@gmail.com>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] workqueue: Fix NULL current_pwq deref in flush dependency check
Date: Mon, 28 Sep 2026 09:29:24 +0530 [thread overview]
Message-ID: <b4f1d325-8e4a-41c7-a9be-44c68ed66d88@quicinc.com> (raw)
In-Reply-To: <42a21c8fdeb903d8511a279b5cf2e242@kernel.org>
On Sat, Sep 26, 2026 at 10:30:46PM -1000, Tejun Heo wrote:
> Applied to wq/for-7.3-fixes.
>
> - is_chained_work() has the same problem. It dereferences
> worker->current_pwq after checking only worker. It is only reached when
> queueing on a draining or destroying workqueue, but a kworker outside a
> work item would crash there the same way. Can you send a fix for that
> one too?
>
Thanks Tejun. I have sent the fix for is_chained_work() and CC'd stable.
I have also sent a separate fix to cover current_is_workqueue_mem_reclaim()
which is exported but there is only one user (NFS). It does not appear
to me that this can be triggered from NFS code path, so for now I did
not copy stable for this patch.
Thanks,
Pavan
prev parent reply other threads:[~2026-09-28 3:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-25 9:55 Pavankumar Kondeti
2026-09-27 8:30 ` Tejun Heo
2026-09-28 3:59 ` Pavan Kondeti [this message]
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=b4f1d325-8e4a-41c7-a9be-44c68ed66d88@quicinc.com \
--to=pavan.kondeti@oss.qualcomm.com \
--cc=jiangshanlai@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=tj@kernel.org \
/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®