Skip to content

Drivers: hv: vmbus: More VMBus-hardening changes

Andrea Parri (Microsoft) linux-hyperv lkml 3 versions – Applied

Status from this message: I've applied the first five to hyperv-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 4 repliesApplied
  2. v27 patches 6 repliesSuperseded
  3. v16 patches 9 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6Drivers: hv: vmbus: Initialize memory to be sent to the hostdrivers/hv/channel.c+2 -20 replies
2/6Drivers: hv: vmbus: Reduce number of references to message in vmbus_on_msg_dpc()drivers/hv/vmbus_drv.c+14 -141 reply
3/6Drivers: hv: vmbus: Copy the hv_message in vmbus_on_msg_dpc()drivers/hv/vmbus_drv.c+14 -51 reply
4/6Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()drivers/hv/channel_mgmt.c+1 -20 replies
5/6Drivers: hv: vmbus: Resolve race condition in vmbus_onoffer_rescind()drivers/hv/channel_mgmt.c include/linux/hyperv.h+13 -01 reply
6/6Drivers: hv: vmbus: Do not allow overwriting vmbus_connection.channels[]drivers/hv/channel_mgmt.c drivers/hv/hyperv_vmbus.h+27 -150 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchMichael Kelley
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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

Thanks,
Andrea

[1] https://lkml.kernel.org/r/[email protected]

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(-)
Signature · 1 line
2.25.1