Re: [PATCH] scsi: ses: Fix out-of-bounds memory access in ses_enclosure_data_process()

From: Martin K. Petersen
Date: Tue May 21 2019 - 08:06:17 EST



Doug,

>> I am collecting "bad" SES pages from these devices. I have added
>> support for RECEIVE DIAGNOSTICS to scsi_debug and added a bunch of
>> deliberately broken SES pages so we could debug this
>
> Patches ??

I have included the plumbing below. However, I need to synthesize the
contents of the pages with problems. I can't share the ones I have
received from customers so I removed the arrays from the patch.

--
Martin K. Petersen Oracle Linux Engineering