diff options
author | Khazhismel Kumykov <khazhy@google.com> | 2017-07-13 19:11:21 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-10-03 05:23:21 +0300 |
commit | 9e10b5121ad991ea6e84ca40b15a04cdc551bfe9 (patch) | |
tree | 46ec66e479d194da6637be04d20d8ea9d243a8c5 /include/scsi/scsi_transport_iscsi.h | |
parent | 77082ca503bed061f7fbda7cfd7c93beda967a41 (diff) | |
download | linux-9e10b5121ad991ea6e84ca40b15a04cdc551bfe9.tar.xz |
scsi: libiscsi: Fix use-after-free race during iscsi_session_teardown
Session attributes exposed through sysfs were freed before the device
was destroyed, resulting in a potential use-after-free. Free these
attributes after removing the device.
Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
Acked-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
0 files changed, 0 insertions, 0 deletions