mbox series

pull-request: bpf 2021-08-10

Message ID 20210810144025.22814-1-daniel@iogearbox.net (mailing list archive)
State Accepted
Delegated to: Netdev Maintainers
Headers show
Series pull-request: bpf 2021-08-10 | expand

Pull-request

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

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Message

Daniel Borkmann Aug. 10, 2021, 2:40 p.m. UTC
Hi David, hi Jakub,

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

We've added 5 non-merge commits during the last 2 day(s) which contain
a total of 7 files changed, 27 insertions(+), 15 deletions(-).

The main changes are:

1) Fix missing bpf_read_lock_trace() context for BPF loader progs, from Yonghong Song.

2) Fix corner case where BPF prog retrieves wrong local storage, also from Yonghong Song.

3) Restrict availability of BPF write_user helper behind lockdown, from Daniel Borkmann.

4) Fix multiple kernel-doc warnings in BPF core, from Randy Dunlap.

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

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

The following changes since commit d09c548dbf3b31cb07bba562e0f452edfa01efe3:

  net: sched: act_mirred: Reset ct info when mirror/redirect skb (2021-08-09 10:58:47 +0100)

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 019d0454c61707879cf9853c894e0a191f6b9774:

  bpf, core: Fix kernel-doc notation (2021-08-10 13:09:28 +0200)

----------------------------------------------------------------
Daniel Borkmann (2):
      bpf: Add _kernel suffix to internal lockdown_bpf_read
      bpf: Add lockdown check for probe_write_user helper

Randy Dunlap (1):
      bpf, core: Fix kernel-doc notation

Yonghong Song (2):
      bpf: Add missing bpf_read_[un]lock_trace() for syscall program
      bpf: Fix potentially incorrect results with bpf_get_local_storage()

 include/linux/bpf-cgroup.h |  4 ++--
 include/linux/security.h   |  3 ++-
 kernel/bpf/core.c          |  7 ++++++-
 kernel/bpf/helpers.c       |  8 ++++----
 kernel/trace/bpf_trace.c   | 13 +++++++------
 net/bpf/test_run.c         |  4 ++++
 security/security.c        |  3 ++-
 7 files changed, 27 insertions(+), 15 deletions(-)

Comments

Jakub Kicinski Aug. 10, 2021, 5:39 p.m. UTC | #1
On Tue, 10 Aug 2021 16:40:25 +0200 Daniel Borkmann wrote:
> 1) Fix missing bpf_read_lock_trace() context for BPF loader progs, from Yonghong Song.
> 
> 2) Fix corner case where BPF prog retrieves wrong local storage, also from Yonghong Song.
> 
> 3) Restrict availability of BPF write_user helper behind lockdown, from Daniel Borkmann.
> 
> 4) Fix multiple kernel-doc warnings in BPF core, from Randy Dunlap.

Pulled, thanks!