RE: [PATCH v5 1/3] Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus hardening

2020-07-22 Thread Andres Beltran
> From: Michael Kelley Sent: Wednesday, July 22, 2020 > 3:25 PM > I don't think the above does what you want. The allocated > array ends up as follows: > > Slot 0 contains "2" > Slot 1 contains "3" > ... > Slot size-2 contains size > Slot size-1 contains U64_MAX > > This means that allocating

RE: [PATCH v5 1/3] Drivers: hv: vmbus: Add vmbus_requestor data structure for VMBus hardening

2020-07-22 Thread Michael Kelley
From: Andres Beltran Sent: Wednesday, July 22, 2020 11:11 AM > > Currently, VMbus drivers use pointers into guest memory as request IDs > for interactions with Hyper-V. To be more robust in the face of errors > or malicious behavior from a compromised Hyper-V, avoid exposing > guest memory