From: Daniel Borkmann <daniel@iogearbox.net>
To: torvalds@linux-foundation.org
Cc: bpf@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, alexei.starovoitov@gmail.com,
andrii@kernel.org, martin.lau@kernel.org
Subject: [GIT PULL] bpf for v6.12-rc6
Date: Fri, 1 Nov 2024 00:19:12 +0100 [thread overview]
Message-ID: <20241031231912.109589-1-daniel@iogearbox.net> (raw)
Hi Linus,
The following changes since commit ae90f6a6170d7a7a1aa4fddf664fbd093e3023bc:
Merge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (2024-10-24 16:53:20 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git tags/bpf-fixes
for you to fetch changes up to c40dd8c4732551605712985bc5b7045094c6458d:
bpf, test_run: Fix LIVE_FRAME frame update after a page has been recycled (2024-10-31 16:15:21 +0100)
----------------------------------------------------------------
BPF fixes:
- Fix BPF verifier to force a checkpoint when the program's jump
history becomes too long (Eduard Zingerman)
- Add several fixes to the BPF bits iterator addressing issues
like memory leaks and overflow problems (Hou Tao)
- Fix an out-of-bounds write in trie_get_next_key (Byeonguk Jeong)
- Fix BPF test infra's LIVE_FRAME frame update after a page has
been recycled (Toke Høiland-Jørgensen)
- Fix BPF verifier and undo the 40-bytes extra stack space for
bpf_fastcall patterns due to various bugs (Eduard Zingerman)
- Fix a BPF sockmap race condition which could trigger a NULL
pointer dereference in sock_map_link_update_prog (Cong Wang)
- Fix tcp_bpf_recvmsg_parser to retrieve seq_copied from tcp_sk
under the socket lock (Jiayuan Chen)
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
----------------------------------------------------------------
Alexei Starovoitov (1):
Merge branch 'fixes-for-bits-iterator'
Byeonguk Jeong (2):
bpf: Fix out-of-bounds write in trie_get_next_key()
selftests/bpf: Add test for trie_get_next_key()
Cong Wang (1):
sock_map: fix a NULL pointer dereference in sock_map_link_update_prog()
Eduard Zingerman (3):
bpf: Force checkpoint when jmp history is too long
selftests/bpf: Test with a very short loop
bpf: disallow 40-bytes extra stack for bpf_fastcall patterns
Hou Tao (5):
bpf: Free dynamically allocated bits in bpf_iter_bits_destroy()
bpf: Add bpf_mem_alloc_check_size() helper
bpf: Check the validity of nr_words in bpf_iter_bits_new()
bpf: Use __u64 to save the bits in bits iterator
selftests/bpf: Add three test cases for bits_iter
Jiayuan Chen (1):
bpf: fix filed access without lock
Toke Høiland-Jørgensen (1):
bpf, test_run: Fix LIVE_FRAME frame update after a page has been recycled
include/linux/bpf_mem_alloc.h | 3 +
kernel/bpf/helpers.c | 54 ++++++++--
kernel/bpf/lpm_trie.c | 2 +-
kernel/bpf/memalloc.c | 14 ++-
kernel/bpf/verifier.c | 23 ++---
net/bpf/test_run.c | 1 +
net/core/sock_map.c | 4 +
net/ipv4/tcp_bpf.c | 7 +-
.../bpf/map_tests/lpm_trie_map_get_next_key.c | 109 +++++++++++++++++++++
.../selftests/bpf/progs/verifier_bits_iter.c | 61 +++++++++++-
.../selftests/bpf/progs/verifier_bpf_fastcall.c | 55 -----------
.../selftests/bpf/progs/verifier_search_pruning.c | 23 +++++
tools/testing/selftests/bpf/veristat.cfg | 1 +
13 files changed, 269 insertions(+), 88 deletions(-)
create mode 100644 tools/testing/selftests/bpf/map_tests/lpm_trie_map_get_next_key.c
next reply other threads:[~2024-10-31 23:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-31 23:19 Daniel Borkmann [this message]
2024-11-01 1:05 ` [GIT PULL] bpf for v6.12-rc6 pr-tracker-bot
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=20241031231912.109589-1-daniel@iogearbox.net \
--to=daniel@iogearbox.net \
--cc=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.lau@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/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