From: Jason Gunthorpe <jgg@nvidia.com>
To: Bernard Metzler <bmt@zurich.ibm.com>
Cc: linux-rdma@vger.kernel.org, leonro@nvidia.com, David.Laight@aculab.com
Subject: Re: [PATCH] RDMA/siw: Fix missing permission check in user buffer registration
Date: Fri, 16 Dec 2022 14:34:33 -0400 [thread overview]
Message-ID: <Y5y6OaG4+6kPt9O5@nvidia.com> (raw)
In-Reply-To: <20221216183209.21183-1-bmt@zurich.ibm.com>
On Fri, Dec 16, 2022 at 07:32:09PM +0100, Bernard Metzler wrote:
> User communication buffer registration lacks check of access
> rights for provided address range. Using pin_user_pages_fast()
> instead of pin_user_pages() during user page pinning implicitely
> introduces the necessary check. It furthermore tries to avoid
> grabbing the mmap_read_lock.
Huh? What access check?
Jason
next prev parent reply other threads:[~2022-12-16 18:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-16 18:32 [PATCH] RDMA/siw: Fix missing permission check in user buffer registration Bernard Metzler
2022-12-16 18:34 ` Jason Gunthorpe [this message]
2022-12-16 20:11 ` Bernard Metzler
2022-12-16 20:12 ` Jason Gunthorpe
2022-12-20 13:52 ` Bernard Metzler
2023-01-03 13:07 ` Jason Gunthorpe
2023-01-03 14:11 ` Bernard Metzler
2023-01-03 14:15 ` Jason Gunthorpe
2023-01-03 16:19 ` Bernard Metzler
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=Y5y6OaG4+6kPt9O5@nvidia.com \
--to=jgg@nvidia.com \
--cc=David.Laight@aculab.com \
--cc=bmt@zurich.ibm.com \
--cc=leonro@nvidia.com \
--cc=linux-rdma@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).