Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1693814

Re: [iovisor-dev] [PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB

From Nadav Amit <nadav.amit@gmail.com>
Newsgroups linux.kernel
Subject Re: [iovisor-dev] [PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB
Date 2017-07-21 18:00 +0200
Message-ID <u5Ivo-6HH-17@gated-at.bofh.it> (permalink)
References <u5GjT-5qP-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Edward Cree via iovisor-dev <iovisor-dev@lists.iovisor.org> wrote:

> I managed to come up with a test for the swapped bounds in BPF_SUB, so here
> it is along with a patch that fixes it, separated out from my 'rewrite
> everything' series so it can go to -stable.
> 
> Edward Cree (2):
>  selftests/bpf: subtraction bounds test
>  bpf/verifier: fix min/max handling in BPF_SUB
> 
> kernel/bpf/verifier.c                       | 21 +++++++++++++++------
> tools/testing/selftests/bpf/test_verifier.c | 28 ++++++++++++++++++++++++++++
> 2 files changed, 43 insertions(+), 6 deletions(-)
> 
> _______________________________________________
> iovisor-dev mailing list
> iovisor-dev@lists.iovisor.org
> https://lists.iovisor.org/mailman/listinfo/iovisor-dev

Thanks for separating it.

Nadav

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB Edward Cree <ecree@solarflare.com> - 2017-07-21 15:40 +0200
  Re: [iovisor-dev] [PATCH net 0/2] bpf: fix verifier min/max handling  in BPF_SUB Nadav Amit <nadav.amit@gmail.com> - 2017-07-21 18:00 +0200
  Re: [PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB David Miller <davem@davemloft.net> - 2017-07-24 23:10 +0200

csiph-web