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  linux-hardening  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:   Mon, 27 Jan 2020 14:06:18 +0100
From:   Daniel Borkmann <>
Subject: pull-request: bpf-next 2020-01-27

Hi David,

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

We've added 20 non-merge commits during the last 5 day(s) which contain
a total of 24 files changed, 433 insertions(+), 104 deletions(-).

The main changes are:

1) Make BPF trampolines and dispatcher aware for the stack unwinder, from Jiri Olsa.

2) Improve handling of failed CO-RE relocations in libbpf, from Andrii Nakryiko.

3) Several fixes to BPF sockmap and reuseport selftests, from Lorenz Bauer.

4) Various cleanups in BPF devmap's XDP flush code, from John Fastabend.

5) Fix BPF flow dissector when used with port ranges, from Yoshiki Komachi.

6) Fix bpffs' map_seq_next callback to always inc position index, from Vasily Averin.

7) Allow overriding LLVM tooling for runqslower utility, from Andrey Ignatov.

8) Silence false-positive lockdep splats in devmap hash lookup, from Amol Grover.

9) Fix fentry/fexit selftests to initialize a variable before use, from John Sperbeck.

Please consider pulling these changes from:


Thanks a lot!

Also thanks to reporters, reviewers and testers of commits in this pull-request:

Andrii Nakryiko, Björn Töpel, Jakub Sitnicki, Jesper Dangaard Brouer, 
John Fastabend, Martin KaFai Lau, Petar Penkov, Song Liu, Toke 
Høiland-Jørgensen, William Smith, Yonghong Song


The following changes since commit fd786fb1d2cad70b9aaba8c73872cbf63262bd58:

  net: convert suitable drivers to use phy_do_ioctl_running (2020-01-23 10:49:30 +0100)

are available in the Git repository at:


for you to fetch changes up to 82650dab9a5a2928c8d982cce5e3c687f14f8716:

  Merge branch 'bpf-flow-dissector-fix-port-ranges' (2020-01-27 11:25:12 +0100)

Alexei Starovoitov (1):
      Merge branch 'trampoline-fixes'

Amol Grover (1):
      bpf, devmap: Pass lockdep expression to RCU lists

Andrey Ignatov (1):
      tools/bpf: Allow overriding llvm tools for runqslower

Andrii Nakryiko (4):
      selftests/bpf: Improve bpftool changes detection
      bpftool: Print function linkage in BTF dump
      libbpf: Improve handling of failed CO-RE relocations
      libbpf: Fix realloc usage in bpf_core_find_cands

Daniel Borkmann (1):
      Merge branch 'bpf-flow-dissector-fix-port-ranges'

Jiri Olsa (3):
      bpf: Allow BTF ctx access for string pointers
      bpf: Allow to resolve bpf trampoline and dispatcher in unwind
      selftest/bpf: Add test for allowed trampolines count

John Fastabend (3):
      bpf, xdp: Update devmap comments to reflect napi/rcu usage
      bpf, xdp: virtio_net use access ptr macro for xdp enable check
      bpf, xdp: Remove no longer required rcu_read_{un}lock()

John Sperbeck (1):
      selftests/bpf: Initialize duration variable before using

Lorenz Bauer (4):
      selftests: bpf: Use a temporary file in test_sockmap
      selftests: bpf: Ignore FIN packets for reuseport tests
      selftests: bpf: Make reuseport test output more legible
      selftests: bpf: Reset global state between reuseport test runs

Vasily Averin (1):
      bpf: map_seq_next should always increase position index

Yoshiki Komachi (2):
      flow_dissector: Fix to use new variables for port ranges in bpf hook
      selftests/bpf: Add test based on port range for BPF flow dissector

 drivers/net/veth.c                                 |   6 +-
 drivers/net/virtio_net.c                           |   2 +-
 include/linux/bpf.h                                |  12 ++-
 kernel/bpf/btf.c                                   |  16 +++
 kernel/bpf/devmap.c                                |  29 +++---
 kernel/bpf/dispatcher.c                            |   4 +-
 kernel/bpf/inode.c                                 |   3 +-
 kernel/bpf/trampoline.c                            |  80 +++++++++++++--
 kernel/extable.c                                   |   7 +-
 net/core/flow_dissector.c                          |  11 +-
 tools/bpf/bpftool/btf.c                            |  27 ++++-
 tools/bpf/runqslower/Makefile                      |   6 +-
 tools/lib/bpf/libbpf.c                             |  99 ++++++++++--------
 tools/lib/bpf/libbpf.h                             |   6 +-
 tools/testing/selftests/bpf/Makefile               |  11 +-
 .../testing/selftests/bpf/prog_tests/fentry_test.c |   2 +-
 .../selftests/bpf/prog_tests/fexit_bpf2bpf.c       |   2 +-
 .../testing/selftests/bpf/prog_tests/fexit_test.c  |   2 +-
 .../selftests/bpf/prog_tests/select_reuseport.c    |  44 ++++++--
 .../selftests/bpf/prog_tests/trampoline_count.c    | 112 +++++++++++++++++++++
 .../bpf/progs/test_select_reuseport_kern.c         |   6 ++
 .../selftests/bpf/progs/test_trampoline_count.c    |  21 ++++
 tools/testing/selftests/bpf/ |  14 +++
 tools/testing/selftests/bpf/test_sockmap.c         |  15 +--
 24 files changed, 433 insertions(+), 104 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/trampoline_count.c
 create mode 100644 tools/testing/selftests/bpf/progs/test_trampoline_count.c

Powered by blists - more mailing lists