From: Douglas Gilbert <dgilbert@interlog.com>
To: linux-scsi@vger.kernel.org
Cc: martin.petersen@oracle.com, jejb@linux.vnet.ibm.com,
hare@suse.de, dan.carpenter@oracle.com, colin.king@canonical.com
Subject: [PATCH v2 0/6] sg: fixes for 5.13/scsi-staging
Date: Wed, 17 Mar 2021 11:27:52 -0400 [thread overview]
Message-ID: <20210317152758.51689-1-dgilbert@interlog.com> (raw)
This patchset addresses reports sent by Colin King to the linux-scsi
list in 20210311 based on coverity reports. There were also similar
reports from Dan Carpenter the following day. Plus syzbot (KASAN)
made a double free report. These were due to a 45 part patchset:
"sg: add v4 interface" applied to 5.13/scsi-staging recently.
Patches 1, 2 and 4 address those concerns.
Colin King sent a patch titled: "[PATCH][next] scsi: sg: Fix use of
pointer sfp after it has been kfree'd" [linux-scsi 20210311] which
should be applied.
Dan Carpenter sent a patch titled: "Re: [PATCH] scsi: sg: Fix a
warning message" [linux-scsi 20210312] regarding the use of
WARN_ONCE() which should be applied.
Patches 3, 5 and 6 are due to the author's ongoing testing.
This patchset is against MKP's repository, 5.13/scsi-staging
branch.
Douglas Gilbert (6):
sg: sg_rq_map_kern: fix uninitialized
sg: sg_remove_sfp_usercontext: remove NULL check
sg: sg_rq_end_io: set SG_FRQ_ISSUED
sg: fix double free of long scsi commands
sg: tighten handling of struct request objects
sg: remove debugging remnants
drivers/scsi/sg.c | 87 +++++++++++++++++++----------------------------
1 file changed, 35 insertions(+), 52 deletions(-)
--
2.25.1
next reply other threads:[~2021-03-17 15:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-17 15:27 Douglas Gilbert [this message]
2021-03-17 15:27 ` [PATCH v2 1/6] sg: sg_rq_map_kern: fix uninitialized Douglas Gilbert
2021-03-17 15:27 ` [PATCH v2 2/6] sg: sg_remove_sfp_usercontext: remove NULL check Douglas Gilbert
2021-03-17 15:27 ` [PATCH v2 3/6] sg: sg_rq_end_io: set SG_FRQ_ISSUED Douglas Gilbert
2021-03-17 15:27 ` [PATCH v2 4/6] sg: fix double free of long scsi commands Douglas Gilbert
2021-03-17 15:27 ` [PATCH v2 5/6] sg: tighten handling of struct request objects Douglas Gilbert
2021-03-17 15:27 ` [PATCH v2 6/6] sg: remove debugging remnants 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=20210317152758.51689-1-dgilbert@interlog.com \
--to=dgilbert@interlog.com \
--cc=colin.king@canonical.com \
--cc=dan.carpenter@oracle.com \
--cc=hare@suse.de \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.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.