Thread (6 messages) read the whole thread 6 messages, 4 authors, 2021-01-19

Re: [PATCH v2] hv_netvsc: Add (more) validation for untrusted Hyper-V values

From: Andrea Parri <parri.andrea@gmail.com>
Date: 2021-01-17 17:42:48
Also in: linux-hyperv, lkml, netdev

On Sun, Jan 17, 2021 at 03:10:32PM +0000, Wei Liu wrote:
On Sat, Jan 16, 2021 at 02:02:01PM +0100, Andrea Parri wrote:
quoted
On Fri, Jan 15, 2021 at 08:30:22PM -0800, Jakub Kicinski wrote:
quoted
On Thu, 14 Jan 2021 21:26:28 +0100 Andrea Parri (Microsoft) wrote:
quoted
For additional robustness in the face of Hyper-V errors or malicious
behavior, validate all values that originate from packets that Hyper-V
has sent to the guest.  Ensure that invalid values cannot cause indexing
off the end of an array, or subvert an existing validation via integer
overflow.  Ensure that outgoing packets do not have any leftover guest
memory that has not been zeroed out.

Reported-by: Juan Vazquez <redacted>
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Martin KaFai Lau <redacted>
Cc: Song Liu <redacted>
Cc: Yonghong Song <redacted>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: KP Singh <kpsingh@kernel.org>
Cc: netdev@vger.kernel.org
Cc: bpf@vger.kernel.org
---
Applies to 5.11-rc3 (and hyperv-next).
So this is for hyperv-next or should we take it via netdev trees?
No preference, either way is good for me.
To be clear: There is no dependency on any patch in hyperv-next, right?

That's my understanding, but I would like to confirm it.
Well, I wrote that this *applies* to hyperv-next... but that's indeed
the only 'dependency' I can think of.

Hope this helps.

Thanks,
  Andrea
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help