From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>,
linux-scsi@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>
Subject: [PATCH v4 0/4] Call blk_mq_free_tag_set() earlier
Date: Tue, 12 Jul 2022 15:19:32 -0700 [thread overview]
Message-ID: <20220712221936.1199196-1-bvanassche@acm.org> (raw)
Hi Martin,
This patch series fixes a recently reported use-after-free in the SRP driver.
Please consider this patch series for kernel v5.20.
Changes compared to v3:
- Added a patch to delay scsi_remove_target() until dependent devices have been
removed.
- Split a patch into two patches.
Changes compared to v2:
- Dropped the patch that simplifies scsi_forget_host().
- Replaced patch 2/3 with a patch from Ming Lei.
Changes compared to v1:
- Expanded this series from one to three patches.
- Fixed the description of patch 3/3.
Bart Van Assche (2):
scsi: core: Make sure that targets outlive devices
scsi: core: Call blk_mq_free_tag_set() earlier
Ming Lei (2):
scsi: core: Make sure that hosts outlive targets
scsi: core: Simplify LLD module reference counting
drivers/scsi/hosts.c | 18 +++++++++++++-----
drivers/scsi/scsi.c | 9 ++++++---
drivers/scsi/scsi_lib.c | 3 +++
drivers/scsi/scsi_scan.c | 9 +++++++++
drivers/scsi/scsi_sysfs.c | 29 +++++++++++++++++------------
include/scsi/scsi_device.h | 2 ++
include/scsi/scsi_host.h | 3 +++
7 files changed, 53 insertions(+), 20 deletions(-)
next reply other threads:[~2022-07-12 22:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-12 22:19 Bart Van Assche [this message]
2022-07-12 22:19 ` [PATCH v4 1/4] scsi: core: Make sure that targets outlive devices Bart Van Assche
2022-07-13 1:33 ` Ming Lei
2022-07-12 22:19 ` [PATCH v4 2/4] scsi: core: Make sure that hosts outlive targets Bart Van Assche
2022-07-14 16:02 ` Mike Christie
2022-07-14 17:09 ` michael.christie
2022-07-12 22:19 ` [PATCH v4 3/4] scsi: core: Simplify LLD module reference counting Bart Van Assche
2022-07-12 22:19 ` [PATCH v4 4/4] scsi: core: Call blk_mq_free_tag_set() earlier Bart Van Assche
2022-07-13 1:36 ` Ming Lei
2022-07-13 8:13 ` John Garry
2022-07-13 20:04 ` Bart Van Assche
2022-07-14 12:25 ` John Garry
2022-07-14 18:49 ` Bart Van Assche
2022-07-15 7:54 ` John Garry
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=20220712221936.1199196-1-bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=jaegeuk@kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox