pull-request: bpf 2022-02-17

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

 



Hi David, hi Jakub,

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

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

The main changes are:

1) Add schedule points in map batch ops, from Eric.

2) Fix bpf_msg_push_data with len 0, from Felix.

3) Fix crash due to incorrect copy_map_value, from Kumar.

4) Fix crash due to out of bounds access into reg2btf_ids, from Kumar.

5) Fix a bpf_timer initialization issue with clang, from Yonghong.

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:

Brian Vazquez, John Fastabend, Stanislav Fomichev, syzbot, Yonghong Song

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

The following changes since commit 525de9a79349bd83fe5276d7672f91887f9ee721:

  Merge ra.kernel.org:/pub/scm/linux/kernel/git/netfilter/nf (2022-02-11 11:55:08 +0000)

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 75134f16e7dd0007aa474b281935c5f42e79f2c8:

  bpf: Add schedule points in batch ops (2022-02-17 10:48:26 -0800)

----------------------------------------------------------------
Alexei Starovoitov (2):
      Merge branch 'Fix for crash due to overwrite in copy_map_value'
      Merge branch 'bpf: fix a bpf_timer initialization issue'

Eric Dumazet (1):
      bpf: Add schedule points in batch ops

Felix Maurer (2):
      bpf: Do not try bpf_msg_push_data with len 0
      selftests: bpf: Check bpf_msg_push_data return value

Kumar Kartikeya Dwivedi (3):
      bpf: Fix crash due to incorrect copy_map_value
      selftests/bpf: Add test for bpf_timer overwriting crash
      bpf: Fix crash due to out of bounds access into reg2btf_ids.

Yonghong Song (2):
      bpf: Emit bpf_timer in vmlinux BTF
      bpf: Fix a bpf_timer initialization issue

 include/linux/bpf.h                                |  9 ++--
 kernel/bpf/btf.c                                   |  5 +-
 kernel/bpf/helpers.c                               |  2 +
 kernel/bpf/syscall.c                               |  3 ++
 net/core/filter.c                                  |  3 ++
 .../testing/selftests/bpf/prog_tests/timer_crash.c | 32 +++++++++++++
 .../selftests/bpf/progs/test_sockmap_kern.h        | 26 +++++++----
 tools/testing/selftests/bpf/progs/timer_crash.c    | 54 ++++++++++++++++++++++
 8 files changed, 119 insertions(+), 15 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/prog_tests/timer_crash.c
 create mode 100644 tools/testing/selftests/bpf/progs/timer_crash.c



[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