mbox series

[hyperv-next,v2,0/5] hv_sock: Hardening changes

Message ID 20220428145107.7878-1-parri.andrea@gmail.com (mailing list archive)
Headers show
Series hv_sock: Hardening changes | expand

Message

Andrea Parri April 28, 2022, 2:51 p.m. UTC
Changes since v1[1]:
  - Expand commit message of patch #2
  - Coding style changes

Changes since RFC[2]:
  - Massage changelogs, fix typo
  - Drop "hv_sock: Initialize send_buf in hvs_stream_enqueue()"
  - Remove style/newline change
  - Remove/"inline" hv_pkt_iter_first_raw()

Thanks,
  Andrea

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

Andrea Parri (Microsoft) (5):
  hv_sock: Check hv_pkt_iter_first_raw()'s return value
  hv_sock: Copy packets sent by Hyper-V out of the ring buffer
  hv_sock: Add validation for untrusted Hyper-V values
  Drivers: hv: vmbus: Accept hv_sock offers in isolated guests
  Drivers: hv: vmbus: Refactor the ring-buffer iterator functions

 drivers/hv/channel_mgmt.c        |  8 ++++--
 drivers/hv/ring_buffer.c         | 32 ++++++---------------
 include/linux/hyperv.h           | 48 ++++++++++----------------------
 net/vmw_vsock/hyperv_transport.c | 21 +++++++++++---
 4 files changed, 47 insertions(+), 62 deletions(-)

Comments

Wei Liu April 28, 2022, 3:04 p.m. UTC | #1
On Thu, Apr 28, 2022 at 04:51:02PM +0200, Andrea Parri (Microsoft) wrote:
> 
> Andrea Parri (Microsoft) (5):
>   hv_sock: Check hv_pkt_iter_first_raw()'s return value
>   hv_sock: Copy packets sent by Hyper-V out of the ring buffer
>   hv_sock: Add validation for untrusted Hyper-V values
>   Drivers: hv: vmbus: Accept hv_sock offers in isolated guests
>   Drivers: hv: vmbus: Refactor the ring-buffer iterator functions

Applied to hyperv-next. Thanks.