Re: [PATCH v2 1/2] scsi: Add buf_len parameter to scsi_req_new()

2022-08-30 Thread John Millikin
Gentle ping On Sat, Aug 20, 2022 at 10:56:48AM +0900, John Millikin wrote: > When a SCSI command is received from the guest, the CDB length implied > by the first byte might exceed the number of bytes the guest sent. In > this case scsi_req_new() will read uninitialized data, causing > unpredictab

[PATCH v2 1/2] scsi: Add buf_len parameter to scsi_req_new()

2022-08-19 Thread John Millikin
When a SCSI command is received from the guest, the CDB length implied by the first byte might exceed the number of bytes the guest sent. In this case scsi_req_new() will read uninitialized data, causing unpredictable behavior. Adds the buf_len parameter to scsi_req_new() and plumbs it through the