From: Christoph Hellwig <hch@infradead.org>
To: "zhangwensheng (E)" <zhangwensheng@huaweicloud.com>
Cc: lee.jones@linaro.org, linux-kernel@vger.kernel.org,
linux-block@vger.kernel.org
Subject: Re: Question: consult patch
Date: Thu, 11 Aug 2022 22:44:54 -0700 [thread overview]
Message-ID: <YvXo1uCFA57t89Nv@infradead.org> (raw)
In-Reply-To: <420a6c4a-e526-4e8b-d5bd-563c40aa94e1@huaweicloud.com>
On Fri, Aug 12, 2022 at 11:34:59AM +0800, zhangwensheng (E) wrote:
> Hi Lee :
> I saw your patch because of CVE-2022-20158, the patch like below:
>
> ---
> mm: backing-dev: Take a reference to the bdi in use to prevent UAF
I can't see that patch anywhere, and I've not seen an bug report for it.
> Because of a distinct lack of locking and/or reference taking,
> blk_cleanup_queue() puts the final taken reference to the bdi, which
.. and blk_cleanup_queue also is gone upstream.
What am I missing?
next prev parent reply other threads:[~2022-08-12 5:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-12 3:34 Question: consult patch zhangwensheng (E)
2022-08-12 5:44 ` Christoph Hellwig [this message]
2022-08-12 6:27 ` zhangwensheng (E)
2022-08-12 7:26 ` Lee Jones
2022-08-12 7:38 ` zhangwensheng (E)
2022-08-12 9:31 ` Lee Jones
2022-08-12 9:39 ` zhangwensheng (E)
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=YvXo1uCFA57t89Nv@infradead.org \
--to=hch@infradead.org \
--cc=lee.jones@linaro.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zhangwensheng@huaweicloud.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 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.