public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>,
	James Bottomley <james.bottomley@hansenpartnership.com>,
	linux-scsi@vger.kernel.org,
	Alexander Potapenko <glider@google.com>,
	Ingo Molnar <mingo@redhat.com>,
	Dmitry Vyukov <dvyukov@google.com>,
	security@kernel.org, Hannes Reinecke <hare@suse.de>
Subject: [PATCH 0/2] sg: fix infoleak when using SG_GET_REQUEST_TABLE
Date: Fri, 15 Sep 2017 14:05:14 +0200	[thread overview]
Message-ID: <1505477116-75013-1-git-send-email-hare@suse.de> (raw)

KMSAN detected a possible infoleak when using SG_GET_REQUEST_TABLE ioctl.
This patchset fixes it.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
  sg: factor out sg_fill_request_table()
  sg: fixup infoleak when using SG_GET_REQUEST_TABLE

 drivers/scsi/sg.c | 65 +++++++++++++++++++++++++++++++------------------------
 1 file changed, 37 insertions(+), 28 deletions(-)

-- 
1.8.5.6

             reply	other threads:[~2017-09-15 12:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-15 12:05 Hannes Reinecke [this message]
2017-09-15 12:05 ` [PATCH 1/2] sg: factor out sg_fill_request_table() Hannes Reinecke
2017-09-15 14:26   ` Bart Van Assche
2017-09-15 17:54   ` Christoph Hellwig
2017-09-15 19:24   ` Martin K. Petersen
2017-09-15 19:44   ` Douglas Gilbert
2017-09-15 12:05 ` [PATCH 2/2] sg: fixup infoleak when using SG_GET_REQUEST_TABLE Hannes Reinecke
2017-09-15 14:29   ` Bart Van Assche
2017-09-15 17:54   ` Christoph Hellwig
2017-09-15 18:03   ` Eric Dumazet
2017-09-15 18:49   ` Linus Torvalds
2017-09-15 19:24   ` Martin K. Petersen
2017-09-15 19:44   ` Douglas Gilbert

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=1505477116-75013-1-git-send-email-hare@suse.de \
    --to=hare@suse.de \
    --cc=dvyukov@google.com \
    --cc=glider@google.com \
    --cc=hch@lst.de \
    --cc=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=mingo@redhat.com \
    --cc=security@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