Re: [PATCH v3] hv_netvsc: Add validation for untrusted Hyper-V values

2020-09-17 Thread David Miller
From: "Andrea Parri (Microsoft)" Date: Wed, 16 Sep 2020 11:47:27 +0200 > From: Andres Beltran > > 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 in the host-to-guest ring buffe

RE: [PATCH v3] hv_netvsc: Add validation for untrusted Hyper-V values

2020-09-16 Thread Haiyang Zhang
chael > Kelley ; Saruhan Karademir > ; Juan Vazquez ; Andrea > Parri ; David S. Miller ; > Jakub Kicinski ; netdev@vger.kernel.org > Subject: [PATCH v3] hv_netvsc: Add validation for untrusted Hyper-V values > > From: Andres Beltran > > For additional robustness in

[PATCH v3] hv_netvsc: Add validation for untrusted Hyper-V values

2020-09-16 Thread Andrea Parri (Microsoft)
From: Andres Beltran 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 in the host-to-guest ring buffer. Ensure that invalid values cannot cause indexing off the end of an array, or sub