>>>>> "Akinobu" == Akinobu Mita <akinobu.mita@xxxxxxxxx> writes: Akinobu> If the module parameter virtual_gb is greater than 0, the READ Akinobu> command may request the blocks which exceed actual ramdisk Akinobu> storage (fake_storep). prot_verify_read() should treat those Akinobu> blocks as wrap around the end of fake_storep. But it actually Akinobu> causes fake_storep and dif_storep buffer overruns. Akinobu> This fixes these buffer overruns. In order to simplify the Akinobu> fix, this also introduces fake_store() and dif_store() which Akinobu> return corresponding wrap around addresses. Acked-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html