Re: [PATCH v2 4/7] Drivers: hv: vmbus: Copy the hv_message object in vmbus_on_msg_dpc()

2020-12-06 Thread Andrea Parri
On Sun, Dec 06, 2020 at 06:39:39PM +, Michael Kelley wrote: > From: Andrea Parri (Microsoft) Sent: Wednesday, > December 2, 2020 1:22 AM > > > > The hv_message object is in memory shared with the host. To prevent > > an erroneous or a malicious host from 'corrupting' such object, copy > > t

RE: [PATCH v2 4/7] Drivers: hv: vmbus: Copy the hv_message object in vmbus_on_msg_dpc()

2020-12-06 Thread Michael Kelley
From: Andrea Parri (Microsoft) Sent: Wednesday, December 2, 2020 1:22 AM > > The hv_message object is in memory shared with the host. To prevent > an erroneous or a malicious host from 'corrupting' such object, copy > the object into private memory. Sorry for reviewing the older version of thi

[PATCH v2 4/7] Drivers: hv: vmbus: Copy the hv_message object in vmbus_on_msg_dpc()

2020-12-02 Thread Andrea Parri (Microsoft)
The hv_message object is in memory shared with the host. To prevent an erroneous or a malicious host from 'corrupting' such object, copy the object into private memory. Suggested-by: Juan Vazquez Signed-off-by: Andrea Parri (Microsoft) --- drivers/hv/vmbus_drv.c | 26 +++---