lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 16 May 2019 01:54:28 +0200
From:   Daniel Borkmann <daniel@...earbox.net>
To:     davem@...emloft.net
Cc:     daniel@...earbox.net, ast@...nel.org, netdev@...r.kernel.org,
        bpf@...r.kernel.org
Subject: pull-request: bpf 2019-05-16

Hi David,

The following pull-request contains BPF updates for your *net* tree.

The main changes are:

1) Fix a use after free in __dev_map_entry_free(), from Eric.

2) Several sockmap related bug fixes: a splat in strparser if
   it was never initialized, remove duplicate ingress msg list
   purging which can race, fix msg->sg.size accounting upon
   skb to msg conversion, and last but not least fix a timeout
   bug in tcp_bpf_wait_data(), from John.

3) Fix LRU map to avoid messing with eviction heuristics upon
   syscall lookup, e.g. map walks from user space side will
   then lead to eviction of just recently created entries on
   updates as it would mark all map entries, from Daniel.

4) Don't bail out when libbpf feature probing fails. Also
   various smaller fixes to flow_dissector test, from Stanislav.

5) Fix missing brackets for BTF_INT_OFFSET() in UAPI, from Gary.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Thanks a lot!

----------------------------------------------------------------

The following changes since commit d4c26eb6e721683a0f93e346ce55bc8dc3cbb175:

  net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering (2019-05-13 09:59:41 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git 

for you to fetch changes up to 5fa2ca7c4a3fc176f31b495e1a704862d8188b53:

  bpf, tcp: correctly handle DONT_WAIT flags and timeo == 0 (2019-05-16 01:36:13 +0200)

----------------------------------------------------------------
Alexei Starovoitov (1):
      Merge branch 'lru-map-fix'

Daniel Borkmann (3):
      bpf: add map_lookup_elem_sys_only for lookups from syscall side
      bpf, lru: avoid messing with eviction heuristics upon syscall lookup
      bpf: test ref bit from data path and add new tests for syscall path

Eric Dumazet (1):
      bpf: devmap: fix use-after-free Read in __dev_map_entry_free

Gary Lin (2):
      bpf: btf: fix the brackets of BTF_INT_OFFSET()
      tools/bpf: Sync kernel btf.h header

John Fastabend (4):
      bpf: sockmap, only stop/flush strp if it was enabled at some point
      bpf: sockmap remove duplicate queue free
      bpf: sockmap fix msg->sg.size account on ingress skb
      bpf, tcp: correctly handle DONT_WAIT flags and timeo == 0

Stanislav Fomichev (4):
      bpf: mark bpf_event_notify and bpf_event_init as static
      libbpf: don't fail when feature probing fails
      selftests/bpf: add missing \n to flow_dissector CHECK errors
      selftests/bpf: add prog detach to flow_dissector test

 Documentation/bpf/btf.rst                          |   2 +-
 include/linux/bpf.h                                |   1 +
 include/uapi/linux/btf.h                           |   2 +-
 kernel/bpf/devmap.c                                |   3 +
 kernel/bpf/hashtab.c                               |  23 +-
 kernel/bpf/syscall.c                               |   5 +-
 kernel/trace/bpf_trace.c                           |   5 +-
 net/core/skmsg.c                                   |   7 +-
 net/ipv4/tcp_bpf.c                                 |   7 +-
 tools/include/uapi/linux/btf.h                     |   2 +-
 tools/lib/bpf/libbpf.c                             |   2 +-
 .../selftests/bpf/prog_tests/flow_dissector.c      |   9 +-
 tools/testing/selftests/bpf/test_lru_map.c         | 288 ++++++++++++++++++++-
 13 files changed, 321 insertions(+), 35 deletions(-)

Powered by blists - more mailing lists