mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gal Pressman <galpress@amazon.com>
To: Xidong Wang <wangxidong_97@163.com>
Cc: Doug Ledford <dledford@redhat.com>,
	Jason Gunthorpe <jgg@ziepe.ca>,
	"Yishai Hadas" <yishaih@mellanox.com>,
	Leon Romanovsky <leon@kernel.org>,
	Max Gurtovoy <maxg@mellanox.com>,
	Maor Gottlieb <maorg@mellanox.com>, <linux-rdma@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/1] RDMA/core: Don't copy uninitialized stack memory to userspace
Date: Tue, 9 Jun 2020 12:20:57 +0300	[thread overview]
Message-ID: <844cee99-5f52-3110-02b2-60b205f1a189@amazon.com> (raw)
In-Reply-To: <1591692057-46380-1-git-send-email-wangxidong_97@163.com>

On 09/06/2020 11:40, Xidong Wang wrote:
> From: xidongwang <wangxidong_97@163.com>
> 
> ib_uverbs_create_ah() may copy stack allocated
> structs to userspace without initializing all members of these
> structs. Clear out this memory to prevent information leaks.

Which members are not initialized?

      reply	other threads:[~2020-06-09  9:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09  8:40 Xidong Wang
2020-06-09  9:20 ` Gal Pressman [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=844cee99-5f52-3110-02b2-60b205f1a189@amazon.com \
    --to=galpress@amazon.com \
    --cc=dledford@redhat.com \
    --cc=jgg@ziepe.ca \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=maorg@mellanox.com \
    --cc=maxg@mellanox.com \
    --cc=wangxidong_97@163.com \
    --cc=yishaih@mellanox.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 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®