[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200406104154.45010-1-vkuznets@redhat.com>
Date: Mon, 6 Apr 2020 12:41:49 +0200
From: Vitaly Kuznetsov <vkuznets@...hat.com>
To: linux-hyperv@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Wei Liu <wei.liu@...nel.org>,
Tianyu Lan <Tianyu.Lan@...rosoft.com>,
Michael Kelley <mikelley@...rosoft.com>,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
"Andrea Parri (Microsoft)" <parri.andrea@...il.com>
Subject: [PATCH v2 0/5] Drivers: hv: cleanup VMBus messages handling
A small cleanup series mostly aimed at sanitizing memory we pass to
message handlers: not passing garbage/lefrtovers from other messages
and making sure we fail early when hypervisor misbehaves.
No (real) functional change intended.
Changes since v1:
- Check that the payload size specified by the host is <= 240 bytes
- Add Michael's R-b tags.
Vitaly Kuznetsov (5):
Drivers: hv: copy from message page only what's needed
Drivers: hv: allocate the exact needed memory for messages
Drivers: hv: avoid passing opaque pointer to vmbus_onmessage()
Drivers: hv: make sure that 'struct vmbus_channel_message_header'
compiles correctly
Drivers: hv: check VMBus messages lengths
drivers/hv/channel_mgmt.c | 61 ++++++++++++++++++++-------------------
drivers/hv/hyperv_vmbus.h | 1 +
drivers/hv/vmbus_drv.c | 40 ++++++++++++++++++++-----
include/linux/hyperv.h | 2 +-
4 files changed, 66 insertions(+), 38 deletions(-)
--
2.25.1
Powered by blists - more mailing lists