mbox series

[0/2] fix iscsi commands when session is freed

Message ID 20230125083309.24678-1-d.bogdanov@yadro.com (mailing list archive)
Headers show
Series fix iscsi commands when session is freed | expand

Message

Dmitry Bogdanov Jan. 25, 2023, 8:33 a.m. UTC
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(-)