]> git.baikalelectronics.ru Git - kernel.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, 23 Oct 2013 13:09:18 +0000 (14:09 +0100)
commit4a1bd2ffcf1eac464c5f4200f3c52bf298bff801
tree2be4076b1a68ee1b3470ac9bebdaada10ad0ed63
parent5848919a51c87ba09df1c0b1129d66cba0a8d62f
[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