Fixes for two bpf bugs:
1st bug reported by Sasha Goldshtein here:
https://github.com/iovisor/bcc/issues/570
2nd discovered by Daniel Borkmann by manual code analysis.
See patches for details.

Alexei Starovoitov (2):
  bpf: fix matching of data/data_end in verifier
  bpf, trace: check event type in bpf_perf_event_read

 include/linux/bpf.h      | 28 +++++++++++++++++++++++++++-
 kernel/bpf/verifier.c    | 41 +++++++----------------------------------
 kernel/trace/bpf_trace.c | 10 ++++++++--
 net/core/filter.c        | 16 ++++++++++++++--
 4 files changed, 56 insertions(+), 39 deletions(-)

-- 
2.8.0

Reply via email to