[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210117174139.GA1703@anparri>
Date: Sun, 17 Jan 2021 18:41:39 +0100
From: Andrea Parri <parri.andrea@...il.com>
To: Wei Liu <wei.liu@...nel.org>
Cc: Jakub Kicinski <kuba@...nel.org>, linux-kernel@...r.kernel.org,
"K . Y . Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Michael Kelley <mikelley@...rosoft.com>,
Saruhan Karademir <skarade@...rosoft.com>,
Juan Vazquez <juvazq@...rosoft.com>,
linux-hyperv@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>, netdev@...r.kernel.org,
bpf@...r.kernel.org
Subject: Re: [PATCH v2] hv_netvsc: Add (more) validation for untrusted
Hyper-V values
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:
> > On Fri, Jan 15, 2021 at 08:30:22PM -0800, Jakub Kicinski wrote:
> > > On Thu, 14 Jan 2021 21:26:28 +0100 Andrea Parri (Microsoft) wrote:
> > > > 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 <juvazq@...rosoft.com>
> > > > Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@...il.com>
> > > > Cc: "David S. Miller" <davem@...emloft.net>
> > > > Cc: Jakub Kicinski <kuba@...nel.org>
> > > > Cc: Alexei Starovoitov <ast@...nel.org>
> > > > Cc: Daniel Borkmann <daniel@...earbox.net>
> > > > Cc: Andrii Nakryiko <andrii@...nel.org>
> > > > Cc: Martin KaFai Lau <kafai@...com>
> > > > Cc: Song Liu <songliubraving@...com>
> > > > Cc: Yonghong Song <yhs@...com>
> > > > Cc: John Fastabend <john.fastabend@...il.com>
> > > > Cc: KP Singh <kpsingh@...nel.org>
> > > > Cc: netdev@...r.kernel.org
> > > > Cc: bpf@...r.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
Powered by blists - more mailing lists