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-06-24
Date: Mon, 24 Jun 2024 14:43:30 +0200 [thread overview]
Message-ID: <20240624124330.8401-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 12 non-merge commits during the last 10 day(s) which contain
a total of 10 files changed, 412 insertions(+), 16 deletions(-).
The main changes are:
1) Fix a BPF verifier issue validating may_goto with a negative offset,
from Alexei Starovoitov.
2) Fix a BPF verifier validation bug with may_goto combined with jump to
the first instruction, also from Alexei Starovoitov.
3) Fix a bug with overrunning reservations in BPF ring buffer,
from Daniel Borkmann.
4) Fix a bug in BPF verifier due to missing proper var_off setting related
to movsx instruction, from Yonghong Song.
5) Silence unnecessary syzkaller-triggered warning in __xdp_reg_mem_model(),
from Daniil Dulov.
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:
Barret Rhoden, Bing-Jhong Billy Jheng, Eduard Zingerman, Jesper Dangaard
Brouer, Muhammad Ramdhan, Pengfei Xu, Zac Ecob
----------------------------------------------------------------
The following changes since commit 143492fce36161402fa2f45a0756de7ff69c366a:
Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue (2024-06-14 19:05:38 -0700)
are available in the Git repository at:
ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/for-netdev
for you to fetch changes up to 7e9f79428372c6eab92271390851be34ab26bfb4:
xdp: Remove WARN() from __xdp_reg_mem_model() (2024-06-24 13:44:02 +0200)
----------------------------------------------------------------
bpf-for-netdev
----------------------------------------------------------------
Alexei Starovoitov (6):
Merge branch 'bpf-fix-missed-var_off-related-to-movsx-in-verifier'
bpf: Fix remap of arena.
bpf: Fix the corner case with may_goto and jump to the 1st insn.
selftests/bpf: Tests with may_goto and jumps to the 1st insn
bpf: Fix may_goto with negative offset.
selftests/bpf: Add tests for may_goto with negative offset.
Daniel Borkmann (2):
bpf: Fix overrunning reservations in ringbuf
selftests/bpf: Add more ring buffer test coverage
Daniil Dulov (1):
xdp: Remove WARN() from __xdp_reg_mem_model()
Matt Bobrowski (1):
bpf: Update BPF LSM maintainer list
Yonghong Song (3):
bpf: Add missed var_off setting in set_sext32_default_val()
bpf: Add missed var_off setting in coerce_subreg_to_size_sx()
selftests/bpf: Add a few tests to cover
MAINTAINERS | 3 +-
kernel/bpf/arena.c | 16 ++-
kernel/bpf/ringbuf.c | 31 ++++-
kernel/bpf/verifier.c | 61 ++++++++-
net/core/xdp.c | 4 +-
tools/testing/selftests/bpf/Makefile | 2 +-
tools/testing/selftests/bpf/prog_tests/ringbuf.c | 56 ++++++++
.../selftests/bpf/progs/test_ringbuf_write.c | 46 +++++++
.../bpf/progs/verifier_iterating_callbacks.c | 146 +++++++++++++++++++++
tools/testing/selftests/bpf/progs/verifier_movsx.c | 63 +++++++++
10 files changed, 412 insertions(+), 16 deletions(-)
create mode 100644 tools/testing/selftests/bpf/progs/test_ringbuf_write.c
next reply other threads:[~2024-06-24 12:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-24 12:43 Daniel Borkmann [this message]
2024-06-25 1:41 ` pull-request: bpf 2024-06-24 Jakub Kicinski
2024-06-25 7:46 ` Daniel Borkmann
2024-06-25 14:13 ` Jakub Kicinski
2024-06-25 15:42 ` Daniel Borkmann
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=20240624124330.8401-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox