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

From: Andrea Parri (Microsoft)
Date: Wed Dec 09 2020 - 02:09:54 EST


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@xxxxxxxxx

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