]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[SCSI] qla2xxx: Fix request queue null dereference.
authorChad Dupuis <chad.dupuis@qlogic.com>
Thu, 3 Oct 2013 07:21:13 +0000 (03:21 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 16 Oct 2013 13:12:52 +0000 (14:12 +0100)
commitad3c5029cf4bd4d2d395a32103ddf462d4f7687b
tree782b7122be4f38eabe00e1262cfdbb42590425f2
parentd2f36b01401aaf8e8989f67bc664432a77dac1c7
[SCSI] qla2xxx: Fix request queue null dereference.

If an invalid IOCB is returned on the response queue then the index into the
request queue map could be invalid and could return to us a bogus value. This
could cause us to try to deference an invalid pointer and cause an exception.

If we encounter this condition, simply return as no context can be established
for this response.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_isr.c