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  linux-hardening  linux-cve-announce  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]
Message-Id: <20210116002025.15706-1-daniel@iogearbox.net>
Date:   Sat, 16 Jan 2021 01:20:25 +0100
From:   Daniel Borkmann <daniel@...earbox.net>
To:     davem@...emloft.net
Cc:     kuba@...nel.org, daniel@...earbox.net, ast@...nel.org,
        andrii.nakryiko@...il.com, netdev@...r.kernel.org,
        bpf@...r.kernel.org
Subject: pull-request: bpf 2021-01-16

Hi David, hi Jakub,

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

We've added 11 non-merge commits during the last 6 day(s) which contain
a total of 14 files changed, 128 insertions(+), 115 deletions(-).

The main changes are:

1) Fix a double bpf_prog_put() for BPF_PROG_{TYPE_EXT,TYPE_TRACING} types in
   link creation's error path causing a refcount underflow, from Jiri Olsa.

2) Fix BTF validation errors for the case where kernel modules don't declare
   any new types and end up with an empty BTF, from Andrii Nakryiko.

3) Fix BPF local storage helpers to first check their {task,inode} owners for
   being NULL before access, from KP Singh.

4) Fix a memory leak in BPF setsockopt handling for the case where optlen is
   zero and thus temporary optval buffer should be freed, from Stanislav Fomichev.

5) Fix a syzbot memory allocation splat in BPF_PROG_TEST_RUN infra for
   raw_tracepoint caused by too big ctx_size_in, from Song Liu.

6) Fix LLVM code generation issues with verifier where PTR_TO_MEM{,_OR_NULL}
   registers were spilled to stack but not recognized, from Gilad Reti.

Please consider pulling these changes from:

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

Thanks a lot!

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

Andrii Nakryiko, Christopher William Snowhill, Gilad Reti, KP Singh, 
Martin KaFai Lau, Toke Høiland-Jørgensen, Yonghong Song

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

The following changes since commit f97844f9c518172f813b7ece18a9956b1f70c1bb:

  dt-bindings: net: renesas,etheravb: RZ/G2H needs tx-internal-delay-ps (2021-01-09 19:12:21 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 235ecd36c7a93e4d6c73ac71137b8f1fa31148dd:

  MAINTAINERS: Update my email address (2021-01-15 23:55:16 +0100)

----------------------------------------------------------------
Andrii Nakryiko (2):
      bpf: Allow empty module BTFs
      libbpf: Allow loading empty BTFs

Björn Töpel (1):
      MAINTAINERS: Update my email address

Gilad Reti (2):
      bpf: Support PTR_TO_MEM{,_OR_NULL} register spilling
      selftests/bpf: Add verifier test for PTR_TO_MEM spill

Jiri Olsa (1):
      bpf: Prevent double bpf_prog_put call from bpf_tracing_prog_attach

KP Singh (3):
      bpf: Local storage helpers should check nullness of owner ptr passed
      bpf: Fix typo in bpf_inode_storage.c
      bpf: Update local storage test to check handling of null ptrs

Song Liu (1):
      bpf: Reject too big ctx_size_in for raw_tp test run

Stanislav Fomichev (1):
      bpf: Don't leak memory in bpf getsockopt when optlen == 0

 .mailmap                                           |  2 +
 MAINTAINERS                                        |  4 +-
 kernel/bpf/bpf_inode_storage.c                     |  9 +-
 kernel/bpf/bpf_task_storage.c                      |  5 +-
 kernel/bpf/btf.c                                   |  2 +-
 kernel/bpf/cgroup.c                                |  5 +-
 kernel/bpf/syscall.c                               |  6 +-
 kernel/bpf/verifier.c                              |  2 +
 net/bpf/test_run.c                                 |  3 +-
 tools/lib/bpf/btf.c                                |  5 --
 .../selftests/bpf/prog_tests/test_local_storage.c  | 96 ++++++----------------
 tools/testing/selftests/bpf/progs/local_storage.c  | 62 ++++++++------
 tools/testing/selftests/bpf/test_verifier.c        | 12 ++-
 tools/testing/selftests/bpf/verifier/spill_fill.c  | 30 +++++++
 14 files changed, 128 insertions(+), 115 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ