All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB
@ 2017-07-21 13:35 ` Edward Cree via iovisor-dev
  0 siblings, 0 replies; 13+ messages in thread
From: Edward Cree @ 2017-07-21 13:35 UTC (permalink / raw)
  To: davem, Alexei Starovoitov, Alexei Starovoitov, Daniel Borkmann
  Cc: netdev, linux-kernel, iovisor-dev

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(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-07-24 21:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-21 13:35 [PATCH net 0/2] bpf: fix verifier min/max handling in BPF_SUB Edward Cree
2017-07-21 13:35 ` Edward Cree via iovisor-dev
2017-07-21 13:36 ` [PATCH net 1/2] selftests/bpf: subtraction bounds test Edward Cree
2017-07-21 14:29   ` Daniel Borkmann
2017-07-21 14:29     ` Daniel Borkmann via iovisor-dev
2017-07-21 13:37 ` [PATCH net 2/2] bpf/verifier: fix min/max handling in BPF_SUB Edward Cree
2017-07-21 13:37   ` Edward Cree via iovisor-dev
2017-07-21 14:30   ` Daniel Borkmann
2017-07-21 14:30     ` Daniel Borkmann via iovisor-dev
2017-07-21 15:54 ` [iovisor-dev] [PATCH net 0/2] bpf: fix verifier " Nadav Amit
2017-07-21 15:54   ` Nadav Amit via iovisor-dev
2017-07-24 21:03 ` David Miller
2017-07-24 21:03   ` David Miller via iovisor-dev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.