From: Tejun Heo <tj@kernel.org>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Sean Fu <fxinrong@gmail.com>,
Lai Jiangshan <jiangshanlai@gmail.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] workqueue: Fix an use after free in init_rescuer()
Date: Mon, 11 May 2020 14:27:01 +0000 [thread overview]
Message-ID: <20200511142701.GC16815@mtj.duckdns.org> (raw)
In-Reply-To: <20200508150740.GA415175@mwanda>
On Fri, May 08, 2020 at 06:07:40PM +0300, Dan Carpenter wrote:
> We need to preserve error code before freeing "rescuer".
>
> Fixes: f187b6974f6df ("workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Applied to wq/for-5.8. Thank you.
--
tejun
WARNING: multiple messages have this Message-ID (diff)
From: Tejun Heo <tj@kernel.org>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Sean Fu <fxinrong@gmail.com>,
Lai Jiangshan <jiangshanlai@gmail.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] workqueue: Fix an use after free in init_rescuer()
Date: Mon, 11 May 2020 10:27:01 -0400 [thread overview]
Message-ID: <20200511142701.GC16815@mtj.duckdns.org> (raw)
In-Reply-To: <20200508150740.GA415175@mwanda>
On Fri, May 08, 2020 at 06:07:40PM +0300, Dan Carpenter wrote:
> We need to preserve error code before freeing "rescuer".
>
> Fixes: f187b6974f6df ("workqueue: Use IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO.")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Applied to wq/for-5.8. Thank you.
--
tejun
next prev parent reply other threads:[~2020-05-11 14:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-08 15:07 [PATCH] workqueue: Fix an use after free in init_rescuer() Dan Carpenter
2020-05-08 15:07 ` Dan Carpenter
2020-05-10 10:33 ` Lai Jiangshan
2020-05-10 10:33 ` Lai Jiangshan
2020-05-11 14:27 ` Tejun Heo [this message]
2020-05-11 14:27 ` Tejun Heo
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=20200511142701.GC16815@mtj.duckdns.org \
--to=tj@kernel.org \
--cc=dan.carpenter@oracle.com \
--cc=fxinrong@gmail.com \
--cc=jiangshanlai@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.