From: Andres Beltran <[email protected]> Sent: Tuesday, June 30, 2020 8:32 AM > > Currently, pointers to guest memory are passed to Hyper-V as > transaction IDs in storvsc. In the face of errors or malicious > behavior in Hyper-V, storvsc should not expose or trust the transaction > IDs returned by Hyper-V to be valid guest memory addresses. Instead, > use small integers generated by vmbus_requestor as requests > (transaction) IDs. > > Cc: "James E.J. Bottomley" <[email protected]> > Cc: "Martin K. Petersen" <[email protected]> > Cc: [email protected] > Signed-off-by: Andres Beltran <[email protected]> > --- > Changes in v2: > - Add casts to unsigned long to fix warnings on 32bit. > > drivers/scsi/storvsc_drv.c | 85 +++++++++++++++++++++++++++++++++----- > 1 file changed, 74 insertions(+), 11 deletions(-) >
Reviewed-by: Michael Kelley <[email protected]>

