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 2023-01-27
Date: Fri, 27 Jan 2023 22:58:20 +0100 [thread overview]
Message-ID: <20230127215820.4993-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 10 non-merge commits during the last 9 day(s) which contain
a total of 10 files changed, 170 insertions(+), 59 deletions(-).
The main changes are:
1) Fix preservation of register's parent/live fields when copying range-info, from Eduard Zingerman.
2) Fix an off-by-one bug in bpf_mem_cache_idx() to select the right cache, from Hou Tao.
3) Fix stack overflow from infinite recursion in sock_map_close(), from Jakub Sitnicki.
4) Fix missing btf_put() in register_btf_id_dtor_kfuncs()'s error path, from Jiri Olsa.
5) Fix a splat from bpf_setsockopt() via lsm_cgroup/socket_sock_rcv_skb, from Kui-Feng Lee.
6) Fix bpf_send_signal[_thread]() helpers to hold a reference on the task, from Yonghong Song.
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:
Hao Sun, John Fastabend, Kumar Kartikeya Dwivedi, Yonghong Song
----------------------------------------------------------------
The following changes since commit b9fb10d131b8c84af9bb14e2078d5c63600c7dea:
l2tp: prevent lockdep issue in l2tp_tunnel_register() (2023-01-18 14:44:54 +0000)
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 5416c9aea8323583e8696f0500b6142dfae80821:
bpf: Fix the kernel crash caused by bpf_setsockopt(). (2023-01-26 23:26:40 -0800)
----------------------------------------------------------------
bpf-for-netdev
----------------------------------------------------------------
Alexei Starovoitov (2):
Merge branch 'bpf: Fix to preserve reg parent/live fields when copying range info'
Merge branch 'bpf, sockmap: Fix infinite recursion in sock_map_close'
Eduard Zingerman (2):
bpf: Fix to preserve reg parent/live fields when copying range info
selftests/bpf: Verify copy_register_state() preserves parent/live fields
Hou Tao (1):
bpf: Fix off-by-one error in bpf_mem_cache_idx()
Jakub Sitnicki (4):
bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener
selftests/bpf: Pass BPF skeleton to sockmap_listen ops tests
selftests/bpf: Cover listener cloning with progs attached to sockmap
Jiri Olsa (1):
bpf: Add missing btf_put to register_btf_id_dtor_kfuncs
Kui-Feng Lee (1):
bpf: Fix the kernel crash caused by bpf_setsockopt().
Yonghong Song (1):
bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers
include/linux/util_macros.h | 12 ++++
kernel/bpf/bpf_lsm.c | 1 -
kernel/bpf/btf.c | 4 +-
kernel/bpf/memalloc.c | 2 +-
kernel/bpf/verifier.c | 25 +++++--
kernel/trace/bpf_trace.c | 3 +-
net/core/sock_map.c | 61 ++++++++--------
net/ipv4/tcp_bpf.c | 4 +-
.../selftests/bpf/prog_tests/sockmap_listen.c | 81 +++++++++++++++++-----
.../selftests/bpf/verifier/search_pruning.c | 36 ++++++++++
10 files changed, 170 insertions(+), 59 deletions(-)
next reply other threads:[~2023-01-27 21:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-27 21:58 Daniel Borkmann [this message]
2023-01-28 16:30 ` pull-request: bpf 2023-01-27 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=20230127215820.4993-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;
as well as URLs for NNTP newsgroup(s).