linux-next/drivers/net/hyperv
Andres Beltran 4d18fcc95f hv_netvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening
Currently, pointers to guest memory are passed to Hyper-V as
transaction IDs in netvsc. In the face of errors or malicious
behavior in Hyper-V, netvsc should not expose or trust the transaction
IDs returned by Hyper-V to be valid guest memory addresses. Instead,
use small integers generated by vmbus_requestor as requests
(transaction) IDs.

Signed-off-by: Andres Beltran <lkmlabelt@gmail.com>
Co-developed-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
Link: https://lore.kernel.org/r/20201109100402.8946-4-parri.andrea@gmail.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
2020-11-17 10:54:18 +00:00
..
hyperv_net.h hv_netvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening 2020-11-17 10:54:18 +00:00
Kconfig
Makefile hv_netvsc: Add XDP support 2020-01-25 10:43:19 +01:00
netvsc_bpf.c bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commands 2020-07-25 20:37:02 -07:00
netvsc_drv.c hyperv-next for 5.10 2020-10-14 10:32:10 -07:00
netvsc_trace.c
netvsc_trace.h
netvsc.c hv_netvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening 2020-11-17 10:54:18 +00:00
rndis_filter.c hv_netvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening 2020-11-17 10:54:18 +00:00