diff options
author | Imran Haider <imran1008@gmail.com> | 2016-05-08 17:17:54 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2016-05-10 10:20:03 +0200 |
commit | 2b16509c5f26d6c160bd89164cf18f18d713daf6 (patch) | |
tree | 8be900fa169301d0f7e58ccc81379cea6ffa7dec /drivers/scsi/qla2xxx/tcm_qla2xxx.h | |
parent | target: need_to_release is always false, remove redundant check and kfree (diff) | |
download | linux-2b16509c5f26d6c160bd89164cf18f18d713daf6.tar.xz linux-2b16509c5f26d6c160bd89164cf18f18d713daf6.zip |
iscsi-target: graceful disconnect on invalid mapping to iovec
Ensures the first page entry is within bounds. A failed check would
terminate the iSCSI connection instead of causing a NULL-dereference.
This violation seems to happen with certain iSCSI commands where the
computed CDB length is zero but the expected transfer length is
non-zero. The real problem is probably on the iSCSI initiator side
since there is a discrepancy between the iSCSI header and the
encapsulated CDB Opcode.
Signed-off-by: Imran Haider <imran1008@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/scsi/qla2xxx/tcm_qla2xxx.h')
0 files changed, 0 insertions, 0 deletions