pull-request: bpf 2024-04-26
Subsystems (3)
Daniel Borkmann
maintainerHi 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 22 day(s) which contain a total of 14 files changed, 168 insertions(+), 72 deletions(-).
The main changes are:
1) Fix BPF_PROBE_MEM in verifier and JIT to skip loads from vsyscall page, from Puranjay Mohan.
2) Fix a crash in XDP with devmap broadcast redirect when the latter map is in process of being torn down, from Toke Høiland-Jørgensen.
3) Fix arm64 and riscv64 BPF JITs to properly clear start time for BPF program runtime stats, from Xu Kuohai.
4) Fix a sockmap KCSAN-reported data race in sk_psock_skb_ingress_enqueue, from Jason Xing.
5) Fix BPF verifier error message in resolve_pseudo_ldimm64, from Anton Protopopov.
6) Fix missing DEBUG_INFO_BTF_MODULES Kconfig menu item, from Andrii Nakryiko.
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:
Björn Töpel, Breno Leitao, Daniel Borkmann, Hangbin Liu, Ilya Leoshkevich, Ivan Babrou, Jesper Dangaard Brouer, John Fastabend, Pu Lehui, Russell King (Oracle), Stanislav Fomichev, Vincent Li
----------------------------------------------------------------
The following changes since commit c88b9b4cde17aec34fb9bfaf69f9f72a1c44f511:
Merge tag 'net-6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2024-04-04 14:49:10 -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 a86538a2efb826b9a62c7b41e0499948b04aec7d:
Merge branch 'bpf-prevent-userspace-memory-access' (2024-04-26 09:45:19 -0700)
----------------------------------------------------------------
bpf-for-netdev
----------------------------------------------------------------
Alexei Starovoitov (1):
Merge branch 'bpf-prevent-userspace-memory-access'
Andrii Nakryiko (1):
bpf, kconfig: Fix DEBUG_INFO_BTF_MODULES Kconfig definition
Anton Protopopov (1):
bpf: Fix a verifier verbose message
Björn Töpel (1):
MAINTAINERS: bpf: Add Lehui and Puranjay as riscv64 reviewers
Jason Xing (1):
bpf, skmsg: Fix NULL pointer dereference in sk_psock_skb_ingress_enqueue
Puranjay Mohan (5):
MAINTAINERS: Update email address for Puranjay Mohan arm32, bpf: Reimplement sign-extension mov instruction
bpf: verifier: prevent userspace memory access bpf, x86: Fix PROBE_MEM runtime load check selftests/bpf: Test PROBE_MEM of VSYSCALL_ADDR on x86-64
Toke Høiland-Jørgensen (1):
xdp: use flags field to disambiguate broadcast redirect
Xu Kuohai (2):
bpf, arm64: Fix incorrect runtime stats
riscv, bpf: Fix incorrect runtime stats
.mailmap | 1 + MAINTAINERS | 8 +-- arch/arm/net/bpf_jit_32.c | 56 ++++++++++++++----- arch/arm64/net/bpf_jit_comp.c | 6 +-- arch/riscv/net/bpf_jit_comp64.c | 6 +-- arch/x86/net/bpf_jit_comp.c | 63 +++++++++++----------- include/linux/filter.h | 1 + include/linux/skmsg.h | 2 + kernel/bpf/core.c | 9 ++++ kernel/bpf/verifier.c | 33 +++++++++++- lib/Kconfig.debug | 5 +- net/core/filter.c | 42 +++++++++++---- net/core/skmsg.c | 5 +- .../selftests/bpf/bpf_testmod/bpf_testmod.c | 3 ++ 14 files changed, 168 insertions(+), 72 deletions(-)
This pull request was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This pull request was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Sat, 27 Apr 2024 00:42:48 +0200 you wrote:
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 22 day(s) which contain a total of 14 files changed, 168 insertions(+), 72 deletions(-).
[...]
Here is the summary with links:
- pull-request: bpf 2024-04-26
https://git.kernel.org/netdev/net/c/b2ff42c6d3ab
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html