All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: davem@davemloft.net
Cc: kuba@kernel.org, pabeni@redhat.com, edumazet@google.com,
	daniel@iogearbox.net, ast@kernel.org, andrii@kernel.org,
	martin.lau@linux.dev, netdev@vger.kernel.org,
	bpf@vger.kernel.org
Subject: pull-request: bpf 2024-04-04
Date: Thu,  4 Apr 2024 20:32:58 +0200	[thread overview]
Message-ID: <20240404183258.4401-1-daniel@iogearbox.net> (raw)

Hi David, hi Jakub, hi Paolo, hi Eric,

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

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

The main changes are:

1) Fix x86 BPF JIT under retbleed=stuff which causes kernel panics due to
   incorrect destination IP calculation and incorrect IP for relocations,
   from Uros Bizjak and Joan Bruguera Micó.

2) Fix BPF arena file descriptor leaks in the verifier, from Anton Protopopov.

3) Defer bpf_link deallocation to after RCU grace period as currently running
   multi-{kprobes,uprobes} programs might still access cookie information from
   the link, from Andrii Nakryiko.

4) Fix a BPF sockmap lock inversion deadlock in map_delete_elem reported
   by syzkaller, from Jakub Sitnicki.

5) Fix resolve_btfids build with musl libc due to missing linux/types.h
   include, from Natanael Copa.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

Thanks a lot!

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

Greg Thelen, Ingo Molnar, Jiri Olsa, John Fastabend, Shung-Hsi Yu, Uros 
Bizjak, xingwei lee, Yonghong Song, yue sun

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

The following changes since commit 037965402a010898d34f4e35327d22c0a95cd51f:

  xen-netfront: Add missing skb_mark_for_recycle (2024-03-28 18:28:12 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev

for you to fetch changes up to ff91059932401894e6c86341915615c5eb0eca48:

  bpf, sockmap: Prevent lock inversion deadlock in map delete elem (2024-04-02 16:31:05 +0200)

----------------------------------------------------------------
bpf-for-netdev

----------------------------------------------------------------
Alexei Starovoitov (1):
      Merge branch 'x86-bpf-fixes-for-the-bpf-jit-with-retbleed-stuff'

Andrii Nakryiko (2):
      bpf: put uprobe link's path and task in release callback
      bpf: support deferring bpf_link dealloc to after RCU grace period

Anton Protopopov (1):
      bpf: fix possible file descriptor leaks in verifier

Jakub Sitnicki (1):
      bpf, sockmap: Prevent lock inversion deadlock in map delete elem

Joan Bruguera Micó (1):
      x86/bpf: Fix IP for relocating call depth accounting

Natanael Copa (1):
      tools/resolve_btfids: fix build with musl libc

Uros Bizjak (1):
      x86/bpf: Fix IP after emitting call depth accounting

 arch/x86/include/asm/alternative.h |  4 ++--
 arch/x86/kernel/callthunks.c       |  4 ++--
 arch/x86/net/bpf_jit_comp.c        | 19 ++++++++-----------
 include/linux/bpf.h                | 16 +++++++++++++++-
 kernel/bpf/syscall.c               | 35 ++++++++++++++++++++++++++++++++---
 kernel/bpf/verifier.c              |  3 +++
 kernel/trace/bpf_trace.c           | 10 +++++-----
 net/core/sock_map.c                |  6 ++++++
 tools/include/linux/btf_ids.h      |  2 ++
 9 files changed, 75 insertions(+), 24 deletions(-)

             reply	other threads:[~2024-04-04 18:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-04 18:32 Daniel Borkmann [this message]
2024-04-04 21:20 ` pull-request: bpf 2024-04-04 patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240404183258.4401-1-daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.