# \[PATCH v3 0/6\] Drivers: hv: vmbus: More VMBus-hardening changes

- From: Andrea Parri (Microsoft) \<parri.andrea@gmail.com\>
- Date: 2020-12-09 07:09:57 
- List: linux-hyperv
- Page: https://ratatoskr.run/linux-hyperv/2020/12/6204295
- Thread: https://ratatoskr.run/linux-hyperv/2020/12/6204295/t.md

```text
Integrating feedback from Juan, Michael and Wei. [1]  Changelogs are
inline/in the patches.

Thanks,
  Andrea

[1] https://lkml.kernel.org/r/20201202092214.13520-1-parri.andrea@gmail.com

Andrea Parri (Microsoft) (6):
  Drivers: hv: vmbus: Initialize memory to be sent to the host
  Drivers: hv: vmbus: Reduce number of references to message in
    vmbus_on_msg_dpc()
  Drivers: hv: vmbus: Copy the hv_message in vmbus_on_msg_dpc()
  Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
  Drivers: hv: vmbus: Resolve race condition in vmbus_onoffer_rescind()
  Drivers: hv: vmbus: Do not allow overwriting
    vmbus_connection.channels[]

 drivers/hv/channel.c      |  4 +--
 drivers/hv/channel_mgmt.c | 55 +++++++++++++++++++++++++++------------
 drivers/hv/hyperv_vmbus.h |  2 +-
 drivers/hv/vmbus_drv.c    | 43 ++++++++++++++++++------------
 include/linux/hyperv.h    |  1 +
 5 files changed, 69 insertions(+), 36 deletions(-)

-- 
2.25.1

```
