[PATCH v2 0/7] Drivers: hv: vmbus: More VMBus-hardening changes

From: Andrea Parri (Microsoft)
Date: Wed Dec 02 2020 - 04:23:24 EST


Hi all,

This is v2 of [1], integrating feedback from Juan and Wei and adding
patch 4/7 (after Juan's suggestion). Changelogs are in the patches.

Thanks,
Andrea

[1] https://lkml.kernel.org/r/20201118143649.108465-1-parri.andrea@xxxxxxxxx

Andrea Parri (Microsoft) (7):
Drivers: hv: vmbus: Initialize memory to be sent to the host
Drivers: hv: vmbus: Avoid double fetch of msgtype in
vmbus_on_msg_dpc()
Drivers: hv: vmbus: Avoid double fetch of payload_size in
vmbus_on_msg_dpc()
Drivers: hv: vmbus: Copy the hv_message object 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 | 53 +++++++++++++++++++++++++++------------
drivers/hv/hyperv_vmbus.h | 2 +-
drivers/hv/vmbus_drv.c | 43 ++++++++++++++++++-------------
include/linux/hyperv.h | 1 +
5 files changed, 67 insertions(+), 36 deletions(-)

--
2.25.1