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

From: Wei Liu
Date: Tue Jan 05 2021 - 07:50:29 EST


On Wed, Dec 09, 2020 at 08:08:21AM +0100, Andrea Parri (Microsoft) wrote:
> 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()

I've applied the first five to hyperv-next.

> Drivers: hv: vmbus: Do not allow overwriting
> vmbus_connection.channels[]

This one lacks a review-by tag.

Wei.

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