From: Dmitry Bogdanov <d.bogdanov@yadro.com>
To: Martin Petersen <martin.petersen@oracle.com>,
<target-devel@vger.kernel.org>
Cc: Forza <forza@tnonline.net>, <linux-scsi@vger.kernel.org>,
<linux@yadro.com>, Dmitry Bogdanov <d.bogdanov@yadro.com>
Subject: [PATCH 0/2] fix iscsi commands when session is freed
Date: Wed, 25 Jan 2023 11:33:07 +0300 [thread overview]
Message-ID: <20230125083309.24678-1-d.bogdanov@yadro.com> (raw)
The patchset based on 6.3/scsi-queue.
The patchset fixes use-after-free of se_session at commands free.
Dmitry Bogdanov (2):
target: iscs: reject cmd in closed session
target: iscsi: free cmds before session free
drivers/target/iscsi/iscsi_target.c | 14 +++++++++-----
include/scsi/iscsi_proto.h | 1 +
2 files changed, 10 insertions(+), 5 deletions(-)
--
2.25.1
next reply other threads:[~2023-01-25 8:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-25 8:33 Dmitry Bogdanov [this message]
2023-01-25 8:33 ` [PATCH 1/2] target: iscs: reject cmd in closed session Dmitry Bogdanov
2023-01-25 17:03 ` Mike Christie
2023-01-25 17:18 ` michael.christie
2023-01-25 20:50 ` Dmitry Bogdanov
2023-01-25 8:33 ` [PATCH 2/2] target: iscsi: free cmds before session free Dmitry Bogdanov
2023-02-11 8:42 ` Forza
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=20230125083309.24678-1-d.bogdanov@yadro.com \
--to=d.bogdanov@yadro.com \
--cc=forza@tnonline.net \
--cc=linux-scsi@vger.kernel.org \
--cc=linux@yadro.com \
--cc=martin.petersen@oracle.com \
--cc=target-devel@vger.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;
as well as URLs for NNTP newsgroup(s).