pull-request: bpf 2024-04-04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux