public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Call blk_mq_free_tag_set() earlier
@ 2022-07-07 18:21 Bart Van Assche
  2022-07-07 18:21 ` [PATCH v3 1/2] scsi: core: Make sure that hosts outlive targets and devices Bart Van Assche
  2022-07-07 18:21 ` [PATCH v3 2/2] scsi: core: Call blk_mq_free_tag_set() earlier Bart Van Assche
  0 siblings, 2 replies; 8+ messages in thread
From: Bart Van Assche @ 2022-07-07 18:21 UTC (permalink / raw)
  To: Martin K . Petersen; +Cc: Jaegeuk Kim, linux-scsi, Bart Van Assche

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 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 (1):
  scsi: core: Call blk_mq_free_tag_set() earlier

Ming Lei (1):
  scsi: core: Make sure that hosts outlive targets and devices

 drivers/scsi/hosts.c      | 19 ++++++++++++++-----
 drivers/scsi/scsi.c       |  9 ++++++---
 drivers/scsi/scsi_lib.c   |  3 +++
 drivers/scsi/scsi_scan.c  |  7 +++++++
 drivers/scsi/scsi_sysfs.c |  9 ---------
 include/scsi/scsi_host.h  |  3 +++
 6 files changed, 33 insertions(+), 17 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-14 19:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-07 18:21 [PATCH v3 0/2] Call blk_mq_free_tag_set() earlier Bart Van Assche
2022-07-07 18:21 ` [PATCH v3 1/2] scsi: core: Make sure that hosts outlive targets and devices Bart Van Assche
2022-07-09 15:57   ` Mike Christie
2022-07-12 22:29     ` Bart Van Assche
2022-07-14 15:32       ` Mike Christie
2022-07-14 15:40         ` Mike Christie
2022-07-14 19:04     ` Bart Van Assche
2022-07-07 18:21 ` [PATCH v3 2/2] scsi: core: Call blk_mq_free_tag_set() earlier Bart Van Assche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox